⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 del.asp

📁 一个很Q的留言板,下载不后悔 !功能说明: 支持cookies 支持少数UBB(颜色/URL) 支持自动超链接 支持表情(自带56个,最多可扩充到60个) 支持头像(自带8个,可
💻 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 + -