📄 applyhistory.asp
字号:
<!--#include file="../conn.asp"-->
<!--#include file="cookies.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>应聘历史记录</title>
<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="170" height="146" valign="top">
<!--#include file="left.asp"--></td>
<td width="83" 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="143">
<tr>
<td width="100%" height="30">
<%
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>Ijob程序演示</title>
<SCRIPT language=JavaScript>
function showoperatealert(id)
{
if (id==1)
{
{
thisForm.target='_self';
thisForm.action="ijob.asp?oo=4";
thisForm.submit();
}
}
if (id==2)
{
{
thisForm.target='_self';
thisForm.action="../company/listalljob.asp";
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="../index.files/jobcn.css">
<link rel="stylesheet" type="text/css" href="../company/IMG/jobcn.css">
<body topmargin="0" leftmargin="0">
<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="76%">
</td>
<!-----------------------------数据库查询开始----------------------------------------------------------->
<% username=request.cookies("ijob")("jobid")
sql="select * from [ApplyHistory] where jobid='"&UserName&"'"
rs.open sql,conn,1,1
if rs.eof and rs.bof then
response.write "<table border=0 width=100% height=100 cellpadding=0><tr><td width='100%'><p align=center>对不起!没有找到任何资料</td></tr></table>"
'response.end
else
'########################################################################################
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="24%">
<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">
<p style="LETTER-SPACING: 2px; LINE-HEIGHT: 17px">
<font style="FONT-SIZE: 9pt; ">编号</font></td>
<td bgcolor="#66CCFF" height="20" align="left" style="border-bottom-style: solid; border-bottom-width: 1">
<p style="LINE-HEIGHT: 17px">应聘职位</td>
<td bgcolor="#66CCFF" height="20" align="left" style="border-bottom-style: solid; border-bottom-width: 1">
公司名称</td>
<td bgcolor="#66CCFF" height="20" align="left" style="border-bottom-style: solid; border-bottom-width: 1">
<p align="center">
应聘<font style="FONT-SIZE: 12px"><span style="font-family: 宋体; ">时间</span></font></td>
<td width="36" 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,comid,jobs,zt from [jobs] where id="&cstr(rs("jobsid"))
rs1.open sql1,conn,1,1
set rs2=server.createobject("adodb.recordset")
sql2="select comid,companyName from [company] where comid='"&rs1("comid")&"'"
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" bordercolor="#E0E0E0"><font color="#384249"><b><%=k+1%></b></font></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"><%if rs1("zt")=1 then%><font color="#ff0000"><%=rs1("jobs")%></font><%else%><a target="_blank" href="../company/listalljob.asp?selectedid=<%=rs("jobsid")%>"><%=rs1("jobs")%></a><%end if%></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">
<a target="_blank" href="../company/listcompany.asp?comid=<%=rs("comid")%>"><%=rs2("companyName")%></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">
<%=rs("data")%></td>
<td width="36" 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">
<%if rs1("zt")=1 then%><li style="color: #FF0000; text-transform: uppercase; font-weight: bold" type="square"><%else%><INPUT type=checkbox value="<%=rs1("id")%>" name=selectedid><%end if%></td>
</tr>
<%
rs1.close
set rs1=nothing
k=k+1
if k>=Pagesize then exit do
rs.movenext
loop %>
<tr>
<td width="619" bgcolor="#FFFFFF" height="29" align="center" style="border-top-style: none; border-top-width: medium; border-bottom-style:none; border-bottom-width:medium" colspan="4" valign="bottom">
<p align="right">
<INPUT onclick=CheckAll(this.form) type=checkbox value=on name=chkall>选中所有招聘信息</td>
</tr>
<tr>
<td width="619" bgcolor="#FFFFFF" height="26" align="center" style="border-top-style: none; border-top-width: medium; border-bottom-style:none; border-bottom-width:medium" colspan="4">
<img style="CURSOR: hand" onclick=javascript:showoperatealert(2) border="0" src="../img/list.gif"><img style="CURSOR: hand" onclick=javascript:showoperatealert(1) border="0" src="img/delete.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=ApplyHistory.asp?page=1><img name='_1prev' src='../img/_1prev.gif' width='22' height='18' border='0'></a></td>"
response.write "<td width='10'><a href=ApplyHistory.asp?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=ApplyHistory.asp?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=ApplyHistory.asp?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>
<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="90%">
<tr>
<td width="100%" height="20">
<p align="center"> </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="778" align="center">
<p align="center"><!--#include file="copyright.asp"--></td>
</tr>
</table>
</center>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -