ads.asp
资源名称:qnmov30.rar [点击查看]
上传用户:qyswxdl
上传日期:2013-06-01
资源大小:1373k
文件大小:3k
源码类别:
家庭/个人应用
开发平台:
ASP/ASPX
- <!--#include file="articleconn.asp"-->
- <!--#include file="security.asp"-->
- <!--#include file="../checkpost.asp"-->
- <!--#include file="inc/function.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="inc/Admin_STYLE.CSS" rel="stylesheet" type="text/css">
- <style type="text/css">
- <!--
- .样式1 {color: #000000}
- -->
- </style>
- </head>
- <%
- dim rs
- dim sql
- dim count
- set rs=server.createobject("adodb.recordset")
- sql = "select * from indexad"
- rs.open sql,conn,1,1
- %>
- <body>
- <p align="center"> </p>
- <form method="POST" action="savead1.asp?action=add">
- <div align="center"><br>
- <table cellpadding="2" cellspacing="1" border="0" width="90%" class="border" align=center>
- <tr align="center" bgcolor="#429AEF">
- <td height=25 colspan=2 ><strong><font color="#FFFFFF">广告位管理</font></strong>
- <tr>
- <td width="24%" class="tdbg" height=23><div align="center">首页广告:</div></td>
- <td width="76%" class="tdbg"><font color="#00FFFF"><font color="#FFFFFF">
- <textarea rows="4" name="upad" cols="50"><%=rs("upad")%></textarea>
- </font></font></td>
- </tr>
- <tr>
- <td width="24%" class="tdbg" height=23><div align="center">播放页一号广告:</div></td>
- <td width="76%" class="tdbg"><font color="#00FFFF">
- <textarea rows="4" name="centerad" cols="50"><%=rs("centerad")%></textarea>
- </font> <span class="样式1"> 如不开广告插件默认为播放页广告
- </span> </td>
- </tr>
- <tr>
- <td class="tdbg" height=23><div align="center">播放页二号广告:</div></td>
- <td class="tdbg"><font color="#00FFFF"><font color="#FFFFFF">
- <textarea rows="4" name="upad2" cols="50"><%=rs("upad2")%></textarea>
- </font><font color="#00FFFF"><font color="#FFFFFF"></font></font></font></td>
- </tr>
- <tr>
- <td width="24%" class="tdbg" height=23><div align="center">播放页三号广告:</div></td>
- <td width="76%" class="tdbg"><font color="#00FFFF"><font color="#FFFFFF">
- <textarea rows="4" name="downad" cols="50"><%=rs("downad")%></textarea>
- <font color="#00FFFF"></font></font></font></td>
- </tr>
- </table>
- <br>
- <font color="#00FFFF"> <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>