<?php
/**
* @version QSystem v1 QQ:350666582 amo
* @package QSystem v1
* @copyright Copyright (c) 2015 59info.com
* @link http://www.59info.com
*/
$pagestartime=microtime();
include 'config.php';
include 'url2.php';
$qs=$_GET["qs"];
$copys=$_GET["copys"];
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="X-UA-Compatible" content="IE=8" />
<meta http-equiv="Content-Type" content="text/html; charset=GBK" />
<title>
QS<?php echo $qs ?>查询结果 - <?php echo $webname ?>
</title>
<meta name="Keywords" content="<?php echo $webname ?>,QS<?php echo $qs ?>">
<meta name="Description" content="<?php echo $key ?>">
<meta name="author" content="AMO-350666582" />
<meta name="copyright" content="www.59info.com" />
<base target="_blank">
<style>
#food-safe-container{border-top:3px #F60 solid;padding-top:28px;}#food-safe-info{margin:0 auto 28px auto;font-family:arial,\5b8b\4f53;width:630px;text-align:left;overflow:hidden;background:white;}#food-safe-info h3{font-family:arial,\9ed1\4f53;font-size:22px;color:#404040;margin:0;margin-bottom:16px;font-weight:normal;*font-weight:bold;}@media all and(-webkit-min-device-pixel-ratio:10000),not all and(-webkit-min-device-pixel-ratio:0){#food-safe-info h3{font-weight:bold;}}#food-safe-info .info-table{border-collapse:collapse;table-layout:fixed;color:#404040;}#food-safe-info table,#food-safe-info td{border:1px solid #f3e0ba;font-size:14px;}#food-safe-info .info-field{width:56px;padding:4px 20px 4px 20px;background-color:#fff9e3;vertical-align:middle;}#food-safe-info .info-value{width:489px;padding:4px 20px 4px 20px;}#food-safe-info .info-field div{width:56px;}#food-safe-info .info-value div{width:489px;}#food-safe-info .info-value div,#food-safe-info .info-value div{word-break:break-all;word-wrap:break-word;overflow:hidden;line-height:22px;}#food-safe-info .info-remark{color:#808080;font-size:12px;margin:0;margin-top:18px;}#food-safe-info .info-remark a{color:#36c;}#food-safe-info .info-remark a:hover{color:#f60;}h3,.logo,.foot{text-align:center}.foot1,.foot{font-family: Arial;font-size: 0.63em;text-align:center;line-height: 1.8;color: #666;}</style>
</head>
<body>
<div class="logo"><a href="http://www.59info.com/"><img src="http://www.59info.com/css/i/Blogo.gif" /></a></div>
<?php
$page="{$url}{$qs}";
//获取html数据之前先尝试打开页面,防止恶意输入地址导致出错
if (!@fopen($page, "r"))
{
die("对不起,该地址不存在!<a href=javascript:history.back(1)>点击这里返回</a>");
exit(0);
}
$contents = file_get_contents($page,'r');
$contents= preg_replace("~<!doctype html>(.*?)<div id=\"food-safe-container\">~is" ,"" ,$contents);
$contents= preg_replace("~<link rel=\"stylesheet\" href=\"http://style.china(.*?)</html>~is" ,"" ,$contents);
if ($copy=="$copys") {
echo "$contents";
} else {
echo "<br /><center>严禁删除版权信息,请恢复url2.php文件</center><br />";
}
?>
<div style="width:480px;margin:10px auto"><div class="bdsharebuttonbox"><a href="#" class="bds_more" data-cmd="more">分享到:</a><a href="#" class="bds_qzone" data-cmd="qzone" title="分享到QQ空间">QQ空间</a><a href="#" class="bds_tsina" data-cmd="tsina" title="分享到新浪微博">新浪微博</a><a href="#" class="bds_tqq" data-cmd="tqq" title="分享到腾讯微博">腾讯微博</a><a href="#" class="bds_renren" data-cmd="renren" title="分享到人人网">人人网</a><a href="#" class="bds_weixin" data-cmd="weixin" title="分享到微信">微信</a></div>
<script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"0","bdSize":"16"},"share":{"bdSize":16},"image":{"viewList":["qzone","tsina","tqq","renren","weixin"],"viewText":"分享到:","viewSize":"16"},"selectShare":{"bdContainerClass":null,"bdSelectMiniList":["qzone","tsina","tqq","renren","weixin"]}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];</script></div>
<div class="foot"><!----版权所有,严禁删除本行信息-----> Powered by QSystem v1 © 2015 59info.COM<!----版权所有,严禁删除本行信息-----></div>
<div class="foot1">TIME:<?php
date_default_timezone_set('Etc/GMT-8'); //这里设置了时区
echo date("Y-m-d H:i");
?><br />
<?php
$pageendtime = microtime();
$starttime = explode(" ",$pagestartime);
$endtime = explode(" ",$pageendtime);
$totaltime = $endtime[0]-$starttime[0]+$endtime[1]-$starttime[1];
$timecost = sprintf("%s",$totaltime);
echo "页面运行时间: $timecost 秒";
?> <br /><?php echo $tj ?> </div>
</body>
</html>