<!--#include file="conn.asp"-->
<%if session("admin")="" then
response.Write "<script language='javascript'>alert('网络超时或您还没有登陆！');history.go(-1);</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%>
<%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("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">
<style>
td{font-size:9pt;line-height:120%;color:#353535} 
body{font-size:9pt;line-height:120%} 

a:link          { color: #000000; text-decoration: none }
a:visited       { color: #000000; text-decoration: none }
a:active        { color: #000000; text-decoration: none }
a:hover         { color: #336699; text-decoration: none; position: relative; right: 0px; top: 1px }
</style>
</head>
<body>
<%set rs=server.CreateObject("adodb.recordset")
rs.open "select * from shop_gg",conn,1,1%>
<table width="80%" border="1" cellspacing="0" cellpadding="1" bordercolor="74AC65" align="center">
  <tr> 
    <td> 
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td width="9" background="../images/back_3.gif" rowspan="2"></td>
          <td class="12v"> 
            <table width="100%" border="0" cellspacing="0" cellpadding="0" class="12v">
              <tr> 
                <td class="12v" > 
                  <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" id="AutoNumber3" height="0" width="100%">
                    <tr> 
                      <td>
                        <table width="100%" border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#006600">
                          <tr> 
                            <td>
                              <div align="center"><font color="#FFFFFF">网站广告设置</font></div>
                            </td>
                          </tr>
                          <tr> 
                            <td height="211" valign="top" bgcolor="#E8F1FF">
                              <form name="form1" method="post" action="guanggao.asp?action=save">
                                <br>
                                <table width="90%" border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#FFFFFF">
                                  <tr> 
                                    <td bgcolor="#E8F1FF" style="PADDING-LEFT: 6px">&nbsp;</td>
                                    <td bgcolor="#E8F1FF" >
                                      <div align="center">图片地址</div>
                                    </td>
                                    <td bgcolor="#E8F1FF" >
                                      <div align="center">图片链接</div>
                                    </td>
                                  </tr>
                                  <tr> 
                                    <td colspan="3" bgcolor="#E8F1FF" style="PADDING-LEFT: 6px">网站首页广告设置：</td>
                                  </tr>
                                  <tr> 
                                    <td width="25%" bgcolor="#E8F1FF" style="PADDING-LEFT: 6px">458*140大广告：</td>
                                    <td width="38%" bgcolor="#E8F1FF" >
                                      <div align="center"> 
                                        <input name="458" type="text" id="458" size="28" value=<%=trim(rs("458"))%>>
                                      </div>
                                    </td>
                                    <td width="37%" bgcolor="#E8F1FF" >
                                      <div align="center"> 
                                        <input name="458url" type="text" id="458url" size="28" value=<%=trim(rs("458url"))%>>
                                      </div>
                                    </td>
                                  </tr>
                                  <tr> 
                                    <td bgcolor="#E8F1FF" style="PADDING-LEFT: 6px">254*70小广告1：</td>
                                    <td bgcolor="#E8F1FF" >
                                      <div align="center"> 
                                        <input name="2541" type="text" id="2541" size="28" value=<%=trim(rs("2541"))%>>
                                      </div>
                                    </td>
                                    <td bgcolor="#E8F1FF" >
                                      <div align="center"> 
                                        <input name="2541url" type="text" id="2541url" size="28" value=<%=trim(rs("2541url"))%>>
                                      </div>
                                    </td>
                                  </tr>
                                  <tr> 
                                    <td bgcolor="#E8F1FF" style="PADDING-LEFT: 6px">254*70小广告2：</td>
                                    <td bgcolor="#E8F1FF" >
                                      <div align="center"> 
                                        <input name="2542" type="text" id="2542" size="28" value=<%=trim(rs("2542"))%>>
                                      </div>
                                    </td>
                                    <td bgcolor="#E8F1FF" >
                                      <div align="center"> 
                                        <input name="2542url" type="text" id="2542url" size="28" value=<%=trim(rs("2542url"))%>>
                                      </div>
                                    </td>
                                  </tr>
                                  <tr> 
                                    <td bgcolor="#E8F1FF" style="PADDING-LEFT: 6px">254*70小广告3：</td>
                                    <td bgcolor="#E8F1FF" >
                                      <div align="center"> 
                                        <input name="2543" type="text" id="2543" size="28" value=<%=trim(rs("2543"))%>>
                                      </div>
                                    </td>
                                    <td bgcolor="#E8F1FF" >
                                      <div align="center"> 
                                        <input name="2543url" type="text" id="2543url" size="28" value=<%=trim(rs("2543url"))%>>
                                      </div>
                                    </td>
                                  </tr>
                                  <tr> 
                                    <td bgcolor="#E8F1FF" style="PADDING-LEFT: 6px">144*30小广告1：</td>
                                    <td bgcolor="#E8F1FF" >
                                      <div align="center"> 
                                        <input name="1441" type="text" id="1441" size="28" value=<%=trim(rs("1441"))%>>
                                      </div>
                                    </td>
                                    <td bgcolor="#E8F1FF" >
                                      <div align="center"> 
                                        <input name="1441url" type="text" id="1441url" size="28" value=<%=trim(rs("1441url"))%>>
                                      </div>
                                    </td>
                                  </tr>
                                  <tr> 
                                    <td bgcolor="#E8F1FF" style="PADDING-LEFT: 6px">144*30小广告2：</td>
                                    <td bgcolor="#E8F1FF" >
                                      <div align="center"> 
                                        <input name="1442" type="text" id="1442" size="28" value=<%=trim(rs("1442"))%>>
                                      </div>
                                    </td>
                                    <td bgcolor="#E8F1FF" >
                                      <div align="center"> 
                                        <input name="1442url" type="text" id="1442url" size="28" value=<%=trim(rs("1442url"))%>>
                                      </div>
                                    </td>
                                  </tr>
                                  <tr> 
                                    <td bgcolor="#E8F1FF" style="PADDING-LEFT: 6px">144*30小广告3：</td>
                                    <td bgcolor="#E8F1FF" >
                                      <div align="center"> 
                                        <input name="1443" type="text" id="1443" size="28" value=<%=trim(rs("1443"))%>>
                                      </div>
                                    </td>
                                    <td bgcolor="#E8F1FF" >
                                      <div align="center"> 
                                        <input name="1443url" type="text" id="1443url" size="28" value=<%=trim(rs("1443url"))%>>
                                      </div>
                                    </td>
                                  </tr>
                                  <tr> 
                                    <td colspan="3" bgcolor="#E8F1FF" style="PADDING-LEFT: 6px">图书分类页面广告设置：</td>
                                  </tr>
                                  <tr> 
                                    <td bgcolor="#E8F1FF" style="PADDING-LEFT: 6px">160*40页面左侧1：</td>
                                    <td bgcolor="#E8F1FF" >
                                      <div align="center"> 
                                        <input name="1601" type="text" id="1601" size="28" value=<%=trim(rs("1601"))%>>
                                      </div>
                                    </td>
                                    <td bgcolor="#E8F1FF" >
                                      <div align="center"> 
                                        <input name="1601url" type="text" id="1601url" size="28" value=<%=trim(rs("1601url"))%>>
                                      </div>
                                    </td>
                                  </tr>
                                  <tr> 
                                    <td bgcolor="#E8F1FF" style="PADDING-LEFT: 6px">160*40页面左侧2：</td>
                                    <td bgcolor="#E8F1FF" >
                                      <div align="center"> 
                                        <input name="1602" type="text" id="1602" size="28" value=<%=trim(rs("1602"))%>>
                                      </div>
                                    </td>
                                    <td bgcolor="#E8F1FF" >
                                      <div align="center"> 
                                        <input name="1602url" type="text" id="1602url" size="28" value=<%=trim(rs("1602url"))%>>
                                      </div>
                                    </td>
                                  </tr>
                                  <tr> 
                                    <td bgcolor="#E8F1FF" style="PADDING-LEFT: 6px">160*40页面左侧3：</td>
                                    <td bgcolor="#E8F1FF" >
                                      <div align="center"> 
                                        <input name="1603" type="text" id="1603" size="28" value=<%=trim(rs("1603"))%>>
                                      </div>
                                    </td>
                                    <td bgcolor="#E8F1FF" >
                                      <div align="center"> 
                                        <input name="1603url" type="text" id="1603url" size="28" value=<%=trim(rs("1603url"))%>>
                                      </div>
                                    </td>
                                  </tr>
                                  <tr> 
                                    <td bgcolor="#E8F1FF" style="PADDING-LEFT: 6px">160*40页面左侧4：</td>
                                    <td bgcolor="#E8F1FF" >
                                      <div align="center"> 
                                        <input name="1604" type="text" id="1604" size="28" value=<%=trim(rs("1604"))%>>
                                      </div>
                                    </td>
                                    <td bgcolor="#E8F1FF" >
                                      <div align="center"> 
                                        <input name="1604url" type="text" id="1604url" size="28" value=<%=trim(rs("1604url"))%>>
                                      </div>
                                    </td>
                                  </tr>
                                  <tr> 
                                    <td bgcolor="#E8F1FF" style="PADDING-LEFT: 6px">&nbsp;</td>
                                    <td bgcolor="#E8F1FF" >&nbsp;</td>
                                    <td bgcolor="#E8F1FF" >&nbsp;</td>
                                  </tr>
                                  <tr> 
                                    <td height="32" colspan="3" bgcolor="#E8F1FF" style="PADDING-LEFT: 6px">
                                      <div align="center"> 
                                        <input type="submit" name="Submit" value="提交更改">
                                      </div>
                                    </td>
                                  </tr>
                                </table>
                              </form>
                            </td>
                          </tr>
                        </table>
                      </td>
                    </tr>
                  </table>
                </td>
              </tr>
            </table>
          </td>
          <td class="12v" background="../images/back_3.gif" width="9" rowspan="2"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<!--#include file="copyright.asp"-->
</body>
</html>
