<!--#include file="inc/config.asp"-->
<!--#include file="inc/ListPager.asp"-->
<!--#include file="inc/sub.asp"-->
<%
	'''''''本系统无限分类解决方案
Dim nTime : nTime = Timer()
Dim arrParam
arrParam = split(Request.QueryString("ListParam"), ",")
Dim conn, myListPager
Set conn = server.CreateObject("ADODB.Connection")
conn.open conndata
Set myListPager = new ListPager
with myListPager
	.Connection = conn
	.Table = "H_Recruitment"
	.PrimaryKey = "ID" 
	.Fields = "ID,UID,H_title,H_Address,H_Gender,H_number,H_Full,H_Recommend,Rdate" '显示字段
	.PageSize = 26
	.AddOrder "ID"," desc"
	.Cache = 10	
	.Init()
end with
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title><%=W_title%>,网站首页</title>
<meta name="keywords" content="<%=W_keywords%>" />
<meta name="description" content="<%=W_description%>" />
<link href="images/css.css" rel="stylesheet" type="text/css" /></head>
<body>
<!--#include file="top.asp"-->
<%call H_indexads(W_regad22,22)%>
<table width="950" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="211" height="65" align="left"><table width="211" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td width="5" bgcolor="#F16100"></td>
              <td background="images/jobbg.jpg" style="padding-left:8px;padding-top:2px;"><strong><font color="#F16100">推荐招聘</font></strong></td>
              <td width="3"><img src="images/right.jpg" width="3" height="26" /></td>
            </tr>
        </table></td>
      </tr>
      <tr>
        <td height="159" valign="top" style="BORDER-RIGHT: #FDBD99 1px solid; BORDER-LEFT: #FDBD99 1px solid;BORDER-bottom: #FDBD99 1px solid"><%
			sql="select top 11 ID,H_title  from H_Recruitment where H_Recommend=1 order by id desc "
						set rs=server.createobject("adodb.recordset")                     
						rs.open sql,conn,1,1 
						if rs.eof then
						response.Write"<div align=center>没有推荐招聘</div>"
						else
						do while not rs.eof  
						%>
            <table width="200" height="20" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td>· <a href="Recruitment_read.asp?id=<%=rs("id")%>" target="_blank"><%=left(rs("H_title"),20)%></a></td>
              </tr>
            </table>
          <%
		rs.movenext 
				loop
				rs.close
				end if
				%></td>
      </tr>
    </table></td>
    <td width="739" align="right"><table width="730" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="3"><img src="images/jobleft.jpg" width="3" height="26" /></td>
            <td valign="bottom" background="images/jobbg.jpg" style="padding-left:5px;padding-top:2px;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="92" height="22" align="center" bgcolor="#FFFFFF" style="BORDER-LEFT: #FDBD99 1px solid;BORDER-top: #FDBD99 1px solid; border-right: #FDBD99 1px solid;"><strong><font color="#F16100">职能分类</font></strong></td>
                <td width="387">&nbsp;</td>
              </tr>
            </table></td>
            <td width="3"><img src="images/right.jpg" width="3" height="26" /></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td height="159" valign="top" style="BORDER-RIGHT: #FDBD99 1px solid; BORDER-LEFT: #FDBD99 1px solid;BORDER-bottom: #FDBD99 1px solid"><table width="99%" border="0" cellpadding="0" cellspacing="0" style="padding-top:2px; padding-bottom:2px;">
                <tr>
				    <%set rs1=server.createobject("adodb.recordset")
sql="select top 8 H_name,id from HR_Industry  order by H_px desc"
rs1.open sql,conn,1,1
n=0
do while not rs1.eof
n=n+1
%>
                  <td align="left"  style="padding-left:2px; padding-top:2px;"><a href="Recruitment_list.asp?id=<%=rs1("id")%>" target="_self"><%=left(rs1("H_name"),6)%></a></td >
                         <%
	if n mod 5=0 then response.write("</tr><tr>")
rs1.movenext
loop
rs1.close
	%>
                </tr>
              </table>	</td>
      </tr>
    </table></td>
  </tr>
</table>

<table width="950" height="5" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td></td>
  </tr>
</table>
<table width="950" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="211" align="left" valign="top">
	
	<%call H_indexads(W_regad23,23)%>
	<table width="211" height="24" border="0" cellpadding="0" cellspacing="0" style=" border-left: #9FCD36 1px solid; border-right: #9FCD36 1px solid; ">
      <tr>
        <td width="35" align="center" background="images/new2.gif"><img src="images/class.gif" width="6" height="6" /></td>
        <td width="258" align="left" background="images/new2.gif">培训信息</td>
        <td width="50" background="images/new2.gif"><a href="sort.asp" target="_self"><img src="images/move.gif" width="34" height="11" border="0" /></a></td>
      </tr>
    </table>
      <table width="211" border="0" cellpadding="0" cellspacing="1" bgcolor="#9FCD36">
      <tr>
        <td width="202" height="200" valign="top" bgcolor="#FFFFFF"><%
			sql="select top 10 id,H_title,Rdate from H_news where H_newssort=7  order by id desc "
						set rs1=server.createobject("adodb.recordset")                     
						rs1.open sql,conn,1,1 
						if rs1.eof then
						response.Write"<div align=center>没有新闻</div>"
						else
						do while not rs1.eof  
						%>
			<table width="200" height="25" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td align="left">·<a href="news_show.asp?id=<%=rs1("id")%>" target="_blank"><%=left(rs1("H_title"),12)%></a></td>
              </tr>
            </table>
				<%
		rs1.movenext 
				loop
				rs1.close
				end if
				%>			
      </td>
      </tr>
      
    </table>
	
	  <table width="100" height="5" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td></td>
        </tr>
      </table>
	  <table width="211" height="24" border="0" cellpadding="0" cellspacing="0" style=" border-left: #9FCD36 1px solid; border-right: #9FCD36 1px solid; ">
      <tr>
        <td width="35" align="center" background="images/new2.gif"><img src="images/class.gif" width="6" height="6" /></td>
        <td width="258" align="left" background="images/new2.gif">职业指导</td>
        <td width="50" background="images/new2.gif"><a href="sort.asp" target="_self"><img src="images/move.gif" width="34" height="11" border="0" /></a></td>
      </tr>
    </table>
      <table width="211" border="0" cellpadding="0" cellspacing="1" bgcolor="#9FCD36">
      <tr>
        <td width="202" height="200" valign="top" bgcolor="#FFFFFF"><%
			sql="select top 10 id,H_title,Rdate from H_news where H_newssort=8  order by id desc "
						set rs1=server.createobject("adodb.recordset")                     
						rs1.open sql,conn,1,1 
						if rs1.eof then
						response.Write"<div align=center>没有新闻</div>"
						else
						do while not rs1.eof  
						%>
          <table width="200" height="25" border="0" cellpadding="0" cellspacing="0">
            <tr>
              <td align="left">·<a href="news_show.asp?id=<%=rs1("id")%>" target="_blank"><%=left(rs1("H_title"),12)%></a></td>
            </tr>
          </table>
          <%
		rs1.movenext 
				loop
				rs1.close
				end if
				%></td>
      </tr>
      
    </table>
	
	</td>
    <td width="739" valign="top"><table width="730" border="0" align="right" cellpadding="0" cellspacing="1" bgcolor="#FEDA6A" class="scaview3">
          <tr>
            <td valign="top" bgcolor="#FFFFFF"><!--==================-->
                <table width="730" border="0" cellspacing="0" cellpadding="5" align="center">
                  <tr bgcolor="#EFEFEF">
                    <td width="13%" height="12" align="center" bgcolor="#FEFAF4">分类</td>
                    <td width="39%" height="12" align="left" bgcolor="#FEFAF4">标题</td>
                    <td width="12%" align="left" bgcolor="#FEFAF4">工作地点</td>
                    <td width="9%" align="left" bgcolor="#FEFAF4">要求性别</td>
                    <td width="9%" align="left" bgcolor="#FEFAF4">招聘人数</td>
                    <td width="18%" height="12" align="left" nowrap="nowrap" bgcolor="#FEFAF4">发布时间</td>
                  </tr>
                  <tr>
                    <td colspan="6" height="1" bgcolor="#E8E8E8"></td>
                  </tr>
                  <%
					if myListPager.RecordCount>0 then
					Dim arrList,intList,i
					arrList = myListPager.GetRows()
					intList = Ubound(arrList,2)
					for i=0 to intList
					
		%>
                  <tr >
                    <td height="25" align="center"><%if arrlist(6,i)=1 then %>全职<%else%>兼职<%end if%></td>
                    <td align="left"><a href="Recruitment_read.asp?id=<%=arrlist(0,i)%>" target="_blank"><%=left(arrlist(2,i),20)%></a>
                        <%if arrlist(7,i)=1 then%>
                      <img src="images/m2.gif" alt="推荐信息" />
                      <%end if%></td>
                    <td align="left"><%=left(arrlist(3,i),6)%></td>
                    <td align="left"><%call H_Gender_job(arrlist(4,i))%></td>
                    <td align="left"><%=arrlist(5,i)%></td>
                    <td height="25" align="left"><%=arrlist(8,i)%></td>
                  </tr>
                  <tr>
                    <td colspan="6" bgcolor="#E8E8E8"></td>
                  </tr>
                  <%
					next
				end if
				%>
                  <tr>
                    <td colspan="7" align="right" bgcolor="#efefef" height="20"><%
					with myListPager
							Response.Write("<script type=""text/javascript"" src=""../inc/styles/ListStyle.js""></script>")
							Response.Write("<script type=""text/javascript"">pageTurn(" & .RecordCount & ", " & .PageSize & ", " & .PageCount & ", " & .CurrentPage & ", """ & .QueryString & """);</script>")
					end with
					%></td>
                  </tr>
                  <tr>
                    <td colspan="6" height="4"></td>
                  </tr>
              </table></td>
          </tr>
    </table></td>
  </tr>
</table>
<table width="950" height="5" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td></td>
  </tr>
</table>
<!--#include file="end.asp"-->
</body>
</html>
