⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ad_add.asp

📁 自做的购物网站
💻 ASP
字号:
<!--#include file="conn.asp"-->
<!--#include file="css.asp"-->
<%
if session("admin_name")="" then response.end
%>
<Script Language="javaScript">
    function  validate()
    {
       
        if  (document.myform.src.value=="")
        {
            alert("链接地址不能为空");
            document.myform.src.focus();
            return false ;
        }
        if  (document.myform.content.value=="")
        {
            alert("说明不能为空");
            document.myform.content.focus();
            return false ;
        }
        if  (document.myform.height.value=="")
        {
            alert("高度不能为空");
            document.myform.height.focus();
            return false ;
        }
        if  (document.myform.width.value=="")
        {
            alert("宽度不能为空");
            document.myform.width.focus();
            return false ;
        }
     
}
</Script>

<form method="post" action="ad_save.asp" enctype="multipart/form-data" name=myform  onSubmit='return validate()'>
  <div align="center"> 
    <table width="450" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="30" background="images/pics/tile_sub.gif">
          <div align="center">添加广告</div>
        </td>
      </tr>
    </table>
    <TABLE border=1 bordercolorlight='000000' bordercolordark=#ffffff cellspacing=0 cellpadding=0 align=center width="450" bgcolor="#e1e1e1">
      <TR> 
        <TD height=20 width=73>&nbsp; 
          <div align="left">链接地址</div>
        </TD>
        <TD height=20 width="371"> 
          <INPUT name="url" 
            size=40>
        </TD>
      </TR>
      <TR> 
        <TD height=20 width=73> 
          <div align="left">广告说明</div>
        </TD>
        <TD height=20 width="371"> 
          <TEXTAREA cols=40 name="content" rows=6 class="txt" style="overflow:auto"></TEXTAREA>
        </TD>
      </TR>
      <tr> 
        <TD height=20 width=73>广告类型:</TD>
        <td height="16" width="371"> 
          <select name="type" style="height:18px;font-size:9pt">
            <option value="GIF" selected>Gif</option>
            <option value="SWF">Swf</option>
          </select>
          广告长宽: 
          <input type="text" name="width" size=5 value="570">
          × 
          <input type="text" name="height" size=5 value="120">
        </td>
      </tr>
      <tr> 
        <TD height=20 width=73>&nbsp;广告图片:</TD>
        <td height="16" width="371"> 
          <input type="file" name="src" size="20" value="浏览">
          &nbsp;&nbsp; 
          <input type="submit" value="上传" name="B1" class="txt " IsShowProcessBar="True">
        </td>
      </tr>
    </table>
    
  </div></form></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -