<!--#include file="conn.asp"-->
<!--#include file="error.ini"-->
<!--#include file="Top.asp"-->
<%if session("flag")>1 then
    response.write "<script>alert('您的操作权限不够！');history.back();</script>"
    response.end
end if
%>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>广告管理</title>
<link href="Images/Admin_Style.Css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.样式3 {font-size: 9pt}
-->
</style>
</head>
<%
dim rs
dim sql
dim count
set rs=server.createobject("adodb.recordset")
sql = "select * from ads"
rs.open sql,conn,1,1
%>
<body>
<form method="POST" action="ads3.asp?action=add">
  <div align="center"><br>
    <table cellpadding="2" cellspacing="1" border="0" width="100%" class="border" align=center>
      <tr align="center" bgcolor="#009ACE"> 
        <td height=22 colspan=2 class="topbg" ><strong><font color="#FFFFFF">广告位管理</font></strong> 
      <tr> 
        <td width="20%"  class="tdbg" height=23><div align="center">首页广告：</div></td>
        <td width="80%" class="tdbg"><font color="#00FFFF"><font color="#FFFFFF"> 
          <textarea name="ads1" cols="70" rows="4" id="ads1"><%=rs("ads1")%></textarea>
        </font></font></td>
      </tr>
      <tr>
        <td class="tdbg" height=23><div align="center">广告插件1：</div></td>
        <td class="tdbg"><font color="#00FFFF"><font color="#FFFFFF">
          <textarea name="ads8" cols="70" rows="4" id="textarea4"><%=rs("ads8")%></textarea>
</font></font>          </td>
      </tr>
      <tr>
        <td class="tdbg" height=23><div align="center">广告插件2：</div></td>
        <td class="tdbg"><font color="#00FFFF"><font color="#FFFFFF">
          <textarea name="ads9" cols="70" rows="4" id="textarea5"><%=rs("ads9")%></textarea>
          </font></font></td>
      </tr>
      <tr>
        <td class="tdbg" height=23><div align="center">广告插件3：</div></td>
        <td class="tdbg"><font color="#00FFFF"><font color="#FFFFFF">
          <textarea name="ads10" cols="70" rows="4" id="textarea6"><%=rs("ads10")%></textarea>
        </font></font></td>
      </tr>
    </table>
    <br>
    <font><span class="样式3">注意由于风格版面的不同，不可能统一广告管理，这里只列出了常用和通用的广告，其它广告位请自行修改或添加</span><br>
    <input type="submit" name="cmdok" value="确 定">
    　 
    <input type="reset" name="Submit2" value="重 执" class="bt">
    </font></div>
</form>
</body>
<%
 rs.close
set rs = nothing
conn.Close
set conn = nothing
%>
</html>
