📄 save_ad.asp
字号:
<!--#include file="session.asp"-->
<!--#include file="conn.asp"-->
<!--#include file="../include/code.asp"-->
<%
'**********************************
'版本:host_free 3.0 *
'官方网站:http://www.850518.com *
'技术论坛:http://forum.850518.com *
'qq:54455245 (欢迎咨询商业版) *
'msn: steven_bass@msn.com *
'手机:(0)13632779827 *
'mail:wtez@vip.163.com *
'版权所有,请保留该信息,谢谢合作 *
'**********************************
%>
<%
set rs = server.createobject("adodb.recordset")
sql="select * from ad where ad_id="&request("ad_id")
rs.open sql,conn,3,3
%>
<html>
<head>
<meta http-equiv="content-language" content="zh-cn">
<meta http-equiv="content-type" content="text/html; charset=gb2312">
<meta name="generator" content="microsoft frontpage 6.0">
<meta name="progid" content="frontpage.editor.document">
<link href="style.css" rel=stylesheet>
</head>
<body style="background-color: #eeeeee">
<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="1" width="600" bgcolor="#626262">
<tr>
<td height="20"> <b><font color="#ffffff">广告添加</font></b></td>
</tr>
<tr>
<td height="500" bgcolor="#ffffff">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<form method="post" action="edit.asp?action=edit_ad&ad_id=<%=rs("ad_id")%>">
<tr>
<td width="19%" height="25" align="right">广告分类:</td>
<td width="81%" height="25"> <select size="1" name="ad_w">
<option value="">选择广告类型</option>
<option value="首页顶广告" <%if rs("ad_w")="首页顶广告" then%>selected<%end if%>>首页顶广告</option>
<option value="首页底广告" <%if rs("ad_w")="首页底广告" then%>selected<%end if%>>首页底广告</option>
<option value="内页广告" <%if rs("ad_w")="内页广告" then%>selected<%end if%>>内页广告</option>
<option value="新闻广告" <%if rs("ad_w")="新闻广告" then%>selected<%end if%>>新闻广告</option>
<option value="漂浮广告" <%if rs("ad_w")="漂浮广告" then%>selected<%end if%>>漂浮广告</option>
</select></td>
</tr>
<tr>
<td width="19%" height="25" align="right">html设置:</td>
<td width="81%" height="25"> <input type="radio" value="0" name="html_w" <%if rs("html_w")="0" then%>checked<%end if%> checked>非html代码
<input type="radio" value="1" name="html_w" <%if rs("html_w")="1" then%>checked<%end if%>>html代码
<font color="#ff0000">( <b>html代码</b>选择后,以下4项无效
)</font></td>
</tr>
<tr>
<td width="19%" height="25" align="right">广告尺寸:</td>
<td width="81%" height="25"> <input type="checkbox" name="mo" value="mo">默认 宽:<input type="text" name="kuan" size="10" style="border: 1 solid #626262" value="<%=rs("kuan")%>">
像素 高:<input type="text" name="gao" size="10" style="border: 1 solid #626262" value="<%=rs("gao")%>">
像素 <font color="#ff0000">默认勾上不需填写宽高</font></td>
</tr>
<tr>
<td width="19%" height="25" align="right">广告图片:</td>
<td width="81%" height="25"> <input type="text" name="ad_pic" size="50" value="<%=rs("ad_pic")%>"></td>
</tr>
<tr>
<td width="19%" height="25" align="right"> </td>
<td width="81%" height="25"><iframe frameborder=0 width=400 height=45 scrolling=no src=admupfile.htm></iframe></td>
</tr>
<!--<tr>
<td width="19%" align="right"></td>
<td width="81%"><iframe frameborder=0 width=400 height=45 scrolling=no src=admupfile.htm></iframe></td>
</tr>-->
<tr>
<td width="19%" height="25" align="right">连接地址:</td>
<td width="81%" height="25"> <input type="text" name="ad_url" size="50" value="<%=rs("ad_url")%>"></td>
</tr>
<tr>
<td width="19%" height="25" align="right">文字说明:</td>
<td width="81%" height="25"> <input type="text" name="ad_wenzi" size="50" value="<%=rs("ad_wenzi")%>"></td>
</tr>
<tr>
<td width="19%" height="25" align="right">html代码:</td>
<td width="81%" height="25"> <textarea rows="5" name="ad_html" cols="50"><%=rs("ad_html")%></textarea></td>
</tr>
<tr>
<td width="100%" colspan="2" height="30">
<p align="center"><input type="submit" value=" 提交 " name="b3">
<input type="reset" value="全部重写" name="b3"></td>
</tr>
</form>
</table>
</td>
</tr>
</table>
</center>
</div>
</body>
</html>
<%rs.close
set rs=nothing
conn.close
set conn=nothing%>
<%
'**********************************
'版本:host_free 3.0 *
'官方网站:http://www.850518.com *
'技术论坛:http://forum.850518.com *
'qq:54455245 (欢迎咨询商业版) *
'msn: steven_bass@msn.com *
'手机:(0)13632779827 *
'mail:wtez@vip.163.com *
'版权所有,请保留该信息,谢谢合作 *
'**********************************
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -