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

📄 hire_searchresult.asp

📁 嘉缘人才6.0精简 ,很好用的人才系统
💻 ASP
📖 第 1 页 / 共 2 页
字号:
<%call head()%>
<div class="mainmenu"><ul>
<li><a href="<%=SiteUrl&InstallDir%>search/hire_speedsearch.asp">快速搜索</a></li>
<li><a href="<%=SiteUrl&InstallDir%>search/hire_workaddsearch.asp">区域招聘</a></li>
<li><a href="<%=SiteUrl&InstallDir%>search/hire_tradesearch.asp">行业招聘</a></li>
</ul></div>
<div class="place"><div class="catalogName l"></div><div class="navMenu l">您现在的位置:<a href="<%=Siteurl%>"><%=Sitename%></a> &gt;&gt; 职位搜索结果</div>
</div>
<div class="maintaba">
<div class="mainonetit"><span></span>职位搜索结果</div>
<div class="searchmaincon"><form name="hiresimplesearch" action="hire_searchresult.asp?numberss=<%=numbers%>&taxiss=<%=taxis%>&details=<%=detail%>" method="post"><ul><li style="width:33%">行 业:<input type="hidden" value="<%=trade%>" name="trade"><input type="text" name="trades" value="<%if trades<>"" then%><%=trades%><%else%>选择行业<%end if%>" class="search_cases" onClick="JumpSearchLayer('hiresimplesearch','trade','trades',1);" readonly /></li>
		<li style="width:33%">职 位:<input type="hidden" value="<%=position%>" name="position"><input type="text" name="positions" value="<%if positions<>"" then%><%=positions%><%else%>选择职位<%end if%>" class="search_cases" onClick="JumpSearchLayer('hiresimplesearch','position','positions',2);" readonly /></li>
		<li style="width:33%">工作地:<input type="hidden" value="<%=workadd%>" name="workadd"><input type="text" name="workadds" value="<%if workadds<>"" then%><%=workadds%><%else%>选择地点<%end if%>" class="search_cases" onClick="JumpSearchLayer('hiresimplesearch','workadd','workadds',3);" readonly /></li>
		<li style="width:33%">日 期:<input type="hidden" value="<%=datetime%>" name="datetime"><input type="text" name="datetimes" value="<%if datetimes<>"" then%><%=datetimes%><%else%>选择日期<%end if%>" class="search_cases" onClick="JumpSearchLayer('hiresimplesearch','datetime','datetimes',4);" readonly /></li>
		<li style="width:67%">关键字:<input name="keyword" type="text" size="15" class="inputr" value="<%=keyword%>" /> <input name="keywordtype" type="radio" value="1" checked />
		公司
		  <input name="keywordtype" type="radio" value="2" checked />职位 <input type="submit" name="Submit3" value="搜 索" class="inputs" /></li></ul></form>
<div class="adsearch"><!--搜索结果区域广告--></div>
</div>
<div class="searchmaincon">
<%Set rs= Server.CreateObject(FR_HR_RS)
sql="select * from job_c_hire where hire_status=1"
If FR_HR_DataBaseType=1 then
sql=sql&" and datediff(d,hire_enddate,"&FR_HR_Now&")<=0"
Else
sql=sql&" and datediff('d',hire_enddate,"&FR_HR_Now&")<=0"
End If
if trade<>"" then
sql=sql&" and hire_trade like '%"&trade&"%'"
end if
if position<>"" then
sql=sql&" and hire_position like '%"&position&"%'"
end if
if workadd<>"" then
sql=sql&" and hire_workadd like '%"&workadd&"%'"
end if
if datetime<>"" and IsNumeric(datetime) then
	If FR_HR_DataBaseType=1 then
	sql=sql&" and datediff(d,hire_announcedate,"&FR_HR_Now&"-"&datetime&")<=0"
	Else
	sql=sql&" and datediff('d',hire_announcedate,"&FR_HR_Now&"-"&datetime&")<=0"
	End If
end if
if keyword<>"" then
	if keywordtype<>"" then
		if keywordtype=1 then
		sql=sql&" and hire_comname like '%"&keyword&"%'"
		else
		sql=sql&" and hire_place like '%"&keyword&"%'"
		end if
	else
		sql=sql&" and (hire_comname like '%"&keyword&"%' or hire_place like '%"&keyword&"%')"
	end if
