<!--#include file="conn.asp"-->
<%if session("admin")="" then
response.Write "<script language='javascript'>alert('网络超时或您还没有登陆！');history.go(-1);</script>"
response.End
else
if session("flag")=2 then
response.Write "<div align=center><font size=80 color=red><b>您没有此项目管理权限！</b></font></div>"
response.End
end if
end if
dim action,dingdan,username
action=request.QueryString("action")
dingdan=request.QueryString("dan")
username=request.QueryString("username")
select case action
case "save"
if request("zhuangtai")<>"" then
conn.execute "update shop_action set zhuangtai="&request("zhuangtai")&" where dingdan='"&dingdan&"' "
end if
response.Write "<script language=javascript>alert('订单状态修改成功!');history.go(-1);</script>"
response.Write dingdan
case "del"
conn.execute "delete from shop_action where dingdan='"&dingdan&"' "
response.Write "<script language=javascript>alert('订单删除成功！');history.go(-1);</script>"

end select

%>