<?php
include('config.php');
echo"<?xml version=\"1.0\"encoding=\"UTF-8\"?>
<urlset xmlns=\"http://www.google.com/schemas/sitemap/0.84\">
";
$liste= mysql_query("SELECT url,date FROM `sitemap` order by id limit 0,50000");
while(list($a,$b) = mysql_fetch_array($liste))
{
echo"<url>
<loc>$a</loc>
<lastmod>$b</lastmod>
</url>
";

}


echo"</urlset>";
?>

