📄 unlock.asp
字号:
<!--
菜菜考勤评分系统V1.0
www.pcicai.cn
fireflymano@163.com
还望多指教!
菜菜网CMSV1.0发布正在筹备中,请关注 www.pcicai.cn
小飞@蝙蝠 QQ 285305740
-->
<!--#include file="check.asp"-->
<!--#include file="conn.asp"-->
<link href=../css.css rel=stylesheet>
<body background="../back.gif">
<%
if session("qx")<3 then
%>
<%
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
end if
%>
<%
if session("qx")<3 then
%>
<%
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
response.write "<center>您没有操作权限,如果是误锁定请联系管理员。::<a href=# onclick=history.back()>返回</a>"
end if
end if
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -