$value){if($value==0){$contents[]="Disallow: ".$key;}}$contents[]="Sitemap: http://".$host.$base_siteurl."Sitemap.xml";$contents=implode("\n",$contents);header("Content-Type: text/plain; charset=utf-8");header('Cache-Control: public; max-age='.$maxAge);header('Last-Modified: '.gmdate("D, d M Y H:i:s",$createTime)." GMT");header("expires: ".gmdate("D, d M Y H:i:s",$expTme)." GMT");print_r($contents); ?>