<?php
require_once("../../global/checkuser1.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" />
<title>修改流量统计</title>
<link rel="stylesheet" href="addmodify.css" />

</head>

<body>
<div class="bigdiv">
<div class="toptitle">&nbsp;&nbsp;&nbsp;修改流量统计<a href="../kwcreate/index.php" style="float:right;margin-right:30px;display:inline;">返回</a></div>
<div class="list">
<?php
require_once("../../global/connect.php");
//require_once("../../global/connect.php");
$rs=mysql_query("select * from website where type='友好'");
if($rs){
$rows=mysql_fetch_array($rs);}
$row=mysql_fetch_array(mysql_query("select * from flow where id=$_GET[id]"));
?>
<form action="../kwcreate/function.php?mod=modify" method="post" onsubmit="return check()">
<div class="content">
<ul>
<li>网站名称：<input type="text" id="name" name="name" value="<?=$rows["name"]?>" class="text" /></li>
<li>网站地址：<input type="text" id="url" name="url" value="<?=$rows["url"]?>" class="text" /></li>
<li>google收录：<input type="text" id="google" name="google" value="<?=$row['google']?>" class="text"  readonly="readonly"/></li>
<li>百度收录：<input type="text" id="baidu" name="baidu" value="<?=$row['baidu']?>" class="text" /></li>
<li>google反链：<input type="text" id="goutlink" name="goutlink" value="<?=$row['goutlink']?>" class="text" /></li>
<li>百度反链：<input type="text" id="boutlink" name="boutlink" value="<?=$row['boutlink']?>" class="text"  readonly="readonly"/></li>
<li>昨日收录：<input type="text" id="baiduday" name="baiduday" value="<?=$row['baiduday']?>" class="text" /></li>
<li>pr值：<input type="text" id="pr" name="pr" value="<?=$row['pr']?>" class="text" /></li>
<li>alexa：<input type="text" id="alexa" name="alexa" value="<?=$row['alexa']?>" class="text"  readonly="readonly"/></li>
<li>IP：<input type="text" id="ip" name="ip" value="<?=$row['ip']?>" class="text" /></li>
<li>PV：<input type="text" id="pv" name="pv" value="<?=$row['pv']?>" class="text" /></li>
<li>数据日期：<input type="text" id="adddate" name="adddate" value="<?=$row['adddate']?>" class="text" /></li>
<li style="text-align:center;height:40px;line-height:40px;"><input type="submit" value="提交" class="btn"/>&nbsp;&nbsp;<input type="button" value="取消" class="btn" onclick="history.go(-1);"/></li>
</ul>
</div>
</form>
</div>
</div>
</body>
</html>
