admin_recycledelall.asp
来自「一个美化的论坛程序」· ASP 代码 · 共 19 行
ASP
19 行
<!--#include file="conn.asp"-->
<!--#include file="const.asp"-->
<!--#include file="function.asp"-->
<%
CheckAdmin
if request("action")<>"bbs" and request("action")<>"reply" then
errmsg="<li>操作错误!"
call error()
response.end
else
action=request("action")
end if
conn.execute "delete * from "&action&" where del=true"
if action="bbs" then conn.execute "delete * from reply where del=true"
conn.close
set conn=nothing
response.redirect "admin_recycle.asp"
%>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?