<%@ codepage ="936" %>
  <% 
	data_path="../../" 'ACC连接数据库路径，对SQL无效
	numid="16"
	dir="../err.asp" 
  %>
  <!--#include file="../../conn/conn.asp"-->
<!--#include file="../../inc/safe.asp"-->
<!--#include file="../rolecheck.asp"-->

<LINK href="../css/style.css" rel=stylesheet type=text/css> 
 <script>
  
 function isdel()
 {
 var i=confirm("你确定要删除吗？");
 if(i)
 {
 return true;
 }
 else
 {
  return false;
 
 }
 }
 

function UnSelect()
	{
	  for (var i=0;i<document.myform.elements.length;i++)
		{
		if(document.myform.elements[i].checked==true)
		{
		document.myform.elements[i].checked=false;
 		}
		else
		{
		document.myform.elements[i].checked=true;
 		}
		}
	}

function CheckAll()
	{
	  for (var i=0;i<document.myform.elements.length;i++)
		{
		document.myform.elements[i].checked=true;
		}
	}
	 
function UnAll()
	{
	  for (var i=0;i<document.myform.elements.length;i++)
		{
		document.myform.elements[i].checked=false;
		}
	}
 function retval(value)
	{
	var val=confirm(value);
	if(val)
	{ 
 	return true ;
	}
	else
	{
	 return false;
	}
 	}
</script>
<title>招聘信息---求职者管理</title>
 
<table width="98%" border="0" cellspacing="0" cellpadding="0" align=center class="tableBorder"> 
  <tr> 
     <th height=25 colspan="2" class="tableHeaderText">求职者信息管理 </th> 
  </tr> 
   <tr> 
     <td width="10%" height=25 class="forumRowHighlight"> <B>操作选项</B></td> 
         <FORM name=searchForm action="work.asp" method=post onSubmit="javascript:if(doSearch()==false) return false;"><td class="forumRowHighlight">
       招聘信息关键字：<input name="keywords" type="text" value="">

       <input type="submit" value="立刻查找" id=submit name=submit>
         </td></form>
  </tr> 
</table>
  
<table width="98%" border="0" cellspacing="0" cellpadding="0" align=center class="tableBorder"> 
  <form name="myform"  method="post" action="deljobuser.asp">
 <tr><td colspan="8" align="left" height="20">&nbsp;<a href="jobkind.asp"><font color="#0066CC"><b>职业类别管理</b></font></a>&nbsp;&nbsp;<a  href="work.asp"><font color="#0066CC"><b>招聘信息管理</b></font></a> &nbsp;&nbsp;<a href="getjobdes.asp" ><font color="#0066CC"><b>求职注册协议管理</b></font></a></td >
 </tr>
   
  <%
	set rs=server.CreateObject("adodb.recordset")
   sqlz="select  * from Websen_jobuser  order by addtime "
   rs.open sqlz,conn,1,1
   msg_per_page=20 '定义每页显示记录条数
 %><!--#include file="../../inc/headpage.asp"-->
<tr> 
 <%
	 
 if rs.eof then
response.Write"<td><br><br><div align='center'>暂无数据信息</div><br><br></td>"
else
%>

<tr bgcolor="#93AFE3"  style="color:#FFFFFF; font-weight:bold"><td width="2%"></td>
<td width="28%" height="30">姓名(登录名)</td>
<td width="10%">注册日期</td>
<td width="6%">状态</td>
<td width="13%">简历被访问次数</td>
<td width="6%">性别</td>
<td width="16%">区域</td>
<td width="19%">操作</td>
</tr>

  <%
  i=1
 do while not rs.eof and rowcount > 0
%>
 <TR  <%if i mod 2=0 then response.Write("bgcolor=#ffffff  onMouseOut=""this.style.backgroundColor='#ffffff'"" onMouseOver=""this.style.backgroundColor='#D7E3F3'""") else response.Write(" bgcolor=#EEF0F2   onMouseOut=""this.style.backgroundColor='#EEF0F2'"" onMouseOver=""this.style.backgroundColor='#D7E3F3'""") end if%>>
 <td><input name='jobuserid' type='checkbox'  id="jobuserid" value='<%=rs("id")%>'></td>
 
   <td height="25">
   <a href="getjobpinfo.asp?id=<%=rs("id")%>&jobusername=<%=rs("truename")%>(<%=rs("jobuser")%>)">
   <%
   if trim("ok"&rs("truename"))	="ok" then
   response.Write("<font color=#cccccc>未提供</font>")
   else
   response.Write(rs("truename"))
   end if
   %>
    
   (<font color="red"><%=rs("jobuser")%></font>)</a></td><td><%=rs("addtime")%></td><td>
   
   <%
   if rs("islock")="1" then 
   response.Write("<font color=red>被锁定</font>")
  else
  response.Write("正常")
   end if
   %>
   </td><td align="center"><%=rs("hits")%></td><td><%
   if trim("a"&rs("sex"))="a" then
   response.Write("<font color=#999999>保密</font>")
   else
   response.Write(rs("sex"))
    end if
   %></td><td><%=rs("country")%>-<%=rs("province")%>-<%=rs("city")%></td>
   <td>
   <%if rs("islock")="0" then %>
   <a href="lockjobuser.asp?jobuserid=<%=rs("id")%>">锁定</a>
   <%else  %>
   <a href="openjobuser.asp?jobuserid=<%=rs("id")%>">解锁</a>
   <%end if %>
  <%
   if rs("tuijian")=1 then
   
   
   %>
   <a href="getjobtj.asp?typeid=0&jobuserid=<%=rs("id")%>"><font color="red">已推荐</font></a>
   <%else%>
      <a href="getjobtj.asp?typeid=1&jobuserid=<%=rs("id")%>">未推荐</a>

   <%end if%>
   <a href="deljobuser.asp?jobuserid=<%=rs("id")%>&action=del"  onClick="return isdel();">删除</a></td> </tr>
  <%
 i=i+1
rowcount=rowcount-1
 rs.movenext
loop
end if
%>
	
<tr><td height="30" colspan="8" align="center" bgcolor="#F7F7F7"><input name="" type="button" value="全选" onClick="CheckAll();">
  <input type="button" name="Submit2" value="反选" onClick="UnSelect();">
      <input type="button" name="Submit3" value="全不选" onClick="UnAll();">
	  <input type="hidden" name="action" value="del"  />
	   <input type="submit" name="delbtn" value="删除所选项" onClick="return retval('你确定要删除吗？');"></td>
</tr>
	  	 
<tr  align="center">	<td  colspan="8"> 
 
       <%=listPages("getjobp.asp")%>   </td> 
  </tr> </form>
</table>



  
<!--#include file="../copy.asp" -->
<%
rs.close
conn.close
%>