📄 search.asp
字号:
<%Response.Charset = "GB2312"%>
<!--#include file="../conn/conn.asp"-->
<!--#include file="../inc/Commoncode.asp"-->
<link href="../css/css1.css" rel="stylesheet" type="text/css">
<%
fname=Replace(request.querystring("fname"),"'","")
vname=Replace(request.querystring("vname"),"'","")
tname=Replace(request.querystring("tname"),"'","")
if request("fname")<>"" and request("vname")<>"" and request("tname")<>"" and request("Searchtype")<>"" then
Searchtype=Replace(request.querystring("Searchtype"),"'","")
end if
%>
<%if Searchtype<>"" and Searchtype=1 then%>
<div class="bl1" style="width:560px;height:auto; padding:0;font-size:12px;overflow:auto;text-align:left;background-color:#FFFFFF;"><div class="f14b1" style="width:550px;overflow:auto;"><ul style="float:left; width:400px; height:auto;margin:0;padding:4px 4px 0 20px; text-align:left">请选择行业</ul><ul style="float:left; width:80px; margin:0; padding:4px 20px 0 4px; text-align:right" onClick="unSearchLayer();"><a style="cursor:pointer">[关闭]</a></ul>
</div><ul style="width:540px; margin:10px 0 10px 10px; padding:0;">
<li onmouseover="this.style.background='#F1F8FC'" onmouseout="this.style.background=''" style=" float:left; width:180px; height:20px"><a onclick="document.<%=fname%>.<%=vname%>.value='';document.<%=fname%>.<%=tname%>.value='不限';unSearchLayer();" style="cursor:pointer">·不限</a></li><%sql="select * from JOB_trade order by date desc"
set rs=Server.CreateObject("ADODB.Recordset")
rs.open sql,conn,1,1
if not rs.eof then
do while not rs.eof%>
<li onmouseover="this.style.background='#F1F8FC'" onmouseout="this.style.background=''" style=" float:left; width:180px; height:20px"><a onclick="document.<%=fname%>.<%=vname%>.value='<%=rs("trade_id")%>';document.<%=fname%>.<%=tname%>.value='<%=rs("trade_name")%>';unSearchLayer();" style="cursor:pointer">·<%=rs("trade_name")%></a></li>
<%
rs.movenext
loop
end if
rs.close
set rs=nothing%></ul></div>
<%end if%>
<%if Searchtype<>"" and Searchtype=2 then%>
<div class="bl1" style="width:560px; height:auto;overflow:auto;font-size:12px; text-align:left; background-color:#FFFFFF;"><div style="width:550px; overflow:auto;" class="f14b1"><ul style="float:left; width:400px; margin:0; padding:4px 4px 0 20px; text-align:left">请选择岗位类别</ul><ul style="float:left; width:80px; margin:0; padding:4px 20px 0 4px; text-align:right" onClick="unSearchLayer();"><a style="cursor:pointer">[关闭]</a></ul>
</div><ul style="width:540px; margin:10px 0 10px 10px; padding:0;"><%sql="select * from JOB_position where position_fid=0 order by date desc"
set rs=Server.CreateObject("ADODB.Recordset")
rs.open sql,conn,1,1
if not rs.eof then
do while not rs.eof%>
<li onmouseover="this.style.background='#F1F8FC'" onmouseout="this.style.background=''" style=" float:left; width:180px; height:20px"><a style="cursor:pointer" onclick="document.getElementById('positiontwo').src='<%=InstallDir%>inc/search.asp?positionfid=<%=rs("position_id")%>&fname=<%=fname%>&vname=<%=vname%>&tname=<%=tname%>&positionname=<%=rs("position_name")%>';">·<%=rs("position_name")%></a></li>
<%
rs.movenext
loop
end if
rs.close
set rs=nothing%>
<span style="float:left; width:100%; font-weight:bold">请选择职位</span>
<iframe id="positiontwo" scrolling="auto" src="" style="width:100%;height:100px;" frameborder=0 ></iframe></ul>
</div>
<%end if%>
<%if Searchtype<>"" and Searchtype=3 then%>
<div class="bl1" style="width:560px; height:auto;overflow:auto;font-size:12px; text-align:left; background-color:#FFFFFF;"><div style="width:550px;overflow:auto;" class="f14b1"><ul style="float:left; width:400px; margin:0; padding:4px 4px 0 20px; text-align:left">请选择工作地点</ul><ul style="float:left; width:80px; margin:0; padding:4px 20px 0 4px; text-align:right" onClick="unSearchLayer();"><a style="cursor:pointer">[关闭]</a></ul>
</div><ul style="width:540px; margin:10px 0 10px 10px; padding:0;"><%sql="select * from JOB_provinceandcity where fid=0 order by date desc"
set rs=Server.CreateObject("ADODB.Recordset")
rs.open sql,conn,1,1
if not rs.eof then
do while not rs.eof%>
<li onmouseover="this.style.background='#F1F8FC'" onmouseout="this.style.background=''" style=" float:left; width:180px; height:20px"><a style="cursor:pointer" onclick="document.getElementById('positiontwo').src='<%=InstallDir%>inc/search.asp?provincefid=<%=rs("id")%>&fname=<%=fname%>&vname=<%=vname%>&tname=<%=tname%>&provincename=<%=rs("province_city")%>';">·<%=rs("province_city")%></a></li>
<%
rs.movenext
loop
end if
rs.close
set rs=nothing%>
<span style="float:left; width:100%; font-weight:bold">请选择城市</span>
<iframe id="positiontwo" scrolling="auto" src="" style="width:100%;height:100px;" frameborder=0 ></iframe></ul>
</div>
<%end if%>
<%if Searchtype<>"" and Searchtype=4 then%>
<div class="bl1" style="width:560px; height:auto;overflow:auto;font-size:12px; text-align:left; background-color:#FFFFFF;"><div style="width:550px; overflow:auto;" class="f14b1"><ul style="float:left; width:400px; margin:0; padding:4px 4px 0 20px; text-align:left">请选择发布日期</ul><ul style="float:left; width:80px; margin:0; padding:4px 20px 0 4px; text-align:right" onClick="unSearchLayer();"><a style="cursor:pointer">[关闭]</a></ul>
</div><ul style="width:540px; margin:10px 0 10px 10px; padding:0;">
<li onmouseover="this.style.background='#F1F8FC'" onmouseout="this.style.background=''" style=" float:left; width:180px; height:20px"><a onclick="document.<%=fname%>.<%=vname%>.value='1';document.<%=fname%>.<%=tname%>.value='近一天';unSearchLayer();" style="cursor:pointer">·近一天</a></li>
<li onmouseover="this.style.background='#F1F8FC'" onmouseout="this.style.background=''" style=" float:left; width:180px; height:20px"><a onclick="document.<%=fname%>.<%=vname%>.value='2';document.<%=fname%>.<%=tname%>.value='近两天';unSearchLayer();" style="cursor:pointer">·近两天</a></li>
<li onmouseover="this.style.background='#F1F8FC'" onmouseout="this.style.background=''" style=" float:left; width:180px; height:20px"><a onclick="document.<%=fname%>.<%=vname%>.value='3';document.<%=fname%>.<%=tname%>.value='近三天';unSearchLayer();" style="cursor:pointer">·近三天</a></li>
<li onmouseover="this.style.background='#F1F8FC'" onmouseout="this.style.background=''" style=" float:left; width:180px; height:20px"><a onclick="document.<%=fname%>.<%=vname%>.value='7';document.<%=fname%>.<%=tname%>.value='近一周';unSearchLayer();" style="cursor:pointer">·近一周</a></li>
<li onmouseover="this.style.background='#F1F8FC'" onmouseout="this.style.background=''" style=" float:left; width:180px; height:20px"><a onclick="document.<%=fname%>.<%=vname%>.value='14';document.<%=fname%>.<%=tname%>.value='近两周';unSearchLayer();" style="cursor:pointer">·近两周</a></li>
<li onmouseover="this.style.background='#F1F8FC'" onmouseout="this.style.background=''" style=" float:left; width:180px; height:20px"><a onclick="document.<%=fname%>.<%=vname%>.value='30';document.<%=fname%>.<%=tname%>.value='近一月';unSearchLayer();" style="cursor:pointer">·近一月</a></li>
<li onmouseover="this.style.background='#F1F8FC'" onmouseout="this.style.background=''" style=" float:left; width:180px; height:20px"><a onclick="document.<%=fname%>.<%=vname%>.value='42';document.<%=fname%>.<%=tname%>.value='近六周';unSearchLayer();" style="cursor:pointer">·近六周</a></li>
<li onmouseover="this.style.background='#F1F8FC'" onmouseout="this.style.background=''" style=" float:left; width:180px; height:20px"><a onclick="document.<%=fname%>.<%=vname%>.value='60';document.<%=fname%>.<%=tname%>.value='近两月';unSearchLayer();" style="cursor:pointer">·近两月</a></li>
</ul></div>
<%end if%>
<%if Searchtype<>"" and Searchtype=5 then%>
<div class="bl1" style="width:560px; height:auto; overflow:auto;font-size:12px; text-align:left; background-color:#FFFFFF;"><div style="width:550px;overflow:auto;" class="f14b1"><ul style="float:left; width:400px; margin:0; padding:4px 4px 0 20px; text-align:left">请选择专业类别</ul><ul style="float:left; width:80px; margin:0; padding:4px 20px 0 4px; text-align:right" onClick="unSearchLayer();"><a style="cursor:pointer">[关闭]</a></ul>
</div><ul style="width:540px; margin:10px 0 10px 10px; padding:0;"><%sql="select * from JOB_profession where profession_fid=0 order by date desc"
set rs=Server.CreateObject("ADODB.Recordset")
rs.open sql,conn,1,1
if not rs.eof then
do while not rs.eof%>
<li onmouseover="this.style.background='#F1F8FC'" onmouseout="this.style.background=''" style=" float:left; width:180px; height:20px"><a style="cursor:pointer" onclick="document.getElementById('positiontwo').src='<%=InstallDir%>inc/search.asp?professionfid=<%=rs("profession_id")%>&fname=<%=fname%>&vname=<%=vname%>&tname=<%=tname%>&professionname=<%=rs("profession_name")%>';">·<%=rs("profession_name")%></a></li>
<%
rs.movenext
loop
end if
rs.close
set rs=nothing%>
<span style="float:left; width:100%; font-weight:bold">请选择专业</span>
<iframe id="positiontwo" scrolling="auto" src="" style="width:100%;height:100px;" frameborder=0 ></iframe></ul>
</div>
<%end if%>
<%professionfid=Replace(request.querystring("professionfid"),"'","")
professionname=Replace(request.querystring("professionname"),"'","")
if professionfid<>"" then%>
<li onmouseover="this.style.background='#F1F8FC'" onmouseout="this.style.background=''" style=" float:left; width:100%; height:20px"><a onclick="parent.document.<%=fname%>.<%=vname%>.value='<%=professionfid%>';parent.document.<%=fname%>.<%=tname%>.value='<%=professionname%>';parent.document.getElementById('bodyly').style.display='none';parent.document.getElementById('SearchDiv').style.display='none';" style="cursor:pointer; font-weight:bold;">·(全部)<%=professionname%></a><font color="#FF0000">(选择此大类,将包括以下所有小类)</font>
</li>
<%
sql="select * from JOB_profession where profession_fid="&professionfid&" order by date desc"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -