📄 depkillok.asp
字号:
<!--#include file="Conn.ASP"-->
<!--#include file="ConnUser.asp"-->
<!--#include file="config.asp"-->
<!--#include file="char.inc"-->
<!--#include file="chkuser.asp"-->
<!--#include file="ChkManage.asp" -->
<!--#include file="ChkURL.asp"-->
<%
IF request.cookies(eChuang)("ManageKEY")<>"super" then
Show_Err("对不起,您的后台管理权限不够!")
response.end
else
ID = ChkRequest(Request("ID"),1) '防注入
set rs=server.createobject("adodb.recordset")
sql="Select * from "& db_dep_Table &" where ID="&id
rs.open sql,conn,1,3
depname=rs("depname")
rs.close
set rs=nothing
button_value=trim(Request.Form("alert_button"))
if button_value="确定" then
conn.execute("delete from "& db_dep_Table &" where ID=" &ID)
conn.close
set conn=nothing
end if
response.write "<meta http-equiv=""refresh"" content="""&freetime&";url=DepManage.asp"">"
Show_Message("<p align=center><font color=red>单位删除成功!<br><br>"&freetime&"秒钟后返回上页!</font>")
response.end
end if%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -