<?php
include("./include/common.php");
?>
<!DOCTYPE html>
<html lang="zh-cn">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="format-detection" content="telephone=no">
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <title><?php echo $sitename;?></title>
    <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
	<meta name="keywords" content="<?php echo $keywords;?>"/>
	<meta name="description" content="<?php echo $description;?>"/>
    <link href="//cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.css" rel="stylesheet">
    <script src="//cdn.bootcss.com/jquery/3.1.1/jquery.min.js"></script>
    <script src="//cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
    <!--[if lt IE 9]>
      <script src="//cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="//cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->

    <script type="text/javascript" src="//js.users.51.la/20826359.js"></script>
    <!--百度提交--><script>
(function(){
    var bp = document.createElement('script');
    var curProtocol = window.location.protocol.split(':')[0];
    if (curProtocol === 'https') {
        bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
    }
    else {
        bp.src = 'http://push.zhanzhang.baidu.com/push.js';
    }
    var s = document.getElementsByTagName("script")[0];
    s.parentNode.insertBefore(bp, s);
})();
</script>

	<style>
	body{
		margin: 0 auto;
		text-align: center;
		
	}
	
	.container {
	  max-width: 580px;
	  padding: 15px;
	  margin: 0 auto;
	      background: #fff;
	}
	
	
	.newbg {
    height: 342px;
    margin-bottom: 3.75em;
    background: url(https://www.chawuliu.cn/public/mages/bg.png) no-repeat center;background-size:100% 100%;background-attachment:fixed;
}


.new-top {
    width: 100%;
    max-width: 900px;
    
    
}
.center {
width:100px; margin:10px auto;
    font-size: 16px;
}
.logo {
    width: 100%;
    max-width: 142px;
}
.left {
    margin: 0 auto;
}
.clear {
    clear: both;
    font-size: 1px;
    line-height: 0px;
    height: 0px;
}
.Nav {
    float: right;
    height: 2.25em;
    margin-bottom: 2.5em;
}
.header1 {
    float: left;
}

@media only screen and (max-width: 960px)
.header1 {
    max-width: 960px;
    padding: 0 .625em;
}

	</style>
</head>
<?php
$str = "0123456789";
$bj .= $str[mt_rand(0, strlen($str)-1)];
?>
<body class="newbg" >
    
    <div  class="new-top center">
    <!--header1是头部 开始-->
	
	<div  class="header1 center">
    	<div class="logo left">
        	<a href="/"><img src="https://www.chawuliu.cn/public/mages/logo1.png" width="112" height="50" alt="查物流"></a>
        </div>

        <div class="clear"></div>
    </div>
    
    <!--header1是头部 结束-->
    
    <div class="clear"></div>
</div>

    
    <div class="quan">
<div class="container">   
	 <div class="panel panel-primary">
        <div class="panel-heading"><h3 class="panel-title">公告栏</h3></div>
		<ul class="list-group">
		<li class="list-group-item"><?php echo $gonggao;?>！</li>
</p><p></p>
</marquee></a>
<ul class="list-group">
  <li class="list-group-item"><span class="glyphicon glyphicon-time"></span> <b>现在时间：</b> <?=$date?></li>
		</ul>
      </div>
	 <h3 class="form-signin-heading">输入手机号查询</h3>
	 <form action="" class="form-sign" method="post">
	 <input type="text" class="form-control" name="qq" placeholder="请输入查询收件人手机号" value=""><br>
	 <input type="submit" class="btn btn-primary btn-block" value="点击查询"><br/>
	 <p style="text-align:left">
<?php
if($qq=$_POST['qq']) {
	$qq=$_POST['qq'];
	$row=$DB->get_row("SELECT * FROM black_list WHERE qq='$qq' limit 1");
	echo '<label>手机号：'.$qq.'</label><br>';
	if($row) {
		echo '
		<label>快递名称：</label>
		<font color="blue">'.$row['level'].'</font><br>
		<label>添加时间：</label>
		<font color="blue">'.$row['date'].'</font><br>
		<label>快递单号：</label>
		<font color="blue">'.$row['note'].'</font><br>
		<label><font color="red">查询到单号可到百度查看物流！<br><a href="https://www.kuaidi100.com">点击此处开始去查询</a>（注意：快递单号不是实时更新，可能会有延迟！）</font></label>';

	}else{
		echo '<label><font color="green">单号还未出来，请稍后在进行查询！</font></label>';
	}
}
$DB->close();
?>
	 </p><hr><div class="container-fluid">
  <a href="tencent://message/?uin=<?php echo $admin_qq?>&Site=Sambow&Menu=yes" target="_blank" class="btn btn-default btn-sm"><span class="glyphicon glyphicon-user"></span> 举报假冒代理</a>
  <a href="tencent://message/?uin=<?php echo $admin_qq?>&Site=Sambow&Menu=yes" target="_blank" class="btn btn-default btn-sm"><span class="glyphicon glyphicon-user"></span> 购买流量卡</a>
</div>
<p style="text-align:center">
<br><span class="glyphicon glyphicon-link"></span><label>&nbsp;友情链接：</label><a href="https://aizy.vip/" target="_blank">爱资源 </a>
</p></div>
<div id="music" key="<?php echo $music?>" api="https://music.m0x.cn"></div><script id="xplayer" src="https://music.m0x.cn/Static/player2/js/player.js" ></script>
</body>
</html>
