📄 del.asp
字号:
<!--
========================================================================
/////popcorn2.0/////
copyright (c) 2004,by 521lu.com
all rights reserved
script written by h.q.
web site : http://www.521lu.com
mail : support@521lu.com
========================================================================
请勿删除版权
pls don't skip the copyright annoucement
========================================================================
-->
<!--#include file="config.asp"-->
<%
if request.form("password")=password then
dim getid,id,postid
getid = split(trim(request.form("id")),",")
for each str in getid
varstr = split(str,"|")
id = varstr(0)
postid = varstr(1)
if postid = 0 then
conn.execute("delete from body where id="&id&"")
conn.execute("delete from re where post_id="&id&"")
else
conn.execute("delete from re where id="&id&"")
conn.execute("update body set recount=recount-1 where id="&postid&"")
end if
next
else
end if
response.redirect "index.asp"
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -