<!--#include file="include/nyheader.asp"-->
<%
set rs=server.createobject("adodb.recordset")
sqltext="select * from job order by id desc"
rs.open sqltext,conn,1,1

dim MaPerPage
MaPerPage=3

dim text,checkpage
text="0123456789"
Rs.PageSize=MaPerPage
for i=1 to len(request("page"))
checkpage=instr(1,text,mid(request("page"),i,1))
if checkpage=0 then
exit for
end if
next

If checkpage<>0 then
If NOT IsEmpty(request("page")) Then
CurrentPage=Cint(request("page"))
If CurrentPage < 1 Then CurrentPage = 1
If CurrentPage > Rs.PageCount Then CurrentPage = Rs.PageCount
Else
CurrentPage= 1
End If
If not Rs.eof Then Rs.AbsolutePage = CurrentPage end if
Else
CurrentPage=1
End if

call showpages
call list

If Rs.recordcount > MaPerPage then
call showpages
end if

'显示帖子的子程序
Sub list()%>
<div align="left">
<table border="0" cellpadding="0" cellspacing="0" width="1000" id="table14">
<tr>
<td width="198" valign="top">
<table border="0" cellpadding="0" cellspacing="0" width="100%" id="table15">
<tr>
<td>
<img border="0" src="img/nytu1.jpg" width="198" height="19"></td>
</tr>
<tr>
<td background="img/nybj.jpg" valign="top"><!--#include file="include/leftgyyy.asp"-->
　</td>
</tr>
<tr>
<td>
<img border="0" src="img/nytu2.jpg" width="198" height="19"></td>
</tr>
</table>
</td>
<td width="802" valign="top">
<div align="right">
<table border="0" cellpadding="0" cellspacing="0" width="801" id="table16">
<tr><td><!--#include file="include/middle.asp"--></td>
</tr>
<tr>
<td>
<object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" id="obj1" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" border="0" width="801" height="145">
<param name="movie" value="flash/gzjh.swf">
<param name="quality" value="High">
<embed src="flash/gzjh.swf" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj1" width="801" height="145"></object>
</td>
</tr>
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" width="100%" id="table22">
<tr>
<td height="25">&nbsp;|| 当前位置：<a href="index.htm">首 页</a> &gt; 工作机会</td>
</tr>
<tr>
<td bgcolor="#CFCFCF"></td>
</tr>
<tr>
<td style="padding-top: 5px">
<table border="0" cellpadding="0" cellspacing="0" width="100%" id="table23">
<tr>
<td width="100%" valign="top">
<div align="center">
<table border="0" cellpadding="0" cellspacing="0" width="95%" id="table28">
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" width="100%" id="table29">
<tr>
<td background="img/bj.jpg" height="21" valign="top">
<table border="0" cellpadding="0" cellspacing="0" width="100%" id="table30">
<tr>
<td width="30">
<p align="center">
<img border="0" src="img/br2.jpg" width="13" height="13"></td>
<td height="21">
<b>工作机会</b></td>
</tr>
</table></td>
</tr>
<tr>
<td>
<%
if not rs.eof then
i=0
do while not rs.eof
%>
<TR>
<TD height=1>
<br>
<table width="90%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#000000">
<tr>
<td width="24%" bgcolor="#F3F3DE" >
<div align="center">招聘对象</div></td>
<td width="76%" bgcolor="#F8FCF8"><%=rs("Duix")%></td>
</tr>
<tr>
<td bgcolor="#F3F3DE" >
<div align="center">招聘人数</div></td>
<td bgcolor="#F8FCF8"><%=rs("Rens")%></td>
</tr>
<tr>
<td bgcolor="#F3F3DE">
<div align="center">工作地点</div></td>
<td bgcolor="#F8FCF8"><%=rs("did")%></td>
</tr>
<tr>
<td bgcolor="#F3F3DE" >
<div align="center">工资待遇</div></td>
<td bgcolor="#F8FCF8"><%=rs("daiy")%></td>
</tr>
<tr>
<td bgcolor="#F3F3DE" >
<div align="center">发布时间</div></td>
<td bgcolor="#F8FCF8"><%=rs("time")%></td>
</tr>
<tr>
<td bgcolor="#F3F3DE">
<div align="center">有效期限</div></td>
<td bgcolor="#F8FCF8"><%=rs("Qix")%></td>
</tr>
<tr>
<td height="22" bgcolor="#F3F3DE" >
<div align="center">招聘要求</div></td>
<td bgcolor="#F8FCF8"><%=rs("yaoq")%></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="22" colspan="2"><div align="right"><a href="AcceptJob.asp?job=<%=rs("Duix")%>">应聘此岗位</a>
</div></td>
</tr>
</table></TD>
</TR>
<%
i=i+1
if i >= MaPerpage then exit do
rs.movenext
loop
end if
%>


<tr>
<td class="bluemeau" align="right">&nbsp; </td>
</tr>


<tr>
<td height=40>
<table width="95%" height="19" border="0" align="center" cellpadding="0" cellspacing="0" id="table31">
<tr>
<td width="86%" bgcolor="#eeeeee"> <%
Response.write "<strong><font color='#000000'>-> 全部-</font>"
Response.write "共</font>" & "<font color=#FF0000>" & Cstr(Rs.RecordCount) & "</font>" & "<font color='#000000'>条招聘信息</font></strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"
Response.write "<strong><font color='#000000'>第</font>" & "<font color=#FF0000>" & Cstr(CurrentPage) &  "</font>" & "<font color='#000000'>/" & Cstr(rs.pagecount) & "</font></strong>&nbsp;"
If currentpage > 1 Then
response.write "<strong><a href='gzjh.asp?&page="+cstr(1)+"'><font color='#000000'>首页</font></a><font color='#ffffff'> </font></strong>"
Response.write "<strong><a href='gzjh.asp?page="+Cstr(currentpage-1)+"'><font color='#000000'>上一页</font></a><font color='#ffffff'> </font></strong>"
Else
Response.write "<strong><font color='#000000'>上一页 </font></strong>"
End if
If currentpage < Rs.PageCount Then
Response.write "<strong><a href='gzjh.asp?page="+Cstr(currentPage+1)+"'><font color='#000000'>下一页</font></a><font color='#ffffff'> </font>"
Response.write "<a href='gzjh.asp?page="+Cstr(Rs.PageCount)+"'><font color='#000000'>尾页</font></a></strong>&nbsp;&nbsp;"
Else
Response.write ""
Response.write "<strong><font color='#000000'>下一页</font></strong>&nbsp;&nbsp;"
End if
'response.write "</td><td align='right'>"
'response.write "<font color='#000000' >转到：</font><input type='text' name='page' size=4 maxlength=4 class=smallInput value="&Currentpage&">&nbsp;"
'response.write "<input class=buttonface type='submit'  value='Go'  name='cndok'>&nbsp;&nbsp;"
%>  </td>
</tr>
</table>
</td>
</tr>


<%
End sub
rs.close
%>
</td>
</tr>
</table></td>
</tr>
<tr>
<td>

</td>
</tr>
</table>
</div>
</td>

</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</div>
<!--#include file="include/footer.asp"-->


