bukao.asp
上传用户:xzjhbl
上传日期:2021-05-23
资源大小:397k
文件大小:1k
- <!--#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
- rs("logintime")=""
- rs("ip")=""
- rs("score")="0"
- rs("endtime")=""
- 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
- %>