<!--#include file="conn.asp"-->
<!--#include file="adminset.asp"-->
<%if session("admin")="" then
response.Write "<script language='javascript'>alert('网络超时或您还没有登陆！');window.location.href='login.asp';</script>"
response.End
end if
if session("flag")>1 then
response.Write "<div align=center><font size=80 color=red><b>您没有此项目管理权限！</b></font></div>"
response.End
end if
if qx1<>1 then
response.Write "<div align=center><font size=80 color=red><b>您没有此项目管理权限！</b></font></div>"
response.End
end if
if request("pinpaiid")=31 then
response.Write "<div align=left>为了保证系统稳定，品牌管理中系统编号为<font size=12 color=red>“31”</font>的这个品牌不可以删除，请您采用修改的方式来更改此品牌！以保证数据库中始终有编号为31的品牌！</div>"
response.End
end if

dim pinpaiid
pinpaiid=request("pinpaiid")
	conn.execute("delete From shop_pinpai where id=" &pinpaiid)
	conn.close
	set conn=nothing
	response.write "<p align=center><font color=red>您选择的品牌已经被删除!<br>2秒钟后返回上页!</font>"
	response.write "<meta http-equiv=""refresh"" content=""2;url=pinpai_manage.asp"">"
	response.end
%>