<?include '../config.php';include '../m/M_SQL.php';include '../m/M_Model.php';include '../m/M_Phones.php'; $all_kodes = M_Phones::all_kodes_url();header("Content-Type: text/xml"); $site_mame = "https://zvonok24.ru"; echo "<?xml version='1.0' encoding='UTF-8'?><urlset xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd' xmlns='http://www.sitemaps.org/schemas/sitemap/0.9'>";	  echo "<url><loc>{$site_mame}/kody-okato</loc></url>";  foreach($all_kodes as $code){	$mame = $code['url'];	echo "<url><loc>{$site_mame}/kod-okato-goroda/$mame</loc></url>";	 } echo "</urlset>"; ?>