<!--#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%>
<%if request.QueryString("action")="save" then
set rs=server.CreateObject("adodb.recordset")
rs.open "select * from BJX_guanggao",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("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.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 BJX_guanggao",conn,1,1%>
<table class="tableBorder" width="90%" border="0" align="center" cellpadding="0" cellspacing="1" >
<tr> 
<td align="center" background="../images/admin_bg_1.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">
<form name="form1" method="post" action="guanggao.asp?action=save">
          <tr > 
            <td width="30%" align="center">广告说明</td>
            <td width="35%" align="center">图片地址</td>
            <td width="35%" align="center">链接地址</td>
          </tr>
          <tr > 
            <td align="center">首页左列广告1 185×45</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 > 
            <td align="center">首页左列广告2 185×45</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 > 
            <td align="center">首页左列广告3 185×45</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 > 
            <td align="center">首页左列广告4 185×45</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 > 
            <td align="center">首页左列广告5 185×45</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 > 
            <td align="center">首页左列广告6 185×45</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 > 
            <td align="center">首页中列广告1 530×144</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 > 
            <td align="center">首页中列广告2 530×110</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 > 
            <td align="center">首页右列广告1 230×36</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 > 
            <td align="center">首页右列广告2 230×100</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 > 
            <td align="center">首页右列广告3 230×100</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> 
            <td colspan="3"  align="center">
			<input type="submit" name="Submit" value="提交更改">
            </td>
          </tr>
</form>
</table>
</td>
</tr>
</table>
</body>
</html>
