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

📄 modify.asp

📁 嘉缘人才6.0精简 ,很好用的人才系统
💻 ASP
📖 第 1 页 / 共 2 页
字号:
<!--#include file=config.asp -->
<html>
<head>
<meta http-equiv=Content-Type content=text/html; charset=gb2312>
<LINK href=../css/style.css rel=stylesheet type="text/css">
</head>
<script language=JavaScript>

<!--
function opw(url,name, width, height) { //v2.0
window.open(url,name,''+'width='+width+',height='+height+',scrollbars=yes'+'');
}

function checkaddads(thisform)
{

  
  if (thisform.name.value == "")
  {
    alert("请输入站名!");
    thisform.name.focus();
    return false;
  }
  if (thisform.url.value=="http://")
  {
  	alert("请输入站点url");
	thisform.url.focus();
	return false;
	}
  if (thisform.gif_url.value=="http://")
  {
  	alert("请输入图标url");
	thisform.gif_url.focus();
	return false;
	}
}

//-->
</script><body style="margin:0">
<%dim Adid,adsrs,adssql
Adid=cint(request.querystring("id"))

set adsrs=server.createobject("adodb.recordset")
adssql="select * from JOB_ads where JOB_id="&Adid
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 name="addadschk" action=savemodi.asp?id=<%=adsrs("JOB_id")%> onSubmit="checkaddads(this)">
              <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 JOB_place where JOB_place="&placeid&" and JOB_price='"&price&"' order by JOB_placeid"
adsrs6.open adssql6,conn,1,1%>
<%=adsrs6("JOB_placename")%> (<%=adsrs6("JOB_jg")%>/<%=adsrs6("JOB_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("JOB_sitename")%>>
                   广告ID:<font color=red><%=adsrs("JOB_id")%></font></td>
              </tr>
              <tr> 
                <td  bgcolor=#ffffff colspan=2>显示类型: 
                  <input name="itype" type="radio" class="checkbox" value="i" <%if adsrs("JOB_showtype")="i" then%> checked<%end if%>>
                  图片 
                  <input name="itype" type="radio" class="checkbox" value="f"  <%if adsrs("JOB_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("JOB_url")%>">                </td>
              </tr>
              <tr> 
                <td  bgcolor=#ffffff colspan=2>客户姓名: 
                  <input type=text name=username size=40 value="<%=adsrs("JOB_username")%>">                </td>
              </tr>
              <tr> 
                <td  bgcolor=#ffffff colspan=2>联系方式: 
                  <input type=text name=contact size=40 value="<%=adsrs("JOB_contact")%>">                </td>
              </tr>
              <tr> 
                <td bgcolor=#ffffff colspan=2>图标URL: 
                  <input type=text name=gif_url size=40 value="<%=adsrs("JOB_gif_url")%>">
				  <input name="upfile" type="button" class="inputs" onClick="javascript:opw('../inc/job_up.asp?fromForm=addadschk&fromEdit=gif_url&saveTo=../../ads/&showPath=/ads/','adpic',420,165)" value="浏览文件">
				  <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("JOB_width")%>">
                   高度: 
                  <input type="text" name="height" size="5" maxlength="3" value="<%=adsrs("JOB_height")%>">
                  <strong><font color="#FF0000">*</font></strong>(一般标准尺寸为468X60或者88X31,如要按原始大小显示请输入值为0)</td>
              </tr>
              <tr> 
                <td bgcolor=#ffffff colspan=2>窗口打开方式: 
                  <select size=1 name=window>
                    <option value=0 <%if adsrs("JOB_window")=0 then%>selected<%end if%>>新窗口打开</option>
                    <option value=1 <%if adsrs("JOB_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("JOB_class")=0 then%>
                  <table border=0 width="100%">
                    <tr> 
                      <td> 
                        <input name=class type=radio class="checkbox" value=0 checked>                      </td>
                      <td>无限制循环</td>
                    </tr>
                  </table>
                  <%else%>
                  <table border=0 width="100%">
                    <tr> 
                      <td> 
                        <input name=class type=radio class="checkbox" value=0>                      </td>
                      <td>无限制循环</td>
                    </tr>
                  </table>
                  <%end if%>                </td>
                <td bgcolor=#ffffee width="289"> 
                  <%if adsrs("JOB_class")=1 then%>
                  <table border=0>
                    <tr> 
                      <td> 
                        <input name=class type=radio class="checkbox" value=1 checked>                      </td>
                      <td>点击数不超过</td>
                      <td> 
                        <input type=text name=clicks1 size=8 value="<%=adsrs("JOB_clicks")%>">                      </td>
                    </tr>
                  </table>
                  <%
else
%>
                  <table border=0>
                    <tr> 
                      <td> 
                        <input name=class type=radio class="checkbox" value=1>                      </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("JOB_class")=2 then
%>
                  <table border="0" width="100%">
                    <tr> 
                      <td> 
                        <input name=class type=radio class="checkbox" value=2 checked>                      </td>
                      <td>显示数不超过</td>
                      <td> 
                        <input type=text name=shows2 size=8 value="<%=adsrs("JOB_shows")%>">                      </td>
                    </tr>
                  </table>
                  <%else%>
                  <table border="0" width="100%">
                    <tr> 
                      <td> 
                        <input name=class type=radio class="checkbox" value=2>                      </td>
                      <td>显示数不超过</td>
                      <td> 
                        <input type=text name=shows2 size=8>                      </td>
                    </tr>
                  </table>
                  <%
end if
%>                </td>
                <td bgcolor=#ffffff width="289"> 

⌨️ 快捷键说明

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