<!--#include file="conn.asp" -->
<%
strCurrMenu="⑨menuid⑨"
%>

<html>
<head>
<title>⑨title⑨</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="common/style.css" type="text/css">
<style>
A:link{ color: #FFFFFF; text-decoration: none;}
A:visited{ color: #FFFFFF; TEXT-DECORATION: none;}
A:active{color: #FFFFFF; TEXT-DECORATION: none;}
A:hover{ color: #FFFFFF; TEXT-DECORATION: underline;}

A.subitem:link{ color: #000000; text-decoration: none;}
A.subitem:visited{ color: #000000; TEXT-DECORATION: none;}
A.subitem:active{color: #000000; TEXT-DECORATION: none;}
A.subitem:hover{ color: #000000; TEXT-DECORATION: underline;}
</style>
<script language="JavaScript" src="common/JS_CheckForm.js"></script>
<script language="JavaScript">
function checkform(theform){
	if(!CheckEmpty(theform.txtName, "您的姓名")) return false;
	if(!CheckEmpty(theform.txtMsg, "留言内容")) return false;
}
</script>

</head>

<body bgcolor="#999999" text="#000000" leftmargin="0" topmargin="0" BodyBegin>
<table width="750" border="0" align="center" cellspacing="0" cellpadding="0">
  <tr> 
    <td height="100"> 
      <table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%">
        <tr> 
          <td height="2"><img src="images/11.gif" width="750" height="18"></td>
        </tr>
        <tr> 
          <td height="300" bgcolor="#FFFFFF" valign="top"> 
            <!--#include file="top.asp"-->
            <table width="720" border="0" cellspacing="0" cellpadding="0" align="center" height="6" bgcolor="#FFFFFF">
              <tr> 
                <td></td>
              </tr>
            </table>
            <table width="720" border="0" cellspacing="0" cellpadding="0" align="center" height="150">
              <tr> 
                <td height="300" bgcolor="#FBF9EC" valign="top"> 
                  <div align="center">
                    <table width="100%" border="0" cellspacing="0" cellpadding="0" height="300">
                      <tr> 
                        <td height="3" bgcolor="#B59B42"></td>
                      </tr>
                      <tr>
                        <td height="300" valign="top"> 
                          <table width="100%" border="0" cellspacing="1" cellpadding="0" bgcolor="#B7A977">
                            <tr> 
                              <td bgcolor="#C4B98E" height="26" width="1%"></td>
                              <td bgcolor="#CFC6A7" height="26" width="1%"></td>
                              <td bgcolor="#EEEBDF" height="26" width="93%" class="unnamed3"> 
                                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                  <tr> 
                                    <td width="4%"><b><font color="#CC0000"><img src="images/chevronDown.gif" width="30" height="28"></font></b></td>
                                    <td width="96%"><b><font color="#CC0000" class="unnamed3">⑨thispage⑨</font></b></td>
                                  </tr>
                                </table></td>
                              <td bgcolor="#DCD6BE" height="26" width="1%%"></td>
                              <td bgcolor="#D0C7A6" height="26" width="1%"></td>
                              <td bgcolor="#C4B991" height="26" width="1%"></td>
                            </tr>
                          </table>
                          <table border="0" cellpadding="7" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber2">
                            <tr> 
                              <td width="1%">&nbsp;</td>
                              <td height="63" valign="top"> <table width="100%" border="0" align="center" cellspacing="0" cellpadding="0 ">
                                  <tr> 
                                    <td  height="30">您的位置 : <a class=title01 
            href="."><font color="#000000">首页</font></a> <img src="images/image_24.gif" width="8" height="5"> 
                                      <font face="Arial Black">⑨thispage⑨</font></td>
                                  </tr>
                                  <tr> 
                                    <td height="1" background="images/image_11.gif"></td>
                                  </tr>
                                </table>
                                <%
										'读取招聘的属性，以确定显示那个字段
										showAddress=GetKey("Address",WebUserID,"job_" & strCurrMenu )
										showCount=GetKey("Count",WebUserID,"job_" & strCurrMenu )
										showExpires=GetKey("Expires",WebUserID,"job_" & strCurrMenu )
										showPay=GetKey("Pay",WebUserID,"job_" & strCurrMenu )
										showDetail=GetKey("Detail",WebUserID,"job_" & strCurrMenu )
										%>
                                <%
										'从这开始读数据
										strSQL="Select * From web_job Where mn_id=" & strCurrMenu & " " & strQuery & " Order by j_create Desc"
										rs.open strSQL,conn,1,1
										'分页显示初始化
										page=GetVariable("page")
										if page="" then
											page=1
										else
											page=Cint(page)
										end if
										
										Section=GetVariable("section")
										if Section="" then
											Section=1
										else
											Section=Cint(Section)
										end if
										'变量赋值
										intPageSize=6		'每页显示记录数
										intSectionSize=5		'多少页为一段，像GOOGLE一样
										PrevSectionText="<FONT face=webdings>7</FONT>"		'上一段的链接文字
										NextSectionText="<FONT face=webdings>8</FONT>"		'下一段的链接文字
										PrevPageText="<FONT face=webdings>3</FONT>"			'上页的链接文字	
										NextPageText="<FONT face=webdings>4</FONT>"			'下页的链接文字
										
										strPageUrl="?t="
										
										rs.pagesize=intPageSize
										intCount=rs.RecordCount 
										intPageCount=rs.pagecount
										intSectionCount=(intPageCount - 1) \ intSectionSize + 1
										if intCount>0 then
											rs.AbsolutePage=page 
										else 
											response.Write("暂时没有可看内容！")
										end if 
										%>
                                <%
										  '开始输出最新新闻
										   for i=1 to intPageSize
												if rs.eof then exit For
												JobID=rs("id")
												if i mod 2=0 then
													strColor="#ACCDFF"
												else
													strColor="#FF9900"
												end if
										  %>
                                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                  <tr> 
                                    <td colspan="2" height="30">○<b><font color="#CC0000"><%=trim(rs("j_title"))%></font></b></td>
                                  </tr>
                                  <tr> 
                                    <td width="50%" height="30"> 
                                      <% if showExpires<>"none" then%>
                                      招聘期限：<%=trim(rs("j_expires"))%></td>
                                    <td width="50%" height="30"> 
                                      <%end if%>
                                      <% if showAddress<>"none" then%>
                                      工作地点：<%=trim(rs("j_addr"))%></td>
                                  </tr>
                                  <tr> 
                                    <td height="30"> 
                                      <%end if%>
                                      <% if showCount<>"none" then%>
                                      招聘人数：<%=trim(rs("j_count"))%></td>
                                    <td height="30"> 
                                      <%end if%>
                                      <% if showPay<>"none" then%>
                                      工资待遇： <%=trim(rs("j_pay"))%> 
                                      <%end if%>
                                    </td>
                                  </tr>
                                  <tr> 
                                    <td height="30">&nbsp;</td>
                                    <td height="30"> <div align="right"><b> 
                                        <% if showDetail<>"none" then%>
                                        </b><a href="jobshow.asp?mnid=<%=strCurrMenu%>&id=<%=JobID%>&classname=⑨thispage⑨"><font color="#cc0000">详情信息&gt;&gt;&gt;</font></a><b> 
                                        <%end if%>
                                        </b></div></td>
                                  </tr>
                                </table>
                                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                  <tr> 
                                    <td>&nbsp;</td>
                                  </tr>
                                  <tr> 
                                    <td background="images/image_11.gif" height="1"></td>
                                  </tr>
                                  <tr> 
                                    <td>&nbsp;</td>
                                  </tr>
                                </table>
                                <%
								rs.movenext
							next
							%>
                                <br> <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                  <tr> 
                                    <td align="right"> 共有<%=intCount%>记录，分<%=intPageCount%>页，当前页<%=Page%>，每页显示<%=intPageSize%>条记录 
                                      <%
			'计算每一段的开始页
			intStarPage=(Section-2) * intSectionSize + 1
			'前一段
			if Section<=1 then
				response.Write(PrevSectionText & " ")
			else
				response.Write("<a href='" & strPageUrl & "&page=" & intStarPage & "&section=" & Section-1 & "'>" & PrevSectionText & "</a> ")
			end if 
			
			'显示页码列表
			response.Write("第")
			intStarPage=(Section-1) * intSectionSize + 1
		    for p=intStarPage to intStarPage + intSectionSize - 1
				if p > intPageCount then exit for
				if p=page then
		    		response.Write("<strong>[" & p & "]</strong> ")
				else
		    		response.Write("<a href='" & strPageUrl & "&page=" & p & "&section=" & Section & "'>[" & p & "]</a> ")
				end if	
		    next
			response.Write("页")
			'后一段
			intStarPage=(Section) * intSectionSize + 1
			if Section>=intSectionCount then
				response.Write(" " & NextSectionText)
			else
				response.Write(" <a href='" & strPageUrl & "&page=" & intStarPage & "&section=" & Section+1 & "'>" & NextSectionText & "</a> ")
			end if 
		  %>
                                      　 </td>
                                  </tr>
                                </table></td>
                              <td width="2%">&nbsp;</td>
                            </tr>
                          </table>
                          <br></td>
                      </tr>
                    </table>
                  </div>
                </td>
              </tr>
            </table>
          </td>
        </tr>
        <tr> 
          <td height="13"><img src="images/12.gif" width="750" height="19"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<div align="center"><font color="#F2F2F2"><br>
  ⑨footnote⑨<br>⑨ICP⑨<br>
  您是本站第<script language="JavaScript" src="admin/count/counter.asp"></script>位访问者</font></div>
  
<script language="JavaScript" src="common/init.js"></script><br><script language=Javascript src="common/tranbig5.Js"></script>
</body>
</html>
