/var/www/vhosts/bsbdokum.com.tr/httpdocs
Edit: /var/www/vhosts/bsbdokum.com.tr/httpdocs/sitemap.php (3524B)
";
$xml_output .= '
';
$xml_output.="
".PATH."
".date("Y-m-d")."
weekly
1
";
$bak=query("SELECT * FROM ".prefix."_permalink");
$perDizi=array();
while($yaz=row($bak)){
$perDizi[] = $yaz;
}
foreach($perDizi as $deger) {
$url= siteurl.$diller[$deger["permalink_dil"]]["dil_uzanti"]."/".$deger["permalink_git"];
$xml_output .= "\t\n";
$xml_output .= "\t\t".$url."\n
\t".date("Y-m-d")."\n";
$xml_output .= "\t\tmonthly\n";
$xml_output .= "\t\t0.8\n";
$xml_output .= "\t\n";
}
$xml_output .= "";
$yaz=fopen($xml_path, "w");
echo "
Sayfa & Kanal XML Sitemap Hazırlandı. (".date("d.m.Y").")
";
fwrite($yaz,$xml_output);
fclose($yaz);
$xml_path = "sitemapimage.xml";
define("PATH",siteurl);
$xml_output = "";
$xml_output .= '
';
$bak=query("SELECT * FROM ".prefix."_ortam");
$ortamDizi=array();
while($yaz=row($bak)){
$ortamDizi[] = $yaz;
}
foreach($ortamDizi as $deger) {
if(file_exists("app/Images/".$deger["ortam_dosya"])){
$url= rg($deger["ortam_dosya"]);
$xml_output .= "\t\n";
$xml_output .= "\t\t".$url."\n
\t".date("Y-m-d")."\n";
$xml_output .= "\t\tmonthly\n";
$xml_output .= "\t\t0.8\n";
$xml_output .= "\t\n";
}
}
$xml_output .= "";
$yaz=fopen($xml_path, "w");
echo "
Sayfa & Kanal XML Sitemap Hazırlandı. (".date("d.m.Y").")
";
fwrite($yaz,$xml_output);
fclose($yaz);
?>