<!--#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 "<p align=center><font color=red>您没有此项目管理权限！</font></p>"
response.End
end if
end if%>
<%if request.QueryString("action")="save" then
set rs=server.CreateObject("adodb.recordset")
rs.open "select * from shop_gg",conn,1,3
rs("458")=trim(request("458"))
rs("458url")=trim(request("458url"))
rs("2541")=trim(request("2541"))
rs("2541url")=trim(request("2541url"))
rs("2542")=trim(request("2542"))
rs("2542url")=trim(request("2542url"))
rs("2543")=trim(request("2543"))
rs("2543url")=trim(request("2543url"))
rs("1601")=trim(request("1601"))
rs("1601url")=trim(request("1601url"))
rs("1602")=trim(request("1602"))
rs("1602url")=trim(request("1602url"))
rs("1603")=trim(request("1603"))
rs("1603url")=trim(request("1603url"))
rs("1604")=trim(request("1604"))
rs("1604url")=trim(request("1604url"))
rs("1605")=trim(request("1605"))
rs("1605url")=trim(request("1605url"))
rs("1441")=trim(request("1441"))
rs("1441url")=trim(request("1441url"))
rs("1442")=trim(request("1442"))
rs("1442url")=trim(request("1442url"))
rs("1443")=trim(request("1443"))
rs("1443url")=trim(request("1443url"))
rs("16030")=trim(request("16030"))
rs("16030url")=trim(request("16030url"))
rs.update
rs.close
set rs=nothing
response.write "<script language=javascript>alert('修改成功！');history.go(-1);</script>"
response.End
end if
%>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../images/css.css" rel="stylesheet" type="text/css">
</head>
<body>
<%set rs=server.CreateObject("adodb.recordset")
rs.open "select * from shop_gg",conn,1,1%> <table class="tableBorder" width="90%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#FFFFFF"> 
<tr> 
    <td align="center" background="../img/green.gif" height="25"><b><font color="#ffffff">商城广告设置</font></b></td>
  </tr> 
<tr> <td valign="top"> <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#FFFFFF"> 
<form name="form1" method="post" action="guanggao.asp?action=save"> <tr bgcolor="#ffffff"> 
<td width="30%" align="center">广告说明</td><td width="35%" align="center">图片地址</td><td width="35%" align="center">链接地址</td></tr> 
<tr bgcolor="#ffffff"> <td align="center">首页中间大幅广告 380×95</td><td align="center"> 
<input name="458" type="text" id="458" size="28" value=<%=trim(rs("458"))%>> </td><td align="center"> 
<input name="458url" type="text" id="458url" size="28" value=<%=trim(rs("458url"))%>> 
</td></tr> <tr bgcolor="#ffffff"> <td align="center">首页黄金转换广告一 159×130</td><td align="center"> 
<input name="1603" type="text" id="1603" size="28" value=<%=trim(rs("1603"))%>> 
</td><td align="center"> <input name="1603url" type="text" id="1603url" size="28" value=<%=trim(rs("1603url"))%>> 
</td></tr> <tr bgcolor="#ffffff"> <td align="center">首页黄金转换广告二 159×130</td><td align="center"> 
<input name="1604" type="text" id="1604" size="28" value=<%=trim(rs("1604"))%>> 
</td><td align="center"> <input name="1604url" type="text" id="1604url" size="28" value=<%=trim(rs("1604url"))%>> 
</td></tr> <tr bgcolor="#ffffff"> <td align="center">首页黄金转换广告三 159×130</td><td align="center"> 
<input name="1605" type="text" id="1605" size="28" value=<%=trim(rs("1605"))%>> 
</td><td align="center"> <input name="1605url" type="text" id="1605url" size="28" value=<%=trim(rs("1605url"))%>> 
</td></tr> <tr bgcolor="#ffffff"> <td align="center">首页底部广告一 115*50</td><td align="center"> 
<input name="2541" type="text" id="2541" size="28" value=<%=trim(rs("2541"))%>> 
</td><td align="center"> <input name="2541url" type="text" id="2541url" size="28" value=<%=trim(rs("2541url"))%>> 
</td></tr> <tr bgcolor="#ffffff"> <td align="center">首页底部广告二 115*50</td><td align="center"> 
<input name="2542" type="text" id="2542" size="28" value=<%=trim(rs("2542"))%>> 
</td><td align="center"> <input name="2542url" type="text" id="2542url" size="28" value=<%=trim(rs("2542url"))%>> 
</td></tr> <tr bgcolor="#ffffff"> <td align="center">首页底部广告三 115*50</td><td align="center"> 
<input name="2543" type="text" id="2543" size="28" value=<%=trim(rs("2543"))%>> 
</td><td align="center"> <input name="2543url" type="text" id="2543url" size="28" value=<%=trim(rs("2543url"))%>> 
</td></tr> <tr bgcolor="#ffffff"> <td align="center">首页底部广告四 115*50</td><td align="center"> 
<input name="1441" type="text" id="1441" size="28" value=<%=trim(rs("1441"))%>> 
</td><td align="center"> <input name="1441url" type="text" id="1441url" size="28" value=<%=trim(rs("1441url"))%>> 
</td></tr> <tr bgcolor="#ffffff"> <td align="center">首页底部广告五 115*50</td><td align="center"> 
<input name="1442" type="text" id="1442" size="28" value=<%=trim(rs("1442"))%>> 
</td><td align="center"> <input name="1442url" type="text" id="1442url" size="28" value=<%=trim(rs("1442url"))%>> 
</td></tr> <tr bgcolor="#ffffff"> <td align="center">首页底部广告六 115*50</td><td align="center"> 
<input name="1443" type="text" id="1443" size="28" value=<%=trim(rs("1443"))%>> 
</td><td align="center"> <input name="1443url" type="text" id="1443url" size="28" value=<%=trim(rs("1443url"))%>> 
</td></tr> <tr bgcolor="#ffffff"> <td align="center">首页底部广告七 115*50</td><td align="center"> 
<input name="1601" type="text" id="1601" size="28" value=<%=trim(rs("1601"))%>> 
</td><td align="center"> <input name="1601url" type="text" id="1601url" size="28" value=<%=trim(rs("1601url"))%>> 
</td></tr> <tr bgcolor="#ffffff"> <td align="center">首页底部广告八 115*50</td><td align="center"> 
<input name="1602" type="text" id="1602" size="28" value=<%=trim(rs("1602"))%>> 
</td><td align="center"> <input name="1602url" type="text" id="1602url" size="28" value=<%=trim(rs("1602url"))%>> 
</td></tr> <tr bgcolor="#ffffff"> <td align="center">首页底部广告九 115*50</td><td align="center"> 
<input name="16030" type="text" id="16030" size="28" value=<%=trim(rs("16030"))%>></td><td align="center"> 
<input name="16030url" type="text" id="16030url" size="28" value=<%=trim(rs("16030url"))%>> 
</td></tr> <tr bgcolor="#ffffff"> <td align="center">&nbsp;</td><td align="center">&nbsp;</td><td align="center">&nbsp;</td></tr> 
<tr> <td colspan="3" bgcolor="#ffffff" align="center"> <input type="submit" name="Submit" value="提交更改"> 
</td></tr> </form></table></td></tr> </table><!--#include file="copyright.asp"--> 
</body>
</html>