end if
select case taxis
	case 1
	sql=sql&" order by hire_announcedate desc"
	case 2
	sql=sql&" order by hire_announcedate asc"
	case 3
	sql=sql&" order by hire_visitcount desc"
end select
rs.open sql,conn,1,1
if rs.eof and rs.bof then
Response.Write"<br><li>对不起,尚未找到符合您查询的结果!</li>"
else
	totalPut=rs.recordcount
	if (page-1)*MaxPerpage>totalput then
		if (totalPut mod MaxPerpage)=0 then
			page= totalPut \ MaxPerpage
		else
			page= totalPut \ MaxPerpage + 1
		end if
	end if
	if page=1 then
		Call MainInfo()
	else
		if (page-1)*MaxPerpage<totalPut then
			rs.move  (page-1)*MaxPerpage
			dim bookmark
			bookmark=rs.bookmark
			Call MainInfo()
		else
			page=1
			Call MainInfo()
		end if
	end if
end if
rs.close
set rs=nothing%>
<%Sub MainInfo()%>
<form name="simplesearch" action="<%=InstallDir%>search/hire_searchresult.asp" method="post">
<table width="100%" border="0" align="center" cellpadding="4" cellspacing="0">
    <tr>
      <td width="7%" style="background:url(../skin/skin1/tit_bg.gif) bottom repeat-x"><input type="checkbox" name="checkbox" value="checkbox" onClick="javascript: checkAll(this)" /> 
        全选</td>
      <td width="93%" align="right" style="background:url(../skin/skin1/tit_bg.gif) bottom repeat-x"> <!--<input name="Input" type="button" value="显示选中的职位" class="inputs" onClick="confirmX(1);" />--> 
        <input name="Input2" type="button" value="申请选中的职位" class="inputs" onClick="confirmX(2);" /> 
        <input name="Input3" type="button" value="放入收藏夹" class="inputs" onClick="confirmX(3);" /> 
        每页显示<select name="numbers" size="1" style="z-index:0" onChange="javascript:window.location='<%=JoinChar(strFileName)%>numbers='+this.options[this.selectedIndex].value;"><option value="10" <%if numbers=10 then Response.Write("selected")%>>10条</option><option value="20" <%if numbers=20 then Response.Write("selected")%>>20条</option><option value="50" <%if numbers=50 then Response.Write("selected")%>>50条</option></select> <select name="taxis" size="1" onChange="javascript:window.location='<%=JoinChar(strFileName)%>taxis='+this.options[this.selectedIndex].value;"><option value="1" <%if taxis=2 then Response.Write("selected")%> >按发布时间降序</option><option value="2" <%if taxis=2 then Response.Write("selected")%>>按发布时间升序</option><option value="3" <%if taxis=3 then Response.Write("selected")%>>按关注度排序</option></select> 查看<select name="detail" size="1" onChange="javascript:window.location='<%=JoinChar(strFileName)%>detail='+this.options[this.selectedIndex].value;"><option value="1" <%if detail=1 then Response.Write("selected")%> >列表</option><option value="2" <%if detail=2 then Response.Write("selected")%>>明细</option></select></td>
    </tr>
  </table>
  <%if detail=1 then%>
  <table width="100%" border="0" align="center" cellpadding="4" cellspacing="0" style=" background-color:#D9F3FF;border-bottom:1px #D9E9FF solid;white-space:normal;word-break:break-all;overflow:auto;">
    <tr>
      <td width="25%">职位名称</td>
      <td width="35%">公司名称</td>
      <td width="30%">工作地点</td>
      <td width="10%">发布时间</td>
    </tr>
  </table>
<%end if
si=0
do while not rs.eof
if detail=1 then
%>
  <table width="100%" border="0" align="center" cellpadding="4" cellspacing="0" onMouseOver="this.style.background='#F7F8FE'" onMouseOut="this.style.background=''" style="border-bottom:1px #D9E9FF solid;white-space:normal;word-break:break-all;overflow:auto;">
    <tr>
      <td width="25%"><input name="checks" type="checkbox" value="<%=rs("hire_id")%>" /> <a href="<%=FormatLink(rs("hire_announcedate"),2,3,rs("hire_id"),0)%>" target="_blank"><%=left(rs("hire_place"),10)%></a></td>
      <td width="35%"><A href="<%=FormatLink(0,2,1,rs("company_id"),0)%>" target="_blank"><%=left(rs("hire_comname"),20)%></A></td>
      <td width="30%"><%=left(Hireworkadds(rs("hire_workadd")),18)%></td>
      <td width="10%"><%=FormatDate(rs("hire_announcedate"),8)%></td>
    </tr>
  </table>
<%else%>
<table width="100%" border="0" align="center" cellpadding="2" cellspacing="0" onMouseOver="this.style.background='#F7F8FE'" onMouseOut="this.style.background=''" style="border-bottom:1px #D9E9FF solid;white-space:normal;word-break:break-all;overflow:auto;">
	<tr>
		<td><span style="width:100%; font-weight:bold; font-size:14px">
		  <input name="checks" type="checkbox" value="<%=rs("hire_id")%>" /> <a href="<%=FormatLink(rs("hire_announcedate"),2,3,rs("hire_id"),0)%>" target="_blank"><font color="#0066CC"><u><%=replace(rs("hire_place"),keyword,"<font color=red>"&keyword&"</font>")%></u></font></a></span></td>
	</tr>
	<tr>
		<td><li style="width:70%; font-weight:bold; color:#333333; margin:0;"><A href="<%=FormatLink(0,2,1,rs("company_id"),0)%>" target="_blank"><FONT color="#333333"><%=replace(rs("hire_comname"),keyword,"<font color=red>"&keyword&"</font>")%></FONT></A><font color="#666666" style="font-weight:normal"> (工作地点:<%=Hireworkadds(rs("hire_workadd"))%>)</font></li>
	<li style="width:18%; margin:0;">发布时间:<%=FormatDate(rs("hire_announcedate"),8)%></li>
	<li style="width:12%; margin:0;"><input name="" type="button" value="申请职位" class="inputs" onClick="window.open('../person/person_resumesend.asp?action=hire&checks=<%=rs("hire_id")%>')"/></li></td>
	</tr>
	<tr>
		<td>职位描述:<%=left(CheckStrHTML(rs("hire_introduce")),110)%></td>
	</tr>
</table>
<%end if
si=si+1
if si>=MaxPerPage then exit do
rs.movenext
loop
%>
<table width="100%" border="0" align="center" cellpadding="4" cellspacing="0">
  <tr>
    <td width="7%">&nbsp;</td>
    <td width="93%" align="right"><%If totalput>0 Then
	Call Showpage(strFileName,totalput,MaxPerPage,false,true,"条")
End If%></td>
  </tr>
  <tr>
    <td style="background:url(../skin/skin1/tit_bg.gif) bottom repeat-x"><input type="checkbox" name="checkbox" value="checkbox" onClick="javascript: checkAll(this)" /> 
        全选 </td>
    <td align="right" style="background:url(../skin/skin1/tit_bg.gif) bottom repeat-x"><!--<input name="Input" type="button" value="显示选中的职位" class="inputs" onClick="confirmX(1);" />--> 
        <input name="Input2" type="button" value="申请选中的职位" class="inputs" onClick="confirmX(2);" /> 
        <input name="Input3" type="button" value="放入收藏夹" class="inputs" onClick="confirmX(3);" /> 
        每页显示<select name="numbers" size="1" style="z-index:0" onChange="javascript:window.location='<%=JoinChar(strFileName)%>numbers='+this.options[this.selectedIndex].value;"><option value="10" <%if numbers=10 then Response.Write("selected")%>>10条</option><option value="20" <%if numbers=20 then Response.Write("selected")%>>20条</option><option value="50" <%if numbers=50 then Response.Write("selected")%>>50条</option></select> <select name="taxis" size="1" onChange="javascript:window.location='<%=JoinChar(strFileName)%>taxis='+this.options[this.selectedIndex].value;"><option value="1" <%if taxis=2 then Response.Write("selected")%> >按发布时间降序</option><option value="2" <%if taxis=2 then Response.Write("selected")%>>按发布时间升序</option><option value="3" <%if taxis=3 then Response.Write("selected")%>>按关注度排序</option></select> 查看<select name="detail" size="1" onChange="javascript:window.location='<%=JoinChar(strFileName)%>detail='+this.options[this.selectedIndex].value;"><option value="1" <%if detail=1 then Response.Write("selected")%> >列表</option><option value="2" <%if detail=2 then Response.Write("selected")%>>明细</option></select></td>
  </tr>
</table>
</form>
<%End Sub%>
</div>
</div>
<%call bottom()%>
</center>
</body>
</html>

⌨️ 快捷键说明

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