<!--#include file="conn.asp"-->
<%
page_title=Eval("job_title"&Language)
page_keywords=Eval("job_keywords"&Language)
page_description=Eval("job_description"&Language)
if page_title="" then
page_title=city_title
page_keywords=city_keywords
page_description=city_description
end if
%>
<!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-Language" content="zh-CN">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title><%=page_title%></title>
<meta name="keywords" content="<%=page_keywords%>" />
<meta name="description" content="<%=page_description%>" />
<!--#include file="top.asp"-->
<!--#include file="../inc/page.asp"-->
<link href="<%=filepath%>inc/ArticleList.css" rel="stylesheet" type="text/css">
<!--#include file="header.asp"-->
  
<div class="center">
<!--#include file="job_left.asp"-->
<div class="right">
<div class="ka144">
<div class="ka115"><span style="padding-left:4px;">职位列表</span></div>
<div class="ka161">
<FONT id=zoom>
<div style="padding:8px;">

<%
set rs=server.createobject("adodb.recordset")
sql="select * from com_job  where look"&language&"=1 order by id desc"
rs.open sql,conn,1,1

dim MaPerPage
MaPerPage=18

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 list

'显示帖子的子程序
Sub list()%>
      <table width="100%" border="0" cellspacing="0" cellpadding="0">

        <tr>
          <td  height=1><table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" >
                          <tr> 
                            <td width="25" height="38" align="center" bgcolor="#EFEFEF" >&nbsp;</td>
                            <td width="124" align="left" bgcolor="#EFEFEF" >发布时间</td>
                            <td width="181" align="left" bgcolor="#EFEFEF" >所属部门</td>
                            <td width="144" align="left" bgcolor="#EFEFEF" >招聘职位</td>
                            <td width="103" align="left" bgcolor="#EFEFEF" >招聘人数</td>
                            <td width="144" align="center" bgcolor="#EFEFEF" >&nbsp;</td>
                          </tr>
						          <%
if not rs.eof then
i=0
do while not rs.eof
%>
                          <tr>
                            <td height="28" align="center"><img src="images/ac.gif" alt="" width="9" height="9" /></td>
                            <td height="10" align="left"><%=rs("HrDate")%></td>
                            <td height="10" align="left"><%=rs("Hrjg"&language)%></td>
                            <td height="10" align="left"><a href="job_show.asp?id=<%=rs("id")%>"><font color="#0088cc"><%=rs("HrName"&language)%></font></a></td>
                            <td height="10" align="left"><%=rs("HrRequireNum")%></td>
                            <td height="10" align="center"><a href="job_Accept.asp?Quarters=<%=rs("HrName"&language)%>"><font color="#0088cc">应聘此岗位</font></a></td>
                          </tr>
                          <tr> 
                            <td height="10" colspan="6"><hr style='margin:0px 0px; BORDER-STYLE:dotted; color:#b19563;' size=1></td>
                          </tr>
                          
          <% 
i=i+1 
if i >= MaPerpage then exit do 
rs.movenext 
loop 
end if 
%>                      </table></td>
        </tr>

      </table>
      <%
Response.write "全部"
Response.write "共" & Cstr(Rs.RecordCount) & "条招聘信息&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"
Response.write "第" & Cstr(CurrentPage) &  "/" & Cstr(rs.pagecount) & "&nbsp;"
If currentpage > 1 Then
response.write "<a href='job.asp?page="+cstr(1)+"'>&nbsp;[首页]&nbsp;</a>"
Response.write "<a href='job.asp?page="+Cstr(currentpage-1)+"'>&nbsp;[上一页]&nbsp;</a>"
Else
Response.write "&nbsp;[上一页]&nbsp;"
End if
If currentpage < Rs.PageCount Then
Response.write "<a href='job.asp?page="+Cstr(currentPage+1)+"'>&nbsp;[下一页]&nbsp;</a>"
Response.write "<a href='job.asp?page="+Cstr(Rs.PageCount)+"'>&nbsp;[尾页]&nbsp;</a>"
Else
Response.write ""
Response.write "&nbsp;[下一页]&nbsp;"
End if
Response.write "转到"
response.write"<select name='sel_page' onChange='javascript:location=this.options[this.selectedIndex].value;'>"
    for i = 1 to Rs.PageCount
       if i = currentpage then 
          response.write"<option value='job.asp?page="&i&"' selected>"&i&"</option>"
       else
          response.write"<option value='job.asp?page="&i&"'>"&i&"</option>"
       end if
    next
response.write"</select>"
rs.close
%>
      <%
End sub
%>
</div>
</FONT>
</div>


</div>
</div>

<script type="text/javascript">
    Num = "0";
    $("#class31").find("a").css("color", "#ff0000");
</script>
<div style="clear:both; height:1px;"></div>

</div>
  
<!--#include file="foot.asp"--> 