?? quxiao.asp
字號:
<!--#include file="conn.asp"-->
<%
if session("admin")="" or session("key")="" then
response.Write("<script>alert('您好!您還沒有登陸');window.location.href('login.asp')</script>")
response.end
end if
%>
<%
dim id
id=request.querystring("id")
if id<>"" then
set rs=server.createobject("adodb.recordset")
cmd="select * from userlogin where kaohao='"&id&"'"
rs.open cmd,conn,1,3
dim nowtime
nowtime=now()
rs("logintime")=nowtime
rs("ip")="127.0.0.1"
rs.update
response.Write("<script>alert('已經取消了該考生的考試資格,若要恢復考試通過補考開通!');window.location.href('Manageuser.asp')</script>")
else
response.Write("<script>alert('請至少選擇一個考生');window.location.href('Manageuser.asp')</script>")
response.end
end if
%>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -