www.gusucode.com > 爱美尔女性商城源码 1.0源码程序 > admintouch/shiKill.asp

    <!--#include file="conn.asp"-->
<%if session("bjxadmin")="" 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 shiid,id
shiid=request("shiid")
if shiid<>"" then
if not isnumeric(shiid) then 
response.write"<script>alert(""非法访问!"");location.href=""../index.asp"";</script>"
response.end
end if
end if
id=request("id")
	conn.execute("delete from BJX_Shi where id=" &shiid)
	conn.close
	set conn=nothing
	response.write "<script language=javascript>alert('您选择的市已经被删除!');window.location.href='shimanage.asp';</script>"
	response.end
%>