<!--#include file="inc/conn.asp"-->
<!--#include file="inc/set.asp"-->
<!--#include file="inc/dll.asp"-->
<%call hacker()
if session("superlogin")<>yecao then
response.Write "<script>alert('您还没有登陆！');this.location.href='index.asp';</script>"
Response.End
end if
if session("superadmin")<>"admin" then
response.Write "<script>alert('您不是超级管理员！您的权限不足！');this.location.href='index.asp';</script>"
Response.End
end if
if request.form("tongji")<>"" then
Set rs=Server.CreateObject("ADODB.Recordset")
sql="select * from [YC_tongji]"
rs.open sql,conn,1,3
rs("total")=Trim(Request.Form("total"))
rs("today")=Trim(Request.Form("today"))
rs("yesterday")=Trim(Request.Form("yesterday"))
rs("month")=Trim(Request.Form("month"))
rs("bmonth")=Trim(Request.Form("bmonth"))
rs("toponline")=Trim(Request.Form("toponline"))
rs("inputdate")=Trim(Request.Form("inputdate"))
rs.update
rs.close
YC("<script>alert('恭喜您！修改成功了！');this.location.href='admin_tongji.asp';</script>")
end if
Set rs=Server.CreateObject("ADODB.Recordset")
sql="select * from [YC_tongji]"
rs.open sql,conn,1,1
%>
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="STYLESHEET" type="text/css" href="img/admin.css">
<script type='text/javascript' language='javascript' src='inc/adminjs.js'></script>
</head>
<form name="form" method="post" action="">
<table width="100%" border="0" cellpadding="0" cellspacing="0"  rules=none class=3d>
<tr><td height="22" colspan="8" class=title><b>&nbsp;<img src=img/ie.gif border=0 width=15 height=15 align=absMiddle>&nbsp;统计管理</b></td></tr>
<tr class=bg height="25">
<td>&nbsp;全部访问：<input name="total" class="yecao" type="text" value="<%=rs("total")%>"></td>
</tr>
<tr class=bg height="25">
<td>&nbsp;本月访问：<input name="month" class="yecao" type="text" value="<%=RS("month")%>"></td>
</tr>
<tr class=bg height="25">
<td>&nbsp;上月访问：<input name="bmonth" class="yecao" type="text" value="<%=rs("bmonth")%>"></td>
</tr>
<tr class=bg height="25">
<td>&nbsp;今日访问：<input name="today" class="yecao" type="text" value="<%=rs("today")%>"></td>
</tr>
<tr class=bg height="25">
<td>&nbsp;昨日访问：<input name="yesterday" class="yecao" type="text" value="<%=rs("yesterday")%>"></td>
</tr>
<tr class=bg height="25">
<td>&nbsp;建站时间：<input name="inputdate" class="yecao" type="text" value="<%=rs("inputdate")%>">
请按[年-月-日]的格式填写，否则可能不能正常运行统计。
</td>
</tr>
<tr><td class="hr"></td></tr>
<tr height="30" class=foot>
<td align="center">
<input name="tongji" type="submit" class="adminbutton" value="修 改">&nbsp;
<input name="Submit2" type="reset" class="adminbutton" value="清 空" >
</td></tr>
</table>
<%call closedata()%>














