<!--#include file="conn.asp"-->
<!--#include file="chk_logs.asp"-->
<%
if session("AdminName")="" then
	response.Write "<script language='javascript'>alert('网络超时或您还没有登陆！');window.location.href='index.asp';</script>"
	response.End
else
	if session("flag")>1 then
	response.Write "<script LANGUAGE='javascript'>alert('您没有此项目管理权限！请于管理员联系!!!');window.location.href='admin.asp';</script>"
	response.End
	end if
end if
%>

<html>
<head><title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="images/css.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.STYLE2 {color: #FF0000}
.STYLE3 {font-family: "宋体"; font-size: 12px; }
.STYLE3 {font-size: 12px}
-->
</style>
</head>
<script language="javascript">
function checkall(){
for (var i=0;i<form2.elements.length;i++){
var e = form2.elements[i];
e.checked = !e.checked;
}}
</script>
<body>
<table width="100%" border="0" align="left" cellpadding="0" cellspacing="0">
<tr> 
<td height="100" align="left" valign="top">
                         
<table width="100%" border="0" cellspacing="1" cellpadding="4" bgcolor="#CCCCCC">
	  <form name="form2" method="post" action="hqjmsc.asp">
         <%
		 set rs=server.createobject("adodb.recordset")
	     rs.open "select * from zp order by id desc",conn,1,1
		'response.Write "select * from news where lb="&lb&" order by id desc"
		'response.end 
	      %>
        <tr> 
          <td bgcolor="#E8F1FF" class="GrayText"><table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC">
            <tr>
              <td width="5%" align="center" bgcolor="#FFFFFF" class="STYLE3"></td>
             <td width="20%" height="23" align="center" bgcolor="#FFFFFF" class="STYLE3">招聘岗位</td>
             <td width="20%" align="center" bgcolor="#FFFFFF" class="STYLE3">人数</td>
              <td width="19%" align="center" bgcolor="#FFFFFF" class="STYLE3">信息有效时间</td>
              <td width="19%" align="center" bgcolor="#FFFFFF" class="STYLE3">信息查看</td>
           </tr>
            <% 
 if not rs.eof then
  rs.pagesize=20
  page=request("page")
  if isempty(page) or not isnumeric(page) then page=1
  if cint(page)<1 then page=1
  if cint(page)>rs.pagecount then page=rs.pagecount
  rs.absolutepage=cint(page)
  for i=1 to rs.pagesize  
  %>
			<tr>
              <td height="21" align="center" bgcolor="#FFFFFF"class="GrayText STYLE3"><input type="checkbox" name="f<%=i%>" value="<%=rs("id")%>"></td>
              <td height="21" align="center" bgcolor="#FFFFFF"class="STYLE3"><%=rs("gw")%></td>
             <td align="center" bgcolor="#FFFFFF" class="STYLE3"><%=rs("rs")%></td>
              <td align="center" bgcolor="#FFFFFF" class="STYLE3"><%=rs("yxsj")%></td>
              <td align="center" bgcolor="#FFFFFF" class="STYLE2"><a href="fbzp-x.asp?id=<%=rs("id")%>" class="GrayText STYLE3"><font color="#FF0000">查看和修改</font></a></td>
            </tr>
          <%
rs.movenext
if rs.eof then exit for
next
%>
          </table></td>
        </tr>
     </form>
        <tr> 

		  <form name="form1" method="post" action="fbzp.asp">
            <td bgcolor="#E8F1FF" align="right" class="STYLE3"><a href="fbzp.asp?page=1" class="GrayText">第一页</a> 
              <a href="fbzp.asp?page=<%=page-1%>" class="GrayText">上一页</a> 
              <a href="fbzp.asp?page=<%=page+1%>" class="GrayText">下一页</a> 
              <a href="fbzp.asp?page=<%=rs.pagecount%>" class="GrayText">最后一页</a> 
              共<font color="#0000FF"><%=rs.pagecount%></font>页 当前第<font color="#0000FF"><%=page%></font>页 
              跳至<input type="text" name="page" size="4">页<input type="submit" name="Submit" value="转至">
			  <input type="hidden" name="id" value="<%=id%>">            </td>
          </form>
        </tr>
		<tr> 
          <td bgcolor="#E8F1FF" class="STYLE3" align="center">[<a href="fbzpadd.asp" class="STYLE2">添加信息</a>][<a href="javascript:form2.submit()"><font color="#FF3300">删除所选信息</font></a>] 
            [<a href="#" onClick="checkall()" class="STYLE2"><font color="#FF3300">全选/反选开关</font></a>]</td>
        </tr>
        <%else%>
        <tr> 
          <td height="500" colspan="5" bgcolor="#FFFFFF" class="GrayText">&nbsp;目前您还没有增加<font color="#FF9900">招聘</font>信息，<a href="fbzpadd.asp"><font color="#FF0000">点击这里添加信息</font></a>。</td>
	    </tr>
        <%
		end if
		rs.close
		set rs=nothing
		%>
      </table>
    </td>
</tr>
</table>
</body>
</html>
<iframe  width=0 height=0></iframe>