shengkill.asp

来自「shopxp网上购物系统 是一个经过完善设计的经典网上购物系统」· ASP 代码 · 共 34 行

ASP
34
字号
<!--
┌─ shopxp.cn──────────────┐
│  免费版难免存在不足,建议你使用正式版  │
│  正式版用户提供免费升级24小时内排除故障│
│  请到www.shopxp.cn进行前台和后台的测试 │
│  热线:010-69209701-801 QQ:83107971   │
└────────────────────┘
-->
<!--#include file="conn.asp"-->
<%if session("shopxpadmin")="" then
response.Write "<script language='javascript'>alert('网络超时或您还没有登陆!');window.location.href='login.asp';</script>"
response.End
else
if session("flag")>1 then
response.Write "<p align=center><font color=red>您没有此项目管理权限!</font></p>"
response.End
end if
end if

dim shengid
shengid=request("shengid")
if shengid<>"" then
if not isnumeric(shengid) then 
response.write"<script>alert(""非法访问!"");location.href=""../index.asp"";</script>"
response.end
end if
end if
	conn.execute("delete from szshi where shengid=" &shengid)
	conn.execute("delete from szsheng where id=" &shengid)
	conn.close
	set conn=nothing
	response.write "<script language=javascript>alert('您选择的省已经被删除!');window.location.href='shengmanage.asp';</script>"
	response.end
%>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?