<!--#include file="Inc/syscode.asp"-->

<!--#include file="Inc/Top.asp" -->
<!-- #include file="Inc/Head.asp" -->
<%
set rsjob=server.createobject("adodb.recordset")
sqltext="select * from job order by id desc"
rsjob.open sqltext,conn,1,1
dim MaPerPage
MaPerPage=4

dim text,checkpage
text="0123456789"
rsjob.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 > rsjob.PageCount Then CurrentPage = rsjob.PageCount
Else
CurrentPage= 1
End If
If not rsjob.eof Then rsjob.AbsolutePage = CurrentPage end if
Else
CurrentPage=1
End if

call showpages
call list
If rsjob.recordcount > MaPerPage then
call showpages
end if

'显示帖子的子程序
Sub list()
%>

<table width="1003" height="100" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <TD vAlign="top" width="200" background="images/1_24.jpg" style="padding-bottom:8px;">
	<table width="200" border="0" align="center" cellpadding="0" cellspacing="0">
		<tr>
			<td width="200" valign="top"><!-- #include file="L_CoProfile.asp" --></td>
		</tr>
		<tr>
    <td valign="top"><!-- #include file="L_Search.asp" --></td>
  </tr>
  <tr>
    <td valign="top"><!-- #include file="L_product.asp" --></td>
  </tr>
  <tr>
    <td valign="top">　</td>
  </tr>
	</table></TD>

    <td width="803" valign="top">
    <TABLE cellSpacing=0 cellPadding=0 border=0>
        <TBODY>
        <TR>
          <TD height="2" colspan="2"></TD>
        </TR>
        <TR>
          <TD width=2 height=160></TD>
          <TD vAlign=top width=801><div id=makewing style="height:160">
        <table width="803"  border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td height="160" bgcolor="#66CCFF"><img src="gg/1.png"></td>
          </tr>
          <tr>
            <td height="160" bgcolor="#FFCC66"><img src="gg/2.png"></td>
          </tr>
          <tr>
            <td height="160" bgcolor="#99CC66"><img src="gg/3.png"></td>
          </tr>
          <tr>
            <td height="160" bgcolor="#66CCFF"><img src="gg/4.png"></td>
          </tr>
          <tr>
            <td height="160" bgcolor="#FFCC66"><img src="gg/5.png"></td>
          </tr>
          <tr>
            <td height="160" bgcolor="#99CC66"><img src="gg/6.png"></td>
          </tr>
        </table>
        <script language=JavaScript src="js/powerpoint.js"></script>
</div></TD>
        </TR>
        <tr>
          <td height="12" colspan="2"></td>
        </tr>
       </TBODY>
    </TABLE>
    <TABLE width="766" border="0" cellPadding="0" cellSpacing="0">
     
		<TR> 
			<td width="766" align="center"><table width="680" border="0" cellspacing="0" cellpadding="0" height="15">
          <tr>
            <td width="12">　</td>
            <td width="668">　</td>
          </tr>
        </table></td>
		</TR>
		<TR> 
			<TD> 
				
			</TD>
		</TR>
		<TR> 
			<TD height="1" bgcolor="#666666"><IMG height=1 src="img/1x1_pix.gif" width=10></TD>
		</TR>
		<TR> 
			<TD height=1><TABLE width="90%" border=0 align="center" cellPadding=0 cellSpacing=0>
                                    <!-- 广告栏 -->
                                   
                                    <%
if not rsjob.eof then
i=0

do while not rsjob.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"><%=rsjob("Duix")%></td>
                                            </tr>
                                            <tr>
                                              <td bgcolor="#F3F3DE"><div align="center">招聘人数</div></td>
                                              <td bgcolor="#F8FCF8"><%=rsjob("Rens")%></td>
                                            </tr>
                                            <tr>
                                              <td bgcolor="#F3F3DE"><div align="center">工作地点</div></td>
                                              <td bgcolor="#F8FCF8"><%=rsjob("did")%></td>
                                            </tr>
                                            <tr>
                                              <td bgcolor="#F3F3DE"><div align="center">工资待遇</div></td>
                                              <td bgcolor="#F8FCF8"><%=rsjob("daiy")%></td>
                                            </tr>
                                            <tr>
                                              <td bgcolor="#F3F3DE"><div align="center">发布时间</div></td>
                                              <td bgcolor="#F8FCF8"><%=rsjob("time")%></td>
                                            </tr>
                                            <tr>
                                              <td bgcolor="#F3F3DE"><div align="center">有效期限</div></td>
                                              <td bgcolor="#F8FCF8"><%=rsjob("Qix")%></td>
                                            </tr>
                                            <tr>
                                              <td height="22" bgcolor="#F3F3DE"><div align="center">招聘要求</div></td>
                                              <td bgcolor="#F8FCF8"><%=rsjob("yaoq")%></td>
                                            </tr>
                                            <tr bgcolor="#FFFFFF">
                                              <td height="22" colspan="2"><div align="right"><a href="AcceptJob.asp?job=<%=rsjob("Duix")%>">应聘此岗位</a></div></td>
                                            </tr>
                                        </table></TD>
                                    </TR>
                                    <% 
i=i+1 
if i >= MaPerpage then exit do 
rsjob.movenext 
loop 
end if 
%>
                                    <TR>
                                      <TD height=15></TD>
                                    </TR>
                                    <TR>
                                      <TD background=img/naBialym.gif height=1><IMG height=1 src="img/1x1_pix.gif" width=10></TD>
                                    </TR>
                                    <TR>
                                      <TD height=25 bgcolor="#D8D8D8">&nbsp;
                                          <%
Response.write "<strong><font color='#000000'>-> 全部-</font>"
Response.write "共</font>" & "<font color=#FF0000>" & Cstr(rsjob.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(rsjob.pagecount) & "</font></strong>&nbsp;"
If currentpage > 1 Then
response.write "<strong><a href='Job.asp?&page="+cstr(1)+"'><font color='#000000'>首页</font></a><font color='#ffffff'> </font></strong>"
Response.write "<strong><a href='Job.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 < rsjob.PageCount Then
Response.write "<strong><a href='Job.asp?page="+Cstr(currentPage+1)+"'><font color='#000000'>下一页</font></a><font color='#ffffff'> </font>"
Response.write "<a href='Job.asp?page="+Cstr(rsjob.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;"
%>
                                          <%
End sub
'rsjob.close

%>
                                      </TD>
                                    </TR>
                                  </TABLE> </TD>
		</TR>
		<TR> 
			<TD height=1> 

			</TD>
		</TR>
	</TABLE>    
     <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td height="5"></td>
        </tr>
      </table>   
        
</td>
  </tr>
</table>

<!-- #include file="Inc/Foot.asp" -->
</BODY></HTML>
