📄 jobsearch.asp
字号:
<%@ codepage ="936" %><!--#include file="head.asp"--><script language="javascript">function show_store(mylink){window.open(mylink,'store','top=150,left=200,width=300,height=140,scrollbars=yes')}</script><SCRIPT>function view1(url){ var url; window.open(url,'_blank','status=no,scrollbars=yes,top=20,left=110,width=600,height=460'); }</SCRIPT><script language="javascript">function job(mylink){window.open(mylink,'','top=50,left=120,width=457,height=450,scrollbars=yes')}</script><script language="javascript">function person(link){window.open(link,'','top=10,left=65,width=650,height=480,scrollbars=yes')}</script><%const MaxPerPage=19const Max1=11dim totalPut dim CurrentPagedim TotalPagesdim i,jdim keywordkeyword=request("type")title=request("txtitle")if not isempty(request("page")) thencurrentPage=cint(request("page"))elsecurrentPage=1end ifdim sqldim rsdim rssortdim sortsqldim sort,sortnamedim datetimeif not isEmpty(request("datetime")) thendatetime=request("datetime")elsedatetime=date()end if %><head><STYLE type=text/css>TD {COLOR: #000; FONT-FAMILY: 宋体; FONT-SIZE: 12px}.GR {COLOR: #666}</STYLE></head><BODY text=#000000 leftMargin=0 topMargin=0 marginheight="0" marginwidth="0"><div align="center"><center><center><table border="0" cellspacing="0" style="border-collapse: collapse" width="750" id="AutoNumber1" cellpadding="0" height="109"><tr><td width="560" valign="top"><CENTER><TABLE border="0" width="100%" height="22" cellspacing="1" style="border-collapse: collapse" bordercolor="#111111"><tr><td height="10" width="528">您的位置:<a href="../default.asp">首页</a>>><a href="default.asp">人才市场</a>>><%if request("txtitle")="" then%><font color="#800000">招聘信息</font><%else%>关键字:<font color="#ff6600"><%=title%></font></td></tr><%end if%><tr><TD background=image/CreditDynamic_index_bj06.gif height=37><DIV align=center class=LL><TABLE border=0 cellPadding=0 cellSpacing=0 width="100%" style="font-size: 9pt"><TBODY><form name="searchtitle" method="POST" action="jobsearch.asp"> <TR><TD width="70%"><DIV align=right><FONT color=#3366cc><span class="M">职位查询</span>:</FONT><font color="#FFFF00"><input type="text" name="txtitle" size="20"></font><left><SELECT class=f11 size="1" name="datetime"> <OPTION selected>所有时段</OPTION><OPTION VALUE="0">今日最新</OPTION><OPTION VALUE="2">最近2天</OPTION><OPTION VALUE="7">最近7天</OPTION><OPTION VALUE="15">最近15天</OPTION><OPTION VALUE="30">最近1个月</OPTION><OPTION VALUE="90">最近3个月</OPTION><OPTION VALUE="180">最近半年</OPTION><OPTION VALUE="365">最近1年</OPTION></SELECT><left><Select Class=f11 size="1" name="Type"> <OPTION VALUE="全职">招聘全职</OPTION><OPTION VALUE="兼职">招聘兼职</OPTION><OPTION VALUE="应届生">应届毕业生</OPTION></Select><font color="#FFFFFF"> </font> </DIV></TD><TD width="20%"> <INPUT align=bottom border=0 name=I7 src="image/CreditDynamic_index_search.gif" type=image ></TD></TR></TBODY></TABLE></DIV></TD></tr></form> <tr><td height="6" width="100%"></td></tr></table><%Set rsgs= Server.CreateObject("ADODB.Recordset") gssql="select id,iname,sex,zye from person order by id desc" rsgs.open gssql,conn,1,1nsql="select * from news where bz=8 order by NewsID desc"set nrs= Server.CreateObject("ADODB.Recordset") nrs.open nsql,conn,1,1 sql="select * from job where showname like '%"&request("txtitle")&"%' and type like '%"&request("type")&"%' order by info_id desc"Set rs= Server.CreateObject("ADODB.Recordset") rs.open sql,conn,1,1 if rs.eof and rs.bof then response.write"<SCRIPT language=JavaScript>alert('对不起,没有您要查询的信息!');"response.write"javascript:history.go(-1)</SCRIPT>"else totalPut=rs.recordcount if currentpage<1 then currentpage=1 end if if (currentpage-1)*MaxPerPage>totalput then if (totalPut mod MaxPerPage)=0 then currentpage= totalPut \ MaxPerPage else currentpage= totalPut \ MaxPerPage + 1 end if end if if currentPage=1 then showContentcontentshowpage totalput,MaxPerPage,"jobsearch.asp"else if (currentPage-1)*MaxPerPage<totalPut then rs.move (currentPage-1)*MaxPerPage dim bookmark bookmark=rs.bookmark showContentcontentshowpage totalput,MaxPerPage,"jobsearch.asp"else currentPage=1 showContentcontentshowpage totalput,MaxPerPage,"jobsearch.asp"end if end if rs.close end ifset rs=nothingsub showContent%> <table border="0" width="100%" cellspacing="0" cellpadding="0" style="border-collapse: collapse" bordercolor="#111111"> <tr><TD style="color: #000; font-family: 宋体; font-size: 12px" width="533"><table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="543" id="AutoNumber4" height="25"><tr><td width="543" background="image/zp.gif" height="25"><p align="right"><%if request("txtitle")="" then%> <%else%> 查询关键字:<font color="#FF6600"><%=title%></font><%end if%></td></tr></table></TD></tr><tr><TD style="color: #000; font-family: 宋体; font-size: 12px" width="533"><center><TABLE cellPadding=4 width="543" bgColor=#FFFFFF border=1 style="border-collapse: collapse" bordercolor="#111111" bordercolorlight="#4883BD" bordercolordark="#4883BD" height="56" cellspacing="1"><TBODY><TR><TD width=155 bgColor=#82AAD2 height=12 style="color: #000; font-family: 宋体; font-size: 12px" align="center"><DIV align=center><span style="letter-spacing: 5"><font color="#FFFFFF"><b>招聘职位</b></font></span></DIV></TD><TD width=187 bgColor=#82AAD2 height=12 style="color: #000; font-family: 宋体; font-size: 12px" align="center"><DIV align=center><font color="#FFFFFF"><b>公司名称</b></font></DIV></TD><TD width=31 bgColor=#82AAD2 height=12 style="color: #000; font-family: 宋体; font-size: 12px" align="center"><DIV align=center><font color="#FFFFFF"><b>人数</b></font></DIV></TD><TD width=53 bgColor=#82AAD2 height=12 style="color: #000; font-family: 宋体; font-size: 12px" align="center"><b><font color="#FFFFFF">工作城市</font></b></TD><TD width=65 bgColor=#82AAD2 height=12 style="color: #000; font-family: 宋体; font-size: 12px" align="center"><b><font color="#FFFFFF">发布日期</font></b></TD></TR><%do while not rs.eof%> <TD width=155 height=5 style="color: #000; font-family: 宋体; font-size: 12px" bgcolor="#F2F7FB"><font color="#FF8019">·</font><span style=\"font-size:9pt;line-height: 15pt\"><a href="javascript:job("job_info.asp?info_id=<%=rs("info_id")%>")"><% if len(rs("showname"))>11 then%><%=left(rs("showname"),10)%>..<% else%><%=rs("showname")%><%end if%></a></span></TD><TD align=middle width=187 height=5 style="color: #000; font-family: 宋体; font-size: 12px" bgcolor="#F2F7FB"><p align="left"> <span style=\"font-size:9pt;line-height: 15pt\"><%if rs("web")="" or rs("web")="http://" or rs("web")="空" then%><a target="_blank" href="../company/index.asp?id=<%=rs("gsid")%>"><% if len(rs("company"))>15 then%><%=left(rs("company"),14)%>..<% else%><%=rs("company")%><%end if%> <%else%><a href=<%=rs("web")%> target="_blank"><% if len(rs("company"))>15 then%><%=left(rs("company"),14)%>..<% else%><%=rs("company")%><%end if%><%end if%> </span></TD><TD align=middle width=31 height=5 style="color: #000; font-family: 宋体; font-size: 12px" bgcolor="#F2F7FB"><%if rs("zrs")="0" then response.write"不限"else response.write""&rs("zrs")&"名" end if%></TD><TD width=53 height=5 style="color: #000; font-family: 宋体; font-size: 12px" bgcolor="#F2F7FB"><p align="center"><%=rs("xs")%></TD><TD width=65 height=5 style="color: #000; font-family: 宋体; font-size: 12px" bgcolor="#F2F7FB"><p align="center"><%=rs("dateandtime")%></TD></TR><% i=i+1if i>=MaxPerPage then exit do rs.movenext loop %><% end subfunction showpage(totalnumber,maxperpage,filename) dim n if totalnumber mod maxperpage=0 then n= totalnumber \ maxperpage else n= totalnumber \ maxperpage+1 end if %><%if CurrentPage<2 then response.write "<table border=0 width=98% cellspacing=0 cellpadding=0>"response.write "<tr height=25 >"response.write "<td align=left>"response.write "<b>共<font color=red>"&n&"</font>页 </font>第<font color=red>"&CurrentPage&"</font>页" response.write " 共查询到<font color=red>"&totalnumber&"</font>条信息</b>"response.write "</td>"response.write "<td VALIGN=middle align=right >"response.write "【最前页】【上一页】" else response.write "<table border=0 width=98% cellspacing=0 cellpadding=0>"response.write "<tr height=25 >"response.write "<td align=left>"response.write "<b>共<font color=red>"&n&"</font>页 第<font color=red>"&CurrentPage&"</font>页" response.write " 共查询到<font color=red>"&totalnumber&"</font>条信息</b>"response.write "</td>"response.write "<td VALIGN=middle align=right >"response.write "【<a href="&filename&"?page=1&txtitle="&title&"&type="&keyword&">最前页</a>】" response.write "【<a href="&filename&"?page="&CurrentPage-1&"&txtitle="&title&"&type="&keyword&">上一页</a>】" end if if n-currentpage<1 then response.write "【下一页】【最后页】" else response.write "【<a href="&filename&"?page="&(CurrentPage+1)&"&txtitle="&title&"&type="&keyword&">" response.write "下一页</a>】【<a href="&filename&"?page="&n&"&txtitle="&title&"&type="&keyword&">最后页</a>】" end if response.write "</form>" response.write "</td>"response.write "</tr>"response.write "</table>"end function%><%sub content%></TBODY></TABLE></center></TD></tr></table> <%end sub%><td width="7" height="109" valign="top" background="image/CreditDynamic_zxqy_03.gif"> <td width="193" height="109" valign="top"><div align="center"><center><table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="188" id="AutoNumber2"><tr><TD vAlign=top width="190"><TABLE border=0 cellPadding=0 cellSpacing=0 width="100%" style="font-size: 9pt"><TBODY><TR><TD><map name="FPMap0"><area href="job_edit.asp" shape="rect" coords="7, 7, 97, 52"><area coords="99, 7, 185, 51" shape="rect" href="person_login.asp"></map><img border="0" src="image/job2.gif" usemap="#FPMap0"></TD></TR><TR><TD> </TD></TR></TBODY></TABLE><TABLE border=0 cellPadding=0 cellSpacing=0 width="190" style="font-size: 9pt"><TBODY><TR><TD width="190" height="26" background="image/j10.gif"> <span style="letter-spacing: 1"><font color="#FFFFFF"><span style="font-size: 10.5pt"><b>市场动态</b></span></font></span></TD></TR><TR><TD background=image/CreditDynamic_index_bj11.gif width="190"><DIV align=center><TABLE border=0 cellPadding=0 cellSpacing=0 width="95%" height="50" style="font-size: 9pt"><TBODY><TR><TD height=12></TD></TR><%do while not nrs.eof%> <TR><TD height=20>·<span style=\"font-size:9pt;line-height: 15pt\"><a href="javascript:view1('../show_news.asp?newsid=<%=nrs("newsid")%>')"><%if len(nrs("newstitle"))>14 then%><%=left(nrs("newstitle"),13)%></a></span><a href="javascript:view('show_news.asp?newsid=<%=nrs("newsid")%>')"><span style="\"font-size:9pt;line-height:; letter-spacing:-3">..</span><span style=\"font-size:9pt;line-height: 15pt\"><% else%><%=nrs("newstitle")%><%end if%></span></a></TD></TR><% a=a+1 if a>=Max1 then exit do nrs.movenext loop nrs.close set nrs=nothing %><TR><TD height=18><DIV align=right><B><a href="../newsmore.asp?bz=8"><FONT color=#ff6600>>>>更多</FONT></a></B><FONT color=#ff6600><B> </B></FONT></DIV></TD></TR></TBODY></TABLE></DIV></TD></TR><TR><TD bgColor=#527dce height=1 width="190"></TD></TR></TBODY></TABLE><TABLE border=0 cellPadding=0 cellSpacing=0 width="190" style="border-collapse: collapse; font-size:9pt" bordercolor="#111111"><TBODY><TR><TD width="189"> </TD></TR><TR><TD width="189" height="26" background="image/j11.gif"> <span style="letter-spacing: 1"><font color="#FFFFFF"><span style="font-size: 10.5pt"><b>最新人才</b></span></font></span></TD></TR><TR><TD background=image/CreditDynamic_index_bj11.gif width="189"><DIV align=center><TABLE border=0 cellSpacing=1 width="181" style="border-collapse: collapse; font-size:9pt" bordercolor="#111111" height="37"><TBODY><%do while not rsgs.eof%><TR><TD class=LL width="68" height="17">·<a href="javascript:person("personjl.asp?id=<%=rsgs("id")%>")"><%if session("id")<>"" then response.write""&rsgs("iname") else response.write"RC"&rsgs("id") end if%></a></TD><TD class=LL width="30" height="17"><%=rsgs("sex")%></TD><TD class=LL width="83" height="17"><span style=\"font-size:9pt;line-height: 15pt\"><a href="javascript:view('../show_news.asp?newsid=<%=nrs("newsid")%>')"><%if len(rsgs("zye"))>5 then%><%=left(rsgs("zye"),4)%></a></span><a href="javascript:view('show_news.asp?newsid=<%=nrs("newsid")%>')"><span style="\"font-size:9pt;line-height:; letter-spacing:-3">..</span><span style=\"font-size:9pt;line-height: 15pt\"><% else%><%=rsgs("zye")%><%end if%></span></a></TD></TR><%b=b+1 if b>=Max1 then exit dorsgs.movenext loop rsgs.close set rsgs=nothingconn.closeset conn=nothing %> <TR><TD height=14 width="181" colspan="3"><DIV align=right><B><a href="psearch.asp"><FONT color=#ff6600>>>>更多</FONT></a></B><FONT color=#ff6600><B> </B></FONT></DIV></TD></TR></TBODY></TABLE></DIV></TD></TR><TR><TD bgColor=#527dce height=1 width="189"></TD></TR></TBODY></TABLE></TD></tr></table></center></div><TBODY></TBODY></TABLE></center></div><div align="center"><center><table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="750" id="AutoNumber3"><tr><td width="100%" background="../images/bt1.gif"> </td></tr></table></center></div><!--#include file="../inc/end.asp"-->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -