📄 resource.asp
字号:
<!--#include file="siteinfo.asp"-->
<HTML>
<HEAD>
<TITLE><%=sitename%></TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
<link href="images/CSS.css" type=text/css rel=stylesheet>
</HEAD>
<BODY >
<!--#include file="top.asp" -->
<table width="778" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="179" valign="top" background="images/BGline01.gif"><!--#include file="Resourceleft.asp" --></td>
<td width="598" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr background="images/BGline04.gif">
<td width="20" height="24" background="images/BGline04.gif"> </td>
<td background="images/BGline04.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><span class="ABOUT_01"><img src="images/GO_03.gif" width="11" height="11" align="absmiddle"> 当前位置:<a href="index.asp">首页</a> > <a href="resource.asp">人力资源</a> > 招聘信息 </span><span class="ABOUT_01"></span></td>
</tr>
</table></td>
<td width="20" background="images/BGline04.gif"> </td>
</tr>
<tr>
<td width="20"> </td>
<td> </td>
<td width="20"> </td>
</tr>
<tr>
<td width="20" height="20"> </td>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="198"><%
dim i,intPage,page,pre,last,filepath
set rsp = server.createobject("adodb.recordset")
productsSQL="select * from Resume where Rput=true ORDER BY id DESC"
'rsp.open productsSQL,conn,1,1
rsp.PageSize =3 '这里设定每页显示的记录数
rsp.CursorLocation = 3
rsp.Open productsSQL,conn,0,2,1 '这里执行你查询SQL并获得结果记录集
pre = true
last = true
page = trim(Request.QueryString("page"))
if len(page) = 0 then
intpage = 1
pre = false
else
if cint(page) =< 1 then
intpage = 1
pre = false
else
if cint(page)>=rsp.PageCount then
intpage = rsp.PageCount
last = false
else
intpage = cint(page)
end if
end if
end if
if not rsp.eof then
rsp.AbsolutePage = intpage
end if
%>
<%
if rsp.bof then Response.write"<div align='center' font style='font-size:10pt;font-family: 宋体;color=green'><br><b>还没有任何招聘信息!</b><br></div><br><br>"
%>
<%
for i=1 to rsp.PageSize
if rsp.EOF or rsp.BOF then exit for
%>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#FFFFFF" class=mm>
<tr bgcolor="#DFDFDF">
<td width="20%" height="22" align="right">职位名称: </td>
<td width="62%" height="22"> <%=rsp("Rname")%> </td>
<td width="18%" height="22" align="center"><a href="Appointment.asp?jobname=<%=rsp("Rname")%>"><font color=#000066>应聘该职位</font></a></td>
</tr>
<tr bgcolor="#DFDFDF">
<td width="20%" height="22" align="right"> 工作地点: </td>
<td height="22" colspan="2"> <%=rsp("Rredress")%> </td>
</tr>
<tr bgcolor="#DFDFDF">
<td width="20%" height="22" align="right"> 需求人数: </td>
<td height="22" colspan="2"> <%=rsp("Rman")%> 人 </td>
</tr>
<tr bgcolor="#DFDFDF">
<td width="20%" height="22" align="right"> 工资待遇: </td>
<td height="22" colspan="2"> <%=rsp("RWages")%> </td>
</tr>
<tr bgcolor="#DFDFDF">
<td width="20%" height="22" align="right"> 发布日期: </td>
<td height="22" colspan="2"> <%=rsp("Rdate")%> </td>
</tr>
<tr bgcolor="#DFDFDF">
<td width="20%" height="22" align="right"><font color=#000066>具体要求: </font></td>
<td height="22" colspan="2" align="center">
<table width="97%" border="0" cellpadding="0" cellspacing="0" class="ABOUT_01">
<tr>
<td height="4"></td>
</tr>
<tr>
<td><%=rsp("Rjie")%></td>
</tr>
<tr>
<td height="4"></td>
</tr>
</table> </td>
</tr>
<tr bgcolor="#F7F7F7">
<td colspan="3"><img src="images/feedback_02.gif" width="96" height="10"></td>
</tr>
</table>
<%
rsp.movenext
next
%></td>
</tr>
</table></td>
<td width="20"> </td>
</tr>
<tr>
<td height="20"> </td>
<td><table width="100%" border="0" align="center" cellpadding="1" cellspacing="1" borderColorLight=#808080 borderColorDark=#ffffff bgcolor="#CEDEFF" style="BORDER-BOTTOM:#CECFCE 1px solid;">
<tr valign="middle">
<%if rsp.pagecount>0 then%>
<td height="20" align="center">当前页<%=intpage%>/<%=rsp.PageCount%>
<%else%>
<td height="20" align="center">当前页0/0
<%end if%>
共有<%=rsp.recordcount%>条信息,每页<%=rsp.PageSize%>条 <a href="Resource.asp?page=1">首页</a> |
<%if pre then%>
<a href="Resource.asp?page=<%=intpage -1%>">上页 </a>|
<%end if%>
<%if last then%>
<a href="Resource.asp?page=<%=intpage +1%>">下页 </a>|
<%end if%>
<a href="Resource.asp?page=<%=rsp.PageCount%>">尾页 </a>| 转到第
<select name="sel_page" onchange="javascript:location=this.options[this.selectedIndex].value;">
<%
for i = 1 to rsp.PageCount
if i = intpage then%>
<option value="Resource.asp?page=<%=i%>"selected><%=i%></option>
<%else%>
<option value="Resource.asp?page=<%=i%>"><%=i%></option>
<%
end if
next
%>
</select>
页</td>
</tr>
</table></td>
<td> </td>
</tr>
<tr>
<td height="20"> </td>
<td> </td>
<td> </td>
</tr>
</table></td>
<td width="1" valign="top" background="images/BGline02.gif"></td>
</tr>
</table>
<!--#include file="bot.asp" -->
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -