📄 applicationlist.asp
字号:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>应聘管理</title>
<link href="../style.css" rel="stylesheet">
<script language="javascript">
function newView(url) {
var oth="toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,left=200,top=200";
oth = oth+",width=600,height=500";
var newView=window.open(url,"newView",oth);
newView.focus();
return false;
}
</script>
</head>
<body link="#000080" vlink="#080080">
<form id="form1" name="form1" method="POST">
<%
Dim rs
Set rs = Server.CreateObject("ADODB.RecordSet")
sql = "Select a.*,j.Title,c.CName,c.Company From Application a,Job j,Company c Where a.UserName='"&Session("user_id")&"'"
sql = sql & " And a.JobId=j.JobId And j.UserName=c.CName Order By a.PostDate,a.AppId Desc"
%>
<p align="center"><font color="#000080"><b><font style="font-size: 12pt">职 位
</font></b></font><font color="#000080" style="font-size: 12pt"><b>申 请</b></font></p>
<table align=center border="1" cellspacing="0" width="100%" bordercolorlight="#000080" bordercolordark="#FFFFFF">
<tr>
<td width="34%" align="center" bgcolor="#C1E0FF"><strong>公司名称</strong></td>
<td width="22%" align="center" bgcolor="#C1E0FF"><strong>申请职位</strong></td>
<td width="16%" align="center" bgcolor="#C1E0FF"><strong>申请时间</strong></td>
<td width="16%" align="center" bgcolor="#C1E0FF"><strong>反馈</strong></td>
<td width="12%" align="center" bgcolor="#C1E0FF"><strong>操作</strong></td>
</tr>
<%
rs.Open sql,conn,1,1
If rs.EOF Then
Response.Write "<tr><td colspan=5 align=center>目前还没有应聘信息。</td></tr></table>"
Else
rs.PageSize=15
rs.AbsolutePage =1
If Request("page")<>"" Then rs.AbsolutePage =Request("page")
RowCount =rs.PageSize
Do While Not rs.EOF And RowCount>0
%>
<tr>
<td><a href="/job/CompView.asp?uid=<%=rs("CName")%>" onClick="return newView(this.href)"><%=rs("Company")%></a></td>
<td><a href="/job/JobView.asp?jid=<%=rs("JobId")%>" onClick="return newView(this.href)"><%=rs("Title")%></a></td>
<td align="center"><%=rs("PostDate")%> </td>
<td align="center"><%If Len(rs("Response"))>0 Then%>
<a href="ResponseView.asp?aid=<%=rs("AppId")%>" onClick="return newView(this.href)">反馈信息</a>
<%Else%>无<%End If%></td>
<td align="center"><a href="ResponseDelt.asp?aid=<%=rs("AppId")%>" onClick="return newView(this.href)">删除</a></td>
</tr>
<%
rs.MoveNext()
RowCount = RowCount-1
Loop
%>
</table>
<%
If rs.PageCount>1 Then
Response.Write "<table border='0'>"
Response.Write "<tr>"
Response.Write "<td><b>分页:</b></td>"
For i=1 To rs.PageCount
Response.Write "<td><a href='ApplicationList.asp?page=" & i & "'>"
Response.Write "[<b>" & i & "</b>]</a>"
Response.Write "</td>"
Next
Response.Write "</tr></table>"
End If
End If
%>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -