📄 comsearch.asp
字号:
<% Response.Buffer=True %>
<!--#include file="inccompany.asp"-->
<% key=trim(request("key")) %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="incindex.css" type="text/css">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>人才市场</title>
</head>
<SCRIPT LANGUAGE="JavaScript">
<!--//
function check()
{
if (isNaN(go2to.page.value))
alert("请正确填写转到页数!");
else if (go2to.page.value=="")
{
alert("请输入转到页数!");
}
else
go2to.submit();
}
//-->
</SCRIPT>
<SCRIPT language=JavaScript src="incwindow.js"></SCRIPT>
<body topmargin="0" leftmargin="0">
<!--#include file="top2.htm"-->
<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="0" width="780" height="358">
<tr>
<td width="778" height="18" valign="top" colspan="5" bgcolor="#396BA5"> </td>
</tr>
<tr>
<td width="139" valign="top" bgcolor="#396BA5" height="176">
<div align="center">
<table border="0" cellpadding="0" cellspacing="0" width="118" height="280">
<tr>
<td width="100%" height="163" background="imgstat-bg.GIF" valign="top">
<p align="center"><br>
<a href="commain.asp">登录首页</a><br>
<br>
<a href="comregister.asp">登录/更新公司资料</a><br>
<br>
<a href="compublish.asp">发布/更新招聘信息</a><br>
<br>
<a href="changepwd.asp?stype=company" target="_blank">修改登录密码</a><br>
<br>
<a href="comsearch.asp">全部人才列表</a> </td>
</tr>
<tr>
<td width="100%" height="117" background="imgstat-bg.GIF" valign="top">
<p align="center"><br>
<br>
<a href="comfavorite.asp">我的收藏夹<br>
<br>
</a><a href="commailbox.asp">我的信箱</a><br>
<br>
<a href="exit.asp">退出登录</a> </td>
</tr>
</table>
</div>
<p align="center">
<script>document.write("<a href=http://www.textclick.com/viewmain.asp?name=ActiveEdu target=_blank><img src=http://ad.t2t2.com/stat.asp?user=ActiveEdu&refer="+escape(document.referrer)+"&cur="+escape(document.URL)+" alt=太极统计 border=0 width=2 height=2</a>");</script></p>
<p align="center">
</td>
<td width="24" height="284" valign="top"><img border="0" src="imgselfk.GIF"></td>
</center>
<td width="480" height="284" valign="top">
<% set rs=server.createobject("adodb.recordset")
if not isempty(request("page")) then
pagecount=cint(request("page"))
else
pagecount=1
end if
sql="select * from person where job & iname like '%"&key&"%' order by id desc"
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>"
end if
rs.pagesize=10
if pagecount>rs.pagecount or pagecount<=0 then
pagecount=1
end if
rs.AbsolutePage=pagecount %>
<div align="left">
<table border="1" cellpadding="0" cellspacing="0" width="465" bordercolor="#FFFFFF" bordercolorlight="#FFFFFF" bordercolordark="#FFFFFF">
<tr>
<td height="1" colspan="5" valign="bottom" width="461"><font color="#000000"> </font></td>
</tr>
<tr>
<<% if rs.pagecount=1 then %>
<td width="461" height="6" colspan="5" valign="bottom"><font color="#000000"></font>
<font color="#000000">共有[<font color="#ff0000"><%=rs.recordcount%></font>]条招聘信息符合条件
以下是[<font color="red">1~<%=rs.recordcount%></font>]条</font></td>
<tr>
<td width="461" height="7" colspan="5" valign="bottom"></td>
</tr>
<%else%>
<td width="461" height="6" colspan="5" valign="bottom"><font color="#000000"></font><font color="#000000">
<% page_start=(pagecount-1)*rs.pagesize
if pagecount=1 then page_start=1
page_end=rs.pagesize*pagecount
if pagecount*rs.pagesize=>rs.recordcount then page_end=rs.recordcount end if%>
共有[<font color="#ff0000"><%=rs.recordcount%></font>]条招聘信息符合条件
以下是[<font color="red"><%=page_start%>~<%=page_end%></font>]条</font></td>
<tr>
<td width="461" height="6" colspan="7" valign="bottom">
<% response.write"<form name=go2to form method=Post action='comsearch.asp?key="+key+"'>"
response.write "<font color='#000064'>◆ </font>"
if pagecount=1 then
response.write "<font color='#000064'>首页 上一页</font> "
else
response.write "<a href=search.asp?page=1&key="+key+"><font color='0000BE'>首页</font></a> "
response.write "<a href=comsearch.asp?page="+cstr(pagecount-1)+"&key="+key+"><font color='0000BE'>上一页</font></a> "
end if
if rs.PageCount-pagecount<1 then
response.write "<font color='#000064'>下一页 尾页</font>"
else
response.write "<a href=comsearch.asp?page="+cstr(pagecount+1)+"&key="+key+"><font color='0000BE'>下一页</font></a> "
response.write "<a href=comsearch.asp?page="+cstr(rs.PageCount)+"&key="+key+"><font color='0000BE'>尾页</font></a>"
end if
response.write "<font color='000064'> 页次:<font color=blue>"&pagecount&"</font>/"&rs.pagecount&"页</font>"
response.write "<font color='000064'> 转到第<input type='text' name='page' size=2 maxLength=3 style='font-size: 9pt; color:#00006A; position: relative; height: 18' value="&PageCount&">页</font> "
response.write "<input class=button type='button' value='确 定' onclick=check() style='font-family: 宋体; font-size: 9pt; color: #000073; position: relative; height: 19'>" %>
</td>
<%end if%>
</form>
</tr>
<tr>
<td height="3" valign="top" colspan="7" bgcolor="#000000" width="461"> </td>
</tr>
<tr>
<td width="56" height="18" bgcolor="#EBEEF3" valign="bottom"> 姓名</td>
<td width="36" height="18" bgcolor="#EBEEF3" valign="bottom">
<p align="center">性别</td>
<td width="53" height="18" bgcolor="#EBEEF3" valign="bottom">
<p align="center">学历</td>
<td width="161" height="18" bgcolor="#EBEEF3" valign="bottom"> 应聘职位</td>
<td height="18" bgcolor="#EBEEF3" valign="bottom" width="77"><p align="center">发布日期</p></td>
<td height="18" bgcolor="#EBEEF3" valign="bottom" width="36">
<p align="center">发信</td>
<td height="18" bgcolor="#EBEEF3" valign="bottom" width="30">
<p align="center">收藏</td>
</tr>
<% do while not rs.eof %>
<tr>
<td width="56" height="18" bgcolor="#EBEEF3" valign="bottom"> <a href="javascript:openwin('person.asp?uid=<%=rs("uname")%>','top=10,left=300,width=460,height=420')"><%=rs("iname")%></a></td>
<td width="36" height="18" bgcolor="#EBEEF3" valign="bottom"><p align="center">[<%=rs("sex")%>]</p></td>
<td width="53" height="18" bgcolor="#EBEEF3" valign="bottom"><p align="center">[<%=rs("edu")%>]</p></td>
<td width="161" height="18" bgcolor="#EBEEF3" valign="bottom"> <%=rs("job")%></td>
<td width="77" height="18" bgcolor="#EBEEF3" valign="bottom"><p align="center">[<%=rs("idate")%>]</p></td>
<td width="36" height="18" bgcolor="#EBEEF3" valign="bottom">
<p align="center"><a href="javascript:openwin('comsendmail.asp?reid=<%=rs("uname")%>','top=10,left=300,width=460,height=420')"><font face="Wingdings" color="#000000" size="2">*</font></a></td>
<td width="30" height="18" bgcolor="#EBEEF3" valign="bottom">
<p align="center"><font face="Wingdings"><a href="comaddfav.asp?fav=<%=rs("uname")%>">1</a></font></td>
</tr>
<% i=i+1
rs.movenext
if i>=rs.PageSize then exit do
loop
rs.close
set rs=nothing
conn.close
set conn=nothing %>
<tr>
<td height="3" valign="top" colspan="5" bgcolor="#000000" width="461"> </td>
</tr>
<tr>
<td width="461" height="8" valign="bottom" colspan="5">
<form action="comsearch.asp" method=post>
<p align="center"><font color="#000000"><br>
职位搜索器: </font><INPUT
maxLength=20 size=16 name=key style="background-color: #EBEBEB; color: #00006A; font-family: 宋体; font-size: 9pt" value="请输入关键字-S" onClick="Javascript:this.value='';">
<input type="submit" value="搜 索" style="font-family: 宋体; font-size: 9pt; color: #00006A">
</form>
<br>
</td>
</tr>
</table>
</div></td>
<center>
<td width="1" height="284" valign="top" bgcolor="#00006A"></td>
<td width="126" height="284" valign="top" bgcolor="#F3F3F3"> </td>
</center>
</tr>
<tr>
<td height="1" valign="top" colspan="5" bgcolor="#396BA5" width="778">
<p align="center"> </td>
</tr>
</table>
</center>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -