📄 unlock.asp
字号:
<!--''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
''''版权:野马原创 ''''
''''联系:ctplr@163.com ''''
''''说明:需要新功能联系我 ''''
''''QQ:214297587 ''''
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
-->
<!--#include file="check.asp"-->
<!--#include file="conn.asp"-->
<link href=../css.css rel=stylesheet>
<body background="../back.gif" style='cursor:url("Mouse.ani")'>
<%
if session("qx")>2 then
response.write "<center>您没有操作权限,如果是误锁定请联系管理员。::<a href=# onclick=history.back()>返回</a>"
else
%>
<%
if request("action")="all" then
aid=request("id")
sql="select lock from scunews where id="&aid
rs.open sql,cn,3,3
rs("lock")=int(0)
rs.update
rs.close
set rs=nothing
response.redirect "lock.asp"
end if
%>
<%
if request("action")="singal" then
aid=request("id")
sql="select lock from scunews where id="&aid
rs.open sql,cn,3,3
rs("lock")=int(0)
rs.update
rs.close
set rs=nothing
response.redirect "user_xiugai.asp?action=xiugai&id="&aid
else
end if
%>
<%
if request("action")="allunlock" then
sql="select lock from scunews where lock=-1"
rs.open sql,cn,3,3
do while not rs.eof
rs("lock")=int(0)
rs.update
rs.movenext
loop
rs.close
set rs=nothing
response.redirect "lock.asp"
else
end if
%>
<%
if request("action")="alllock" then
sql="select lock from scunews "
rs.open sql,cn,3,3
do while not rs.eof
rs("lock")=int(-1)
rs.update
rs.movenext
loop
rs.close
set rs=nothing
response.redirect "lock.asp"
else
end if
%>
<%end if%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -