| |
 |
|
<%const MaxPerPage=4
const Max=4
dim totalPut
dim CurrentPage
dim TotalPages
dim zsrs
dim zssql
dim i,j
dim keyword
dim sql
dim rs
dim rstype
dim typesql
dim typeid,typename
dim rssort
dim sortsq
dim sort,sortname
dim gsmcsql
dim gsid,gsname
%><%set rs=server.createobject("adodb.recordset")
sql="select * from zpb order by id desc"
rs.open sql,conn,1,1
if rs.eof and rs.bof then
response.write " 对不起,暂无空席! "
else
totalPut=rs.recordcount
if request("page")<>"" then
currentpage=cint(request("page"))
else
currentpage=0
end if
if currentpage<1 then
currentpage=1
end if
if (currentpage-1)*MaxPerPage>totalput then
if (totalPut mod MaxPerPage)=0 then
currentpage= totalPut \ MaxPerPage
else
currentpage= totalPut \ MaxPerPage + 1
end if
end if
if currentPage=1 then
showpage totalput,MaxPerPage,"career-xxyd.asp"
showContent
else
if (currentPage-1)*MaxPerPage
<%do while not rs.eof%>
| 岗位 |
<% =rs("zpgw2")%> |
人数 |
<% =rs("zpsl") %>(人) |
| 年龄 |
<% =rs("yearlow") %>
——
<% =rs("yearhigh") %> |
性别 |
<% =rs("sex") %> |
| 学历 |
<% =rs("xl") %> |
地区 |
<% =rs("gzdd") %> |
| 待遇 |
<% =rs("yx") %>
元以上*(注:0表示为面议) |
要求 |
<% =rs("jtyq") %> |
<%rs.movenext
i=i+1
if rs.eof then exit do
if i>=5 then exit do
loop
end sub
function showpage(totalnumber,maxperpage,filename)
dim n
if totalnumber mod maxperpage=0 then
n= totalnumber \ maxperpage
else
n= totalnumber \ maxperpage+1
end if
%>
<%
response.write " |
|