<?php
require_once("../global/checkuser2.php");
?>
<!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="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" href="index.css" />
<script type="text/javascript" src="../global/jquery-latest.min.js"></script>	
<script type="text/javascript" src="ajax.js"></script>
<script type="text/javascript" src="../FusionCharts/FusionCharts.js"></script>	
	</head>
<body>
<?php
require_once("../global/connect.php");
$sql=mysql_query("select * from flow order by id DESC limit 0,7");
$google="";
$baidu="";
$ip="";
$pv="";
$goutlink="";
$boutlink="";
$adddate="";
while($row=mysql_fetch_array($sql)){
$google .= "<td>".$row["google"]."</td>";
$baidu .= "<td>".$row["baidu"]."</td>";
$ip .= "<td>".$row["ip"]."</td>";
$pv .= "<td>".$row["pv"]."</td>";
$goutlink .= "<td>".$row["goutlink"]."</td>";
$boutlink .= "<td>".$row["boutlink"]."</td>";
$adddate .= "<td>".$row["adddate"]."</td>";
}
?>
<div class="list" style="border-bottom:none;">
<table cellspacing="0" cellpadding="0" id="div1"><tr style="background:#d3edf9;"><td style="width:72%;border-left:none;text-align:left;">&nbsp;&nbsp;&nbsp;收录统计</td><td><a href="javascript:void(0)">一个月</a></td><td><a href="javascript:void(0)">二个月</a></td><td><a href="javascript:void(0)">三个月</a></td><td><a href="javascript:void(0)">一年</a><td></table>
<div id="shouluchart" style="width:100%;text-align:center;margin-top:5px;"></div>
<table cellspacing="0" cellpadding="0"><tr><td  style="border-left:none;width:100%;">最近7天谷歌收录/百度收录数据</td></tr></table>
<table cellspacing="0" cellpadding="0">
<tr><td style="border-left:none;">日期</td><?=$adddate?></tr>
<tr><td style="border-left:none;">谷歌收录</td><?=$google?></tr>
<tr><td style="border-left:none;">百度收录</td><?=$baidu?></tr>
</table>
<table cellspacing="0" cellpadding="0" id="div2" style="margin-top:10px;display:inline;border-top:1px solid #ccc;"><tr style="background:#d3edf9;"><td style="width:72%;border-left:none;text-align:left;">&nbsp;&nbsp;&nbsp;反链统计</td><td><a href="javascript:void(0)">一个月</a></td><td><a href="javascript:void(0)">二个月</a></td><td><a href="javascript:void(0)">三个月</a></td><td><a href="javascript:void(0)">一年</a><td></table>
<div id="outlinkchart" style="width:100%;text-align:center;margin-top:5px;"></div>
<table cellspacing="0" cellpadding="0"><tr><td  style="border-left:none;width:100%;">最近7天谷歌反链/百度反链数据</td></tr></table>
<table cellspacing="0" cellpadding="0">
<tr><td style="border-left:none;">日期</td><?=$adddate?></tr>
<tr><td style="border-left:none;">谷歌反链</td><?=$goutlink?></tr>
<tr><td style="border-left:none;">百度反链</td><?=$boutlink?></tr>
</table>
<table cellspacing="0" cellpadding="0" id="div3" style="margin-top:10px;display:inline;border-top:1px solid #ccc;"><tr style="background:#d3edf9;"><td style="width:72%;border-left:none;text-align:left;">&nbsp;&nbsp;&nbsp;IP/PV统计</td><td><a href="javascript:void(0)">一个月</a></td><td><a href="javascript:void(0)">二个月</a></td><td><a href="javascript:void(0)">三个月</a></td><td><a href="javascript:void(0)">一年</a><td></table>
<div id="IPPVchart" style="width:100%;text-align:center;margin-top:5px;"></div>
<table cellspacing="0" cellpadding="0"><tr><td  style="border-left:none;width:100%;">最近7天IP/PV数据</td></tr></table>
<table cellspacing="0" cellpadding="0">
<tr><td style="border-left:none;">日期</td><?=$adddate?></tr>
<tr><td style="border-left:none;">IP</td><?=$ip?></tr>
<tr><td style="border-left:none;">PV</td><?=$pv?></tr>
</table>
</div>
</body>
</html>

