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

📄 view.asp

📁 嘉缘人才6.0精简 ,很好用的人才系统
💻 ASP
字号:
<!--#include file="menu.asp"-->
<%if request("action")="search" then
set adsrs=server.createobject("adodb.recordset")
adssql="select * from JOB_ads where JOB_place="&request("place")&" and JOB_priceid="&request("priceid")&" order by JOB_id desc"
adsrs.open adssql,conn,1,1
	set rsw=conn.execute("select * from job_place where JOB_place="&request("place"))
		placeID=request("place")
		price=rsw("job_price")
	set rsw=nothing
%>
<table width="95%" border="0" align="center" cellpadding="0" cellspacing="1" class="tableBorder">
  <tr>
    <td height="30">&nbsp;<font color="#FF0000"><b><a href="addads.asp?price=<%=price%>&placeID=<%=placeID%>">添加广告</b></font></td>
  </tr>
</table>
<%else
set adsrs=server.createobject("adodb.recordset")
adssql="select * from JOB_ads where JOB_id="&request("id")
adsrs.open adssql,conn,1,1
end if
do while not adsrs.eof%>
<table width="95%" border="0" align="center" cellpadding="0" cellspacing="1" class="tableBorder">
  <tr > 
    <td bgcolor="#FFCC00" colspan="3" height=20 class="forumRowHighlight"> 
      <div align="center">ID:<%=adsrs("JOB_id")%></div>
    </td>
  </tr>
  <tr> 
    <td colspan="3" height="137"> 
      <table width="100%" border="0" cellspacing="2" cellpadding="4" align="center" bgcolor="#eeeeee">
        <tr bgcolor="#Ffffff"> 
          <td width="160" height="17"><font color="#FF0000">广告(站点)名称:</font></td>
          <td width="229" height="17"><a href=<%=adsrs("JOB_url")%> target=_blank><%=adsrs("JOB_sitename")%></a></td>
          <td width="116" height="17"><font color="#FF0000">站点URL:</font></td>
          <td width="210" height="17"><%=adsrs("JOB_url")%></td>
        </tr>
<tr bgcolor="#F6f6f6"> 
          <td width="128"><font color="#FF0000">广告位种类:</font></td>
          <td width="229"><b><%=adsrs("JOB_price")%></b></td>
          <td width="116"><font color="#FF0000">广告位:</font></td>
          <td width="210"><font color=blue><b><%set adsrs6=server.createobject("adodb.recordset")
adssql6="select * from JOB_place where JOB_place="&adsrs("JOB_place")&" and JOB_price='"&adsrs("JOB_price")&"' order by JOB_placeid"
adsrs6.open adssql6,conn,1,1%>
<%=adsrs6("JOB_placename")%> (<%=adsrs6("JOB_jg")%>/<%=adsrs6("JOB_jgg")%>)
<%adsrs6.close%></b></font></td>
        </tr>
        <tr bgcolor="#Ffffff"> 
          <td width="128"><font color="#FF0000">加入时间:</font></td>
          <td width="229"><%=adsrs("JOB_regtime")%></td>
          <td width="116"><font color="#FF0000">最近显示时间:</font></td>
          <td width="210"><%=adsrs("JOB_time")%></td>
        </tr>
        <tr  bgcolor="#F6f6f6">
          <td width="128"><font color="#FF0000">客户姓名:</font></td>
          <td width="229"><%=adsrs("JOB_username")%></td>
          <td width="116"><font color="#FF0000">客户联系方式:</font></td>
          <td width="210"><%=adsrs("JOB_contact")%></td>
        </tr>
<tr bgcolor="#Ffffff">
          <td width="128"><font color="#FF0000">广告条宽度:</font></td>
          <td width="229"><b><%=adsrs("JOB_width")%></b> 像素</td>
          <td width="116"><font color="#FF0000">广告条高度:</font></td>
          <td width="210"><b><%=adsrs("JOB_height")%></b> 像素</td>
        </tr>
        <tr  bgcolor="#F6f6f6"> 
          <td width="128"><font color="#FF0000">显示:</font></td>
          <td width="229"><font color=red><%=adsrs("JOB_show")%></font>次</td>
          <td width="116"><font color="#FF0000">点击:</font></td>
          <td width="210"><font color=red><%=adsrs("JOB_click")%></font>次</td>
        </tr>
        <tr bgcolor="#Ffffff"> 
          <td width="128"><font color="#FF0000">位置:</font></td>
          <td width="229"> 
            <%if adsrs("JOB_place")=1 then%>
            首要页面 
            <%else%>
            一般页面 
            <%end if%>
          </td>
          <td width="116"><font color="#FF0000">打开窗口:</font></td>
          <td width="210"> 
            <%if adsrs("JOB_window")=1 then%>
            原窗 
            <%else%>
            新窗 
            <%end if%>
          </td>
        </tr>
        <tr bgcolor="#f6f6f6"> 
          <td width="128"><font color=red>广告图片URL:</font></td>
          <td width="229"><a href="<%=InstallDir&adsrs("JOB_gif_url")%>" target=_blank><%=adsrs("JOB_gif_url")%> </a></td>
          <td width="116"><font color="#FF0000">失效条件:</font></td>
          <td width="210"> 
            <%
if adsrs("JOB_class")=1 then
%>
            点击<font color=red><%=adsrs("JOB_clicks")%></font>次 
            <%
elseif adsrs("JOB_class")=2 then
%>
            显示<font color=red><%=adsrs("JOB_shows")%></font>次 
            <%
elseif adsrs("JOB_class")=3 then
%>
            截止期:<font color=red><%=adsrs("JOB_lasttime")%></font>
            <%if getdiftime<7 and getdiftime>0 then%>
            <br>
            <div style="width: 200; font-size:15pt; font-family: Arial ; color: red; position: relative; filter: glow(color=ffff00, strength=5)">还有 
              <%=getdiftime%> 天到期!</div>
            <%end if%>
            <%
elseif adsrs("JOB_class")=4 then
%>
            点击<font color=red><%=adsrs("JOB_clicks")%></font>次,显示<font color=red><%=adsrs("JOB_shows")%></font>次 
            <%
elseif adsrs("JOB_class")=5 then
%>
            点击<font color=red><%=adsrs("JOB_clicks")%></font>次,截止期:<font color=red><%=adsrs("JOB_lasttime")%></font>
            <%if getdiftime<7  and getdiftime>0 then%>
            <br>
            <div style="width: 200; font-size:15pt; font-family: Arial ; color: red; position: relative; filter: glow(color=ffff00, strength=5)">还有 
              <%=getdiftime%> 天到期!</div>
            <%end if%>
            <%
elseif adsrs("JOB_class")=6 then
%>
            显示<font color=red><%=adsrs("JOB_shows")%></font>次,截止期:<font color=red><%=adsrs("JOB_lasttime")%></font>
            <%if getdiftime<7  and getdiftime>0 then%>
            <br>
            <div style="width: 200; font-size:15pt; font-family: Arial ; color: red; position: relative; filter: glow(color=ffff00, strength=5)">还有 
              <%=getdiftime%> 天到期!</div>
            <%end if%>
            <%
elseif adsrs("JOB_class")=7 then
%>
            点击<font color=red><%=adsrs("JOB_clicks")%></font>次,显示<font color=red><%=adsrs("JOB_shows")%></font>次,截止期:<font color=red><%=adsrs("JOB_lasttime")%></font>
            <%if getdiftime<7  and getdiftime>0 then%>
            <br>
            <div style="width: 200; font-size:15pt; font-family: Arial ; color: red; position: relative; filter: glow(color=ffff00, strength=5)">还有 
              <%=getdiftime%> 天到期!</div>
            <%end if%>
            <%
else
%>
            无限制条件 
            <%

end if%>
          </td>
        </tr>
      </table>
    </td>
  </tr>
  <tr> 
    <td colspan="3">

      <table width="100%" border="0" cellspacing="0" cellpadding="4" align="center">
        <tr bgcolor="#Ffffff">
          <td colspan="3"><font color=red>备注:</font><%=adsrs("JOB_note")%></td>
        </tr>
        <tr bgcolor="#f6f6f6">
			<td width="471" align="right"> 
				<a href=javascript:opw('option.asp?id=<%=adsrs("JOB_id")%>&job=banner','banner<%=adsrs("JOB_id")%>',500,90)>查看banner</a> 
				&nbsp;&nbsp;&nbsp;&nbsp;
				<%if adsrs("JOB_act")=1 then%>
				<a href=javascript:opw('option.asp?id=<%=adsrs("JOB_id")%>&job=close','close<%=adsrs("JOB_id")%>',300,140)>暂停</a> 
				<%else%>
				<a href=javascript:opw('option.asp?id=<%=adsrs("JOB_id")%>&job=open','open<%=adsrs("JOB_id")%>',300,140)>激活</a> 
				<%end if%>
			</td>
			<td width="183" align="center" > 
			  <a href=javascript:opw('option.asp?id=<%=adsrs("JOB_id")%>&job=delit','del<%=adsrs("JOB_id")%>',300,140)>删除</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href=javascript:opw('modifyads_place.asp?id=<%=adsrs("JOB_id")%>','<%=adsrs("JOB_id")%>',500,420)>修改详细设置</a>
			</td>
			<td width="116" align="center"><a href=javascript:history.go(-1)><strong>返回</strong></a></td>
        </tr>
      </table>
	  <table width="100%"  border="0" cellpadding="0" cellspacing="0">
 	 	<tr>
    		<td>&nbsp;</td>
  		</tr>
	  </table>
    </td>
  </tr>
<tr> 
</tr>
</table>
<%adsrs.movenext
loop
adsrs.close
set sdars=nothing%>

⌨️ 快捷键说明

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