📄 admin_statisticsave.asp
字号:
<!--#include file="session.asp"-->
<%checkAdmin3%>
<!--#include file="conn.asp"-->
<%
sql="select * from counters"
rs.open sql,conn,1,3
if request.form("total")="" then
rs("total")=0
else
rs("total")=request.form("total")
end if
if request.form("today")="" then
rs("today")=0
else
rs("today")=request.form("today")
end if
if request.form("yesterday")="" then
rs("yesterday")=0
else
rs("yesterday")=request.form("yesterday")
end if
if request.form("months")="" then
rs("month")=0
else
rs("month")=request.form("months")
end if
if request.form("bmonth")="" then
rs("bmonth")=0
else
rs("bmonth")=request.form("bmonth")
end if
rs.update
rs.close
set rs=nothing
conn.close
set conn=nothing
Response.Redirect "admin_StatisticModify.asp"
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -