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

📄 modify.asp

📁 购物网站源码有需要的赶快下载机不可失
💻 ASP
📖 第 1 页 / 共 2 页
字号:
<!--#include file=config.asp -->
<html>
<head>
<meta http-equiv=Content-Language content=zh-cn>
<meta http-equiv=Content-Type content=text/html; charset=gb2312>
<meta http-equiv=Pragma content=no-cache>
<%=citycss%>
</head>
<body style="margin:0">
<%dim getid,adsrs,adssql
getid=cint(request.querystring("id"))

set adsrs=server.createobject("adodb.recordset")
adssql="select * from SMT_ads where SMT_id="&getid
adsrs.open adssql,conn,1,1

price=request("price")
placeid=request("placeid")
if price="" then price=request("price_")
if placeid="" then placeid=request("placeid_")%>

<table border=0 width=480 cellspacing=1 cellpadding=2><tr bgcolor=#ffffff> 
                    <td width=480 align=center><b>修 改 广 告 设 置</b></td>
                    </tr></table>
    <table border=0 cellspacing=0 cellpadding=0 width="480">
      <tr>
        <td bgcolor=#304050> 
          <table border=0 width=480 cellspacing=1 cellpadding=2>
            <form method=POST action=savemodi.asp?id=<%=adsrs("SMT_id")%>>
              <tr bgcolor=#ffffff> 
                <td width=180>广告具体位置:</td>
                <td width=289>广告位种类:<font color=blue><%=price%></font> - <input type=hidden value="<%=price%>" name="price"><font color=blue><b><%set adsrs6=server.createobject("adodb.recordset")
adssql6="select * from SMT_place where SMT_place="&placeid&" and SMT_price='"&price&"' order by SMT_placeid"
adsrs6.open adssql6,conn,1,1%>
<%=adsrs6("SMT_placename")%> (<%=adsrs6("SMT_jg")%>/<%=adsrs6("SMT_jgg")%>)
<%adsrs6.close%></b></font>
                  <input type=hidden value="<%=placeid%>" name="placeid">
                  位</td>
              </tr>
              <tr> 
                <td bgcolor=#ffffff colspan=2>中文站名: 
                  <input type=text name=name size=30 maxlength=30 value=<%=adsrs("SMT_sitename")%>>
                   广告ID:<font color=red><%=adsrs("SMT_id")%></font></td>
              </tr>
              <tr> 
                <td  bgcolor=#ffffff colspan=2>显示类型: 
                  <input type="radio" name="itype" value="i" <%if adsrs("SMT_showtype")="i" then%> checked<%end if%>>
                  图片 
                  <input type="radio" name="itype" value="f"  <%if adsrs("SMT_showtype")="f" then%> checked<%end if%>>
                  Flash</td>
              </tr>
              <tr> 
                <td  bgcolor=#ffffff colspan=2>站点URL: 
                  <input type=text name=url size=40 value="<%=adsrs("SMT_url")%>">
                </td>
              </tr>
              <tr> 
                <td  bgcolor=#ffffff colspan=2>客户姓名: 
                  <input type=text name=username size=40 value="<%=adsrs("SMT_username")%>">
                </td>
              </tr>
              <tr> 
                <td  bgcolor=#ffffff colspan=2>联系方式: 
                  <input type=text name=contact size=40 value="<%=adsrs("SMT_contact")%>">
                </td>
              </tr>
              <tr> 
                <td bgcolor=#ffffff colspan=2>图标URL: 
                  <input type=text name=gif_url size=40 value="<%=adsrs("SMT_gif_url")%>"> <strong><font color="#FF0000">*</font></strong>
                </td>
              </tr>
              <tr> 
                <td bgcolor=#ffffff colspan=2>广告条大小:宽度: 
                  <input type="text" name="width" size="5" maxlength="3" value="<%=adsrs("SMT_width")%>">
                   高度: 
                  <input type="text" name="height" size="5" maxlength="3" value="<%=adsrs("SMT_height")%>">
                  <strong><font color="#FF0000">*</font></strong>(一般标准尺寸为468X60或者88X31)</td>
              </tr>
              <tr> 
                <td bgcolor=#ffffff colspan=2>窗口打开方式: 
                  <select size=1 name=window>
                    <option value=0 <%if adsrs("SMT_window")=0 then%>selected<%end if%>>新窗口打开</option>
                    <option value=1 <%if adsrs("SMT_window")=1 then%>selected<%end if%>>原窗口打开</option>
                  </select>
                </td>
              </tr>
              <tr> 
                <td bgcolor=#c0d0e0 colspan=2>播放限制:受多个条件限制的广告,只要有一个条件满足,该广告<br>
                       便自动进入休眠状态,你可以修改限制条件并激活广告。</td>
              </tr>
              <tr> 
                <td bgcolor=#ffffff colspan=2>日期格式严格按此格式:<font color=#FF0000>yyyy-mm-dd 
                  hh:mm:ss或yyyy-mm-dd</font> </td>
              </tr>
              <tr> 
                <td bgcolor=#ffffff width="180"> 
                  <%if adsrs("SMT_class")=0 then%>
                  <table border=0 width="100%">
                    <tr> 
                      <td> 
                        <input type=radio value=0 name=class checked>
                      </td>
                      <td>无限制循环</td>
                    </tr>
                  </table>
                  <%else%>
                  <table border=0 width="100%">
                    <tr> 
                      <td> 
                        <input type=radio value=0 name=class>
                      </td>
                      <td>无限制循环</td>
                    </tr>
                  </table>
                  <%end if%>
                </td>
                <td bgcolor=#ffffee width="289"> 
                  <%if adsrs("SMT_class")=1 then%>
                  <table border=0>
                    <tr> 
                      <td> 
                        <input type=radio value=1 name=class checked>
                      </td>
                      <td>点击数不超过</td>
                      <td> 
                        <input type=text name=clicks1 size=8 value="<%=adsrs("SMT_clicks")%>">
                      </td>
                    </tr>
                  </table>
                  <%
else
%>
                  <table border=0>
                    <tr> 
                      <td> 
                        <input type=radio value=1 name=class>
                      </td>
                      <td>点击数不超过</td>
                      <td> 
                        <input type=text name=clicks1 size=8>
                      </td>
                    </tr>
                  </table>
                  <%
end if
%>
                </td>
              </tr>
              <tr> 
                <td bgcolor=#ffffee width="180"> 
                  <%
if adsrs("SMT_class")=2 then
%>
                  <table border="0" width="100%">
                    <tr> 
                      <td> 
                        <input type=radio value=2 name=class checked>
                      </td>
                      <td>显示数不超过</td>
                      <td> 
                        <input type=text name=shows2 size=8 value="<%=adsrs("SMT_shows")%>">
                      </td>
                    </tr>
                  </table>
                  <%else%>
                  <table border="0" width="100%">
                    <tr> 
                      <td> 
                        <input type=radio value=2 name=class>
                      </td>
                      <td>显示数不超过</td>
                      <td> 
                        <input type=text name=shows2 size=8>
                      </td>
                    </tr>
                  </table>
                  <%
end if
%>
                </td>
                <td bgcolor=#ffffff width="289"> 
                  <%
if adsrs("SMT_class")=3 then
%>
                  <table border="0">
                    <tr> 
                      <td> 
                        <input type=radio value=3 name=class checked>
                      </td>
                      <td>显示截止期为</td>
                      <td> 
                        <input type=text name=time3 size=20 value="<%=adsrs("SMT_lasttime")%>">
                      </td>
                    </tr>
                  </table>
                  <%
else
%>
                  <table border="0">
                    <tr> 
                      <td> 
                        <input type=radio value=3 name=class>
                      </td>
                      <td>显示截止期为</td>
                      <td> 
                        <input type=text name=time3 size=20>
                      </td>

⌨️ 快捷键说明

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