📄 nb_delete.asp
字号:
<!--#include file="passinc.asp" -->
<%
dim nb
set nb = server.createobject("easymail.NoteBooksManager")
nb.Load Session("wem")
mdel = trim(Request("mdel"))
dim isedit
isedit = false
if mdel = "1" then
themax = nb.count
do while themax >= 0
if trim(request("check" & themax)) <> "" then
md = trim(request("check" & themax))
if IsNumeric(md) = true then
nb.DeleteByIndex CInt(md)
isedit = true
end if
end if
themax = themax - 1
loop
else
if trim(request("id")) <> "" then
md = trim(request("id"))
if IsNumeric(md) = true then
nb.DeleteByIndex CInt(md)
isedit = true
end if
end if
end if
if isedit = true then
nb.Save
end if
set nb = nothing
response.redirect "nb_brow.asp?" & getGRSN() & "&page=" & trim(request("thispage"))
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -