📄 applyresume.asp
字号:
<!--#include file=../conn.asp-->
<!--#include file=cookies.asp-->
<html>
<head>
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<%
dim key,rs,sql,Pagesize,Allrecord,Allpage,ThisPage,id,rs1,sql1,username,rs2,sql2
if request("page")="" then
ThisPage=1
else
ThisPage=request("page")
end if
set rs=server.createobject("adodb.recordset")
%>
<title>收到的应聘简历</title>
<SCRIPT language=JavaScript>
function showoperatealert(id)
{
if (id==2)
{
{
thisForm.target='_self';
thisForm.action="ijob.asp?oo=2";
thisForm.submit();
}
}
if (id==3)
{
{
thisForm.target='_self';
thisForm.action="listalljob.asp";
thisForm.submit();
}
}
if (id==4)
{
{
thisForm.target='_self';
thisForm.action="ijob.asp?oo=7";
thisForm.submit();
}
}
}
function CheckAll(form)
{
for (var i=0;i<form.elements.length;i++)
{
var e = form.elements[i];
if (e.name != 'chkall' )
e.checked = form.chkall.checked;
}
}
//-->
</SCRIPT>
<link rel="stylesheet" type="text/css" href="../1.css">
</head>
<body topmargin="0" leftmargin="0">
<div align="center">
<!--#include file="top.asp"-->
</div>
<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="778" height="146">
<tr>
<td width="171" height="146" valign="top">
<p align="left"> <!--#include file="left.asp"-->
</td>
<td width="82" height="146"> </td>
<td width="496" height="146" valign="top">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" height="129">
<tr>
<td width="100%" height="16"><div align="center">
<center>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="font_9_c_black" style="border-collapse: collapse" bordercolor="#111111">
<tr>
<!-----------------------------数据库查询开始----------------------------------------------------------->
<%
dim jobsid,jobid
username=request.cookies("ijob")("comid")
sql="select * from [Applyresume] where comid='"&username&"'"
rs.open sql,conn,1,1
if rs.eof and rs.bof then
response.write "<p align=center>对不起!没有找到任何职位</p>"
else
jobsid=rs("jobsid")
jobid=rs("jobid")
'########################################################################################
rs.Pagesize=20
Pagesize=rs.Pagesize
Allrecord=rs.Recordcount
Allpage=rs.Pagecount
if ThisPage<1 then
ThisPage=1
end if
rs.move (ThisPage-1)*Pagesize
dim k
k=0
%>
<td width="100%">
<p align="right">全部记录:<b><font size="2" color="#FF6600"><%=AllRecord%></font></b></td>
</tr>
</table>
</center>
</div>
<div align="center">
<FORM name=thisForm action="" method=POST>
<center>
<table width="592" border="0" cellspacing="0" cellpadding="0" class="font_9_c_black" style="border-collapse: collapse" bordercolor="#111111" height="46">
<tr>
<td bgcolor="#66CCFF" height="20" align="center" style="border-bottom-style: solid; border-bottom-width: 1; border-left-style:solid; border-left-width:1; border-right-style:none; border-right-width:medium">
<p style="LETTER-SPACING: 2px; LINE-HEIGHT: 17px">
<font style="FONT-SIZE: 9pt; ">编号</font></td>
<td bgcolor="#66CCFF" height="20" align="center" style="border-bottom-style: solid; border-bottom-width: 1; border-left-style:none; border-left-width:medium" width="98">
姓名</td>
<td bgcolor="#66CCFF" height="20" align="left" style="border-bottom-style: solid; border-bottom-width: 1" width="139">
<p style="LINE-HEIGHT: 17px">应聘职位</td>
<td bgcolor="#66CCFF" height="20" align="left" style="border-bottom-style: solid; border-bottom-width: 1" width="56">
<p align="center">年龄</td>
<td bgcolor="#66CCFF" height="20" align="left" style="border-bottom-style: solid; border-bottom-width: 1" width="57">
<p align="center">性别</td>
<td bgcolor="#66CCFF" height="20" align="left" style="border-bottom-style: solid; border-bottom-width: 1" width="57">
<p align="center">学历</td>
<td bgcolor="#66CCFF" height="20" align="left" style="border-bottom-style: solid; border-bottom-width: 1" width="117">
<p align="center">
应聘<font style="FONT-SIZE: 12px"><span style="font-family: 宋体; ">时间</span></font></td>
<td width="34" bgcolor="#66CCFF" height="20" align="center" style="border-bottom-style: solid; border-bottom-width: 1; border-right-style:solid; border-right-width:1">
选择</td>
</tr>
<%do while not rs.eof
set rs1=server.createobject("adodb.recordset")
sql1="select id,jobs from [jobs] where id="&cstr(jobsid)
rs1.open sql1,conn,1,1
set rs2=server.createobject("adodb.recordset")
sql2="select jobid,Name,age,xingbie,xueli from [person] where jobid='"&jobid&"'"
rs2.open sql2,conn,1,1
%>
<tr>
<td bgcolor="#F9F9F9" height="25" align="center" style="border-bottom-style: solid; border-bottom-width: 1; border-left-style:solid; border-left-width:1; border-top-style:solid; border-top-width:1; border-right-style:none; border-right-width:medium" bordercolor="#E0E0E0"><font color="#384249"><b><%=k+1%></b></font></td>
<td bgcolor="#F9F9F9" height="25" align="center" style="border-bottom-style: solid; border-bottom-width: 1; border-left-style:none; border-left-width:medium; border-top-style:solid; border-top-width:1" bordercolor="#E0E0E0" width="98"><a target="_blank" href="../person/listjobs.asp?jobid=<%=jobid%>"><%=rs2("name")%></a></td>
<td bgcolor="#F9F9F9" height="25" align="left" style="border-bottom-style: solid; border-bottom-width: 1; border-top-style:solid; border-top-width:1" bordercolor="#E0E0E0" width="139"><a target="_blank" href="../person/listalljob.asp?selectedid=<%=rs1("id")%>"><%=rs1("jobs")%></a></td>
<td bgcolor="#F9F9F9" height="25" align="center" style="border-bottom-style: solid; border-bottom-width: 1; border-top-style:solid; border-top-width:1" bordercolor="#E0E0E0" width="56"><%=rs2("age")%></td>
<td bgcolor="#F9F9F9" height="25" align="center" style="border-bottom-style: solid; border-bottom-width: 1; border-top-style:solid; border-top-width:1" bordercolor="#E0E0E0" width="57">
<%if rs2("xingbie")=true then%>男<%else%>女<%end if%>
</td>
<td bgcolor="#F9F9F9" height="25" align="center" style="border-bottom-style: solid; border-bottom-width: 1; border-top-style:solid; border-top-width:1" bordercolor="#E0E0E0" width="57">
<%dim xueli
xueli=rs2("xueli")%>
<%
if xueli=0 then
response.write "高中"
elseif xueli=1 then
response.write "中专"
elseif xueli=2 then
response.write "大专"
elseif xueli=3 then
response.write "本科"
elseif xueli=4 then
response.write "硕士"
elseif xueli=5 then
response.write "博士"
end if
%>
</td>
<td bgcolor="#F9F9F9" height="25" align="center" style="border-bottom-style: solid; border-bottom-width: 1; border-top-style:solid; border-top-width:1" bordercolor="#E0E0E0" width="117">
<%=rs("data")%></td>
<td width="34" bgcolor="#F9F9F9" height="25" align="center" style="border-bottom-style: solid; border-bottom-width: 1; border-right-style:solid; border-right-width:1; border-top-style:solid; border-top-width:1" bordercolor="#E0E0E0">
<INPUT type=checkbox value="<%=rs("jobid")%>" name=selectedid></td>
</tr>
<%
rs2.close
set rs2=nothing
rs1.close
set rs1=nothing
k=k+1
if k>=Pagesize then exit do
rs.movenext
loop %>
<tr>
<td width="557" bgcolor="#FFFFFF" height="29" align="center" style="border-top-style: none; border-top-width: medium; border-bottom-style:none; border-bottom-width:medium" colspan="7" valign="bottom">
<p align="right">
<INPUT onclick=CheckAll(this.form) type=checkbox value=on name=chkall>选中所有招聘信息</td>
</tr>
<tr>
<td width="557" bgcolor="#FFFFFF" height="26" align="center" style="border-top-style: none; border-top-width: medium; border-bottom-style:none; border-bottom-width:medium" colspan="7">
<img style="CURSOR: hand" border="0" onclick=javascript:showoperatealert(2) src="../IMG/SendDept_But.gif"><img style="CURSOR: hand" onclick=javascript:showoperatealert(4) border="0" src="../IMG/Delete_But.gif"></td>
</tr>
</table>
</center></form>
</div>
<div align="center">
<center>
<table width="90%" border="0" cellspacing="0" cellpadding="0" class="font_9_c_black" style="border-collapse: collapse" bordercolor="#111111">
<tr>
<td width="10">
</td>
<td width="200">共
<b><font color="#FF0000"><%=Allpage%></font></b>
页</td>
<td>
<table border="0" cellspacing="0" cellpadding="0" align="right" style="border-collapse: collapse" bordercolor="#111111">
<tr>
<%
if ThisPage<2 then
response.write "<td width='10'><img name='link_r2_c1' src='../img/_1prev_.gif' width='22' height='18' border='0'></td><td width='10'><img name='link_r2_c1' src='../img/_prev_.gif' width='22' height='18' border='0'></td>"
else
response.write "<td width='10'><a href=?page=1><img name='_1prev' src='../img/_1prev.gif' width='22' height='18' border='0'></a></td>"
response.write "<td width='10'><a href=?page="&ThisPage-1&"><img name='_prev' src='../img/_prev.gif' width='22' height='18' border='0'></a></td>"
end if
%>
<td width="4">
<p align="right"> </td>
<td>
<div align="center">
<span style="font-size: 9pt">第<b><font color="#FF0000"> <%=ThisPage%> </font></b>页</span></div>
</td>
<td width="4"> </td>
<%
if Allpage-ThisPage<1 then
response.write "<td width='10'><img name='_next_' src='../img/_next_.gif' width='22' height='18' border='0'></td><td width='10'><img name='_next1_' src='../img/_next1_.gif' width='22' height='18' border='0'></td>"
else
response.write "<td width='10'><a href=?page="&(ThisPage+1)&"><img name='_prev' src='../img/_next.gif' width='22' height='18' border='0'></a></td>"
response.write "<td width='10'><a href=?page="&Allpage&"><img name='_next1' src='../img/_next1.gif' width='22' height='18' border='0'></a></td>"
end if
conn.close
set conn=nothing
end if
%>
</tr>
</table>
</td>
</tr>
</table></center>
</div>
</td>
</tr>
</table>
</td>
<td width="29" height="146"> </td>
</tr>
</table>
</center>
</div>
<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="778">
<tr>
<td width="100%">
<p align="center"><!--#include file="copyright.asp"--></td>
</tr>
</table>
</center>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -