<!--#include file="../inc/config.asp" -->
<!--#include file="../inc/conn.asp" -->
<!-- #include file="inc/session.asp" -->
<html>
<head>
<title>清空日志</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta http-equiv="refresh" content="1;URL=admin_manage.asp">
</head>
<body>
<%
dim id,locks
id=Cint(request.QueryString("id"))
locks=Cint(request.QueryString("lock"))
conn.execute("update admin set Lock="&locks&" where id="&id)
%>
<div align="center">
  <p>&nbsp;</p>
  <p>&nbsp;</p>
  <p>&nbsp;</p>
  <p>&nbsp;</p>
  <p>&nbsp;</p>
  <p>&nbsp;</p>
  <p>
  <%
  if(locks=0) then 
  	response.Write("成功解除锁定!")
  else
  	response.Write("成功锁定!")
  end if
  %>
  </p>
</div>
</body>
</html>
<%
call connclose()
%>