📄 admin_tongji.asp
字号:
<!--#include file="inc/conn.asp"-->
<!--#include file="inc/set.asp"-->
<!--#include file="inc/dll.asp"-->
<!--#include file="sqlx.asp"-->
<%call hacker()
if session("superlogin")<>web58818 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("inputdate")=Trim(Request.Form("inputdate"))
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> <img src=img/ie.gif border=0 width=15 height=15 align=absMiddle> 统计管理</b></td></tr>
<tr class=bg height="25">
<td> 全部访问:<input name="total" class="web58818" type="text" value="<%=rs("total")%>"></td>
</tr>
<tr class=bg height="25">
<td> 本月访问:<input name="month" class="web58818" type="text" value="<%=RS("month")%>"></td>
</tr>
<tr class=bg height="25">
<td> 上月访问:<input name="bmonth" class="web58818" type="text" value="<%=rs("bmonth")%>"></td>
</tr>
<tr class=bg height="25">
<td> 今日访问:<input name="today" class="web58818" type="text" value="<%=rs("today")%>"></td>
</tr>
<tr class=bg height="25">
<td> 昨日访问:<input name="yesterday" class="web58818" type="text" value="<%=rs("yesterday")%>"></td>
</tr>
<tr class=bg height="25">
<td> 建站时间:<input name="inputdate" class="web58818" 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="修 改">
<input name="Submit2" type="reset" class="adminbutton" value="清 空" >
</td></tr>
</table>
<%call closedata()%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -