<?php
$path="../../../../";
if(file_exists("".$path."config/map.php" )){$path2="config/"; include("".$path."config/map.php");}else{include("".$path."map.php");}
include("".$path."deppo/tools/script/fonksiyon".$ver.".php");
include("".$path."deppo/tools/script/cevir.php");
header('Content-Type: text/xml');
echo "<?xml version='1.0' encoding='UTF-8'?> \n\n";
?>
<rss version='2.0' xmlns:g='http://base.google.com/ns/1.0'>
	<channel>
		<title><![CDATA[<?php echo translate("+feed_title")?>]]></title>
		<link><?php echo $weburl?></link>
		<description><![CDATA[<?php echo translate("+feed_description")?>]]></description>
<?php
	$sql=mysqli_query($conn, "select * from lang1 where ne='kayit' and s13=1 order by id desc"); while($rs=mysqli_fetch_assoc($sql)){ $jsi = json_decode($rs["n17"],true); $jsm = json_decode($rs["m1"],true);
	$sqlr=mysqli_query($conn, "select * from medya where ne='resim' and s1=".$rs["id"]." order by s3 asc");
?>
    <item>
		<g:id><?php echo $rs["t5"];?></g:id>
       <g:mpn><![CDATA[<?php echo $rs["t4"];?>]]></g:mpn>
       <title><![CDATA[<?php echo $rs["t1"];?>]]></title>
       <g:brand><![CDATA[<?php echo $firma?>]]></g:brand>
       <g:gtin><![CDATA[<?php echo $rs["t5"];?>]]></g:gtin>
       <g:availability><![CDATA[in stock]]></g:availability>
       <g:additional_image_link><![CDATA[]]></g:additional_image_link>
       <g:additional_image_link><![CDATA[]]></g:additional_image_link>
       <g:additional_image_link><![CDATA[]]></g:additional_image_link>
       <g:image_link><![CDATA[<?php echo medya($rs["id"],1,"resim","t1","",$weburl)?>]]></g:image_link>
       <description><![CDATA[<?php if($rs["n1"]<>""){echo $rs["n1"];}else{echo $rs["t1"];}?>]]></description>
       <link><![CDATA[<?php echo linked("d",$rs["id"]);?>]]></link>
       <g:product_type><![CDATA[<?php echo kategori($rs["s9"]);?>]]></g:product_type>
       <g:price><?php echo price($rs["id"],"pb1"); ?> <?php echo $kpb?></g:price>
       <g:condition><![CDATA[new]]></g:condition>
       <g:google_product_category><![CDATA[]]></g:google_product_category>
      </item>
<?php }?>
	</channel>
</rss>