Your IP : 216.73.216.34


Current Path : /home/zqegovsj/www/us3web.haibo.com.cn/newfinehome/a1creathtml/
Upload File :
Current File : /home/zqegovsj/www/us3web.haibo.com.cn/newfinehome/a1creathtml/xml.php

<?php if ($_GET['code']=='w2_,h2y8W3F2F23fdY^u'){
ob_start();
include("../function.php");
echo '<?xml version="1.0" encoding="utf-8" ?>';?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" 
xmlns:image="http://www.google.com/schemas/sitemap-image/1.1">
<url>
<loc>https://<?=$company2[13]?></loc> 
</url>
<url>
<loc>https://<?=$company2[13]?>/about.html</loc> 
</url><?php if ($newsnum[0]!=0){?>
<url>
<loc>https://<?=$company2[13]?>/news.html</loc> 
</url><?php }?>
<?php $sections=$db->selectarray("select id,name,name2 from ".$noe_version."_newsection where member_id=".$id."");
while(@$c=mysqli_fetch_row($sections)){?><url>
<loc>https://<?=$company2[13]?>/<?=$db->turn_name($c[2])?>_page<?=$c[0]?>.html</loc> 
</url>
<?php }?>
<?php $section2=$db->selectarray("select id,title,content,type_id,title2 from ".$noe_version."_sectioncontents where member_id=".$id."");?>
<?php while(@$rs2=mysqli_fetch_array($section2)){?><url>
<loc>https://<?=$company2[13]?>/<?=$db->turn_name($rs2[4])?>_subpage<?=$rs2[0]?>.html</loc> 
</url><?php }?><?php $news=$db->selectarray("select id,title,title2 from ".$noe_version."_companynewses where member_id=".$id."");
while(@$b=mysqli_fetch_row($news)){?>
<url>
<loc>https://<?=$company2[13]?>/<?=$db->turn_name($b[2])?>_newsview<?=$b[0]?>.html</loc> 
</url>
<?php }?><?php $producttype3=$db->selectarray("select id,name,name2 from ".$noe_version."_producttypes where member_id=".$id."");
$rrr=$db->toarray($producttype3);
for($ct=0;$ct<count($rrr);$ct++){?>
<url>
<loc>https://<?=$company2[13]?>/<?=$db->turn_name($rrr[$ct][2])?>_supply<?=$rrr[$ct][0]?>.html</loc>
</url><?php }?>
<url>
<loc>https://<?=$company2[13]?>/product.html</loc></url><?php 
$sql="SELECT id,name,picture,name2 FROM ".$noe_version."_products where member_id=".$id."";
$resu=$db->selectarray($sql);
while(@$rs=mysqli_fetch_array($resu)){?>
<url>
<loc>https://<?=$company2[13]?>/<?=$db->turn_name($rs[3])?>_product<?=$rs[0]?>.html</loc>
</url>
<?php }?>
<?php  $keywords=$db->selectarray("select DISTINCT id,name,name3 from ".$noe_version."_keywords where member_id=".$id."");
$rrr=$db->toarray($keywords);
for($ct=0;$ct<count($rrr);$ct++){?>
<url>
<loc>https://<?=$company2[13]?>/<?=($rrr[$ct][2])?>_manufacturer.html</loc>
</url><?php }?>
<url>
<loc>https://<?=$company2[13]?>/tag.html</loc> 
</url>
<url>
<loc>https://<?=$company2[13]?>/contact.html</loc></url>
<url>
<loc>https://<?=$company2[13]?>/site_map.html</loc></url>
</urlset>

<?php 
$content = ob_get_contents();
$fp = '../sitemap.xml';
$fp = fopen($fp, "w");
fwrite($fp, $content);
fclose($fp);
ob_end_clean();
}
echo "<script language=\"javascript\">window.open('tohtml-nav.php?code=$_GET[code]','_self');</script>";
?>