?? admin_counter.asp
字號(hào):
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="../include/config.asp" -->
<!--#include file="../include/check_admin.asp" -->
<%
if Request.Form("submit") <> "" then
dim sSql
sSql = "update [count] set [count] = 1 where id = 1"
Session("conn").Execute sSql,,adExecuteNoRecord
Application("count") = 1
Response.Redirect("welcome.asp")
else
%>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../style/style.css" rel="stylesheet" type="text/css">
</head>
<body>
<form action="admin_counter.asp" method="post">
<table width="200" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td align="center">你確認(rèn)要將計(jì)數(shù)器清零嗎?</td>
</tr>
<tr>
<td align="center"> </td>
</tr>
<tr>
<td align="center"><input name="submit" type="submit" value="清 零"></td>
</tr>
</table>
</form>
</body>
</html>
<%
end if
%>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -