📄 psearch.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 language="javascript">function job(mylink){window.open(mylink,'','top=50,left=120,width=457,height=450,scrollbars=yes')}</script><script language="javascript">function show_sader(mylink){window.open(mylink,'','top=10,left=65,width=650,height=480,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><%const MaxPerPage=18const 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="psearch.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="rclx"> <OPTION VALUE="普通求职">普通求职</OPTION><OPTION VALUE="应届毕业生">应届毕业生</OPTION><OPTION VALUE="留学生">留学生</OPTION><OPTION VALUE="引进人才">引进人才</OPTION><option value="贡献人才">贡献人才</option></Select><left><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 Set jrs= Server.CreateObject("ADODB.Recordset") jsql="select info_id,gsid,web,zrs,showname,company,dateandtime from job where showname<>'""'and Tjbz=1 order by info_id desc" jrs.open jsql,conn,1,1 sql="select * from person where zye like '%"&request("txtitle")&"%' or school like '%"&request("txtitle")&"%' or city like '%"&request("txtitle")&"%' or iname like '%"&request("txtitle")&"%' and rclx like '%"&request("rclx")&"%' order by 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,"psearch.asp"else if (currentPage-1)*MaxPerPage<totalPut then rs.move (currentPage-1)*MaxPerPage dim bookmark bookmark=rs.bookmark showContentcontentshowpage totalput,MaxPerPage,"psearch.asp"else currentPage=1 showContentcontentshowpage totalput,MaxPerPage,"psearch.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/rc.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=80 bgColor=#82AAD2 height=12 style="color: #000; font-family: 宋体; font-size: 12px" align="center"><font color="#FFFFFF"><b><SPAN lang=zh-cn><%if session("id")<>"" then response.write"姓 名" else response.write"编 号" end if%></SPAN></b></font></TD><TD width=27 bgColor=#82AAD2 height=12 style="color: #000; font-family: 宋体; font-size: 12px" align="center"><b><font color="#FFFFFF">性别</font></b></TD><TD width=30 bgColor=#82AAD2 height=12 style="color: #000; font-family: 宋体; font-size: 12px" align="center"><b><font color="#FFFFFF">学历</font></b></TD><TD width=136 bgColor=#82AAD2 height=12 style="color: #000; font-family: 宋体; font-size: 12px" align="center"><font color="#FFFFFF"><b>应聘岗位</b></font></TD><TD width=130 bgColor=#82AAD2 height=12 style="color: #000; font-family: 宋体; font-size: 12px" align="center"><b><font color="#FFFFFF">所学专业</font></b></TD><TD width=60 bgColor=#82AAD2 height=12 style="color: #000; font-family: 宋体; font-size: 12px" align="center"><b><font color="#FFFFFF">所在城市</font></b></TD><TD width=54 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=78 height=5 style="color: #000; font-family: 宋体; font-size: 12px" bgcolor="#F2F7FB"><font color="#FF8019">·</font><a href="javascript:show_sader("personjl.asp?id=<%=rs("id")%>")"><%if session("id")<>"" then response.write""&rs("iname") else response.write"RC"&rs("id") end if%></a></TD><TD align=middle width=30 height=5 style="color: #000; font-family: 宋体; font-size: 12px" bgcolor="#F2F7FB"><%=rs("sex")%></TD><TD align=middle width=36 height=5 style="color: #000; font-family: 宋体; font-size: 12px" bgcolor="#F2F7FB"><%=rs("edu")%></TD><TD align=middle width=131 height=5 style="color: #000; font-family: 宋体; font-size: 12px" bgcolor="#F2F7FB"><%=rs("job1")%></TD><TD align=middle width=96 height=5 style="color: #000; font-family: 宋体; font-size: 12px" bgcolor="#F2F7FB"><%=rs("zye")%></TD><TD width=36 height=5 style="color: #000; font-family: 宋体; font-size: 12px" bgcolor="#F2F7FB"><p align="center"><%=rs("city")%></TD><TD width=59 height=5 style="color: #000; font-family: 宋体; font-size: 12px" bgcolor="#F2F7FB"><p align="center"><%=rs("dateandtime")%></TD></TR><% j=j+1if j>=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; border-collapse:collapse" bordercolor="#111111"><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"> <b><font class=f11 style="font-size: 10.5pt" color="#FFFFFF">招聘推荐</font></b></TD></TR><TR><TD background=image/CreditDynamic_index_bj11.gif width="189"><table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber5" height="1"><tr><td width="100%" height="2"></td></tr></table><DIV align=center><TABLE border=0 cellSpacing=1 width="185" style="border-collapse: collapse; font-size:9pt" bordercolor="#111111" height="38"><TBODY><%dim numberdo while not jrs.eof %> <tr> <td valign="top" height="20" width="127"><font color="#FF8019">·</font><a href="javascript:job("job_info.asp?info_id=<%=jrs("info_id")%>")"><% if len(jrs("showname"))>9 then%><%=left(jrs("showname"),8)%>..<% else%><%=jrs("showname")%><%end if%></a></td><td valign="top" height="20" width="36"><font color="#808080">[<%=month(jrs("dateandtime"))%>/<%=day(jrs("dateandtime"))%>]</font></td></tr><%number=number+1 if number>=Max1 then exit do jrs.movenext loop jrs.close set jrs=nothingconn.closeset conn=nothing %> <TR><TD height=12 width="177" colspan="2"><DIV align=right><B><a href="jobsearch.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 + -