<!--#include file="conn.asp"-->
<%if session("admin")="" then
response.Write "<script language='javascript'>alert('网络超时或您还没有登陆！');window.location.href='login.asp';</script>"
response.End
else
if session("flag")>1 then
response.Write "<div align=center><font size=80 color=red><b>您没有此项目管理权限！</b></font></div>"
response.End
end if
end if

dim ziduanid,ziduanorder,ziduanname,ziduanno,i
if request("action")="update" then
    for i=1 to request.form("ziduanid").count
	ziduanid=replace(request.form("ziduanid")(i),"'","")
	ziduanname=replace(request.form("ziduanname")(i),"'","")
	conn.execute("update shop_ziduan set ziduanname='"&ziduanname&"' where id="&ziduanid)

    next
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=ziduanmanage.asp"">"
end if
%>