{#include file="sys/admin_header.htm"#}
<script type="text/javascript" src="js/jquery.userinfotip-min.js"></script>
<script type="text/javascript">
$(document).ready(function()
{
	$("#ButAudit").QSdialog({
	DialogTitle:"请选择",
	DialogContent:"#OpAuditLayer",
	DialogContentType:"id",
	DialogAddObj:"#OpAudit",	
	DialogAddType:"html"	
	});
	$("#ButDel").QSdialog({
	DialogTitle:"请选择",
	DialogContent:"#OpDelLayer",
	DialogContentType:"id",
	DialogAddObj:"#OpDel",	
	DialogAddType:"html"	
	});
	$("#Butrefresh").QSdialog({
	DialogTitle:"请选择",
	DialogContent:"#OprefreshLayer",
	DialogContentType:"id",
	DialogAddObj:"#Oprefresh",	
	DialogAddType:"html"	
	});
	$("#fail").click(function(){
		$("#reason").show();
	});
	$("#wait").click(function(){
		$("#reason").hide();
	});
	$("#success").click(function(){
		$("#reason").hide();
	});
});
</script>
<div class="admin_main_nr_dbox">
<div class="pagetit">
	<div class="ptit"> {#$pageheader#}</div>
	{#include file="hunter/admin_hunter_nav.htm"#}
  <div class="clear"></div>
</div>
	<div class="seltpye_x">
		<div class="left">实名认证</div>	
		<div class="right">
			<a href="{#"card_audit:"|qishi_parse_url#}" {#if $smarty.get.card_audit==""#} class="select"{#/if#}>不限</a>
			<a href="{#"card_audit:1"|qishi_parse_url#}" {#if $smarty.get.card_audit=="1"#}class="select"{#/if#}>认证通过</a>
			<a href="{#"card_audit:2"|qishi_parse_url#}" {#if $smarty.get.card_audit=="2"#}class="select"{#/if#}>等待认证</a>
			<a href="{#"card_audit:3"|qishi_parse_url#}" {#if $smarty.get.card_audit=="3"#}class="select"{#/if#}>认证未通过</a>
			<a href="{#"card_audit:0"|qishi_parse_url#}" {#if $smarty.get.card_audit=="0"#}class="select"{#/if#}>未认证</a>
			<div class="clear"></div>
		</div>
		<div class="clear"></div>
  </div>

  <div class="seltpye_x">
		<div class="left">从业认证</div>	
		<div class="right">
			<a href="{#"belongcompany_audit:"|qishi_parse_url#}" {#if $smarty.get.belongcompany_audit==""#} class="select"{#/if#}>不限</a>
			<a href="{#"belongcompany_audit:1"|qishi_parse_url#}" {#if $smarty.get.belongcompany_audit=="1"#}class="select"{#/if#}>认证通过</a>
			<a href="{#"belongcompany_audit:2"|qishi_parse_url#}" {#if $smarty.get.belongcompany_audit=="2"#}class="select"{#/if#}>等待认证</a>
			<a href="{#"belongcompany_audit:3"|qishi_parse_url#}" {#if $smarty.get.belongcompany_audit=="3"#}class="select"{#/if#}>认证未通过</a>
			<a href="{#"belongcompany_audit:0"|qishi_parse_url#}" {#if $smarty.get.belongcompany_audit=="0"#}class="select"{#/if#}>未认证</a>
			<div class="clear"></div>
		</div>
		<div class="clear"></div>
  </div>
  <div class="seltpye_x">
		<div class="left">照片认证</div>	
		<div class="right">
			<a href="{#"avatars_audit:"|qishi_parse_url#}" {#if $smarty.get.avatars_audit==""#} class="select"{#/if#}>不限</a>
			<a href="{#"avatars_audit:1"|qishi_parse_url#}" {#if $smarty.get.avatars_audit=="1"#}class="select"{#/if#}>认证通过</a>
			<a href="{#"avatars_audit:2"|qishi_parse_url#}" {#if $smarty.get.avatars_audit=="2"#}class="select"{#/if#}>等待认证</a>
			<a href="{#"avatars_audit:3"|qishi_parse_url#}" {#if $smarty.get.avatars_audit=="3"#}class="select"{#/if#}>认证未通过</a>
			<a href="{#"avatars_audit:0"|qishi_parse_url#}" {#if $smarty.get.avatars_audit=="0"#}class="select"{#/if#}>未认证</a>
			<div class="clear"></div>
		</div>
		<div class="clear"></div>
  </div>

  <div class="seltpye_x">
		<div class="left">添加时间</div>	
		<div class="right">
		<a href="{#"settr:"|qishi_parse_url#}" {#if $smarty.get.settr==""#}class="select"{#/if#}>不限</a>
		<a href="{#"settr:3"|qishi_parse_url#}" {#if $smarty.get.settr=="3"#}class="select"{#/if#}>三天内</a>
		<a href="{#"settr:7"|qishi_parse_url#}" {#if $smarty.get.settr=="7"#}class="select"{#/if#}>一周内</a>
		<a href="{#"settr:30"|qishi_parse_url#}" {#if $smarty.get.settr=="30"#}class="select"{#/if#}>一月内</a>
		<a href="{#"settr:180"|qishi_parse_url#}" {#if $smarty.get.settr=="180"#}class="select"{#/if#}>半年内</a>
		<a href="{#"settr:360"|qishi_parse_url#}" {#if $smarty.get.settr=="360"#}class="select"{#/if#}>一年内</a>
		<div class="clear"></div>
		</div>
		<div class="clear"></div>
	</div>
  <form id="form1" name="form1" method="post" action="?act=hunter_perform">
  {#$inputtoken#}
  <table width="100%" border="0" cellpadding="0" cellspacing="0"  id="list" class="link_lan">
    <tr>
      <td  width="20%" class="admin_list_tit admin_list_first">
      <label id="chkAll"><input type="checkbox" name=" " title="全选/反选" id="chk"/>所属会员</label>
	  </td>
	  <td  width="18%" class="admin_list_tit">所在公司</td> 
	  <td  width="15%" class="admin_list_tit">真实姓名</td> 
	  <td  align="center" class="admin_list_tit">邮箱</td>
	  <td  align="center" class="admin_list_tit">手机号</td>
	  <td  align="center" class="admin_list_tit">注册时间</td>
	  <td  align="center" class="admin_list_tit">最近登陆</td>
	  <td  align="center" class="admin_list_tit">目前经验</td>
	  <td  align="center" class="admin_list_tit">目前积分</td>
      <td  align="center" class="admin_list_tit">操作</td>
    </tr>
	{#foreach from=$clist item=list#}
      <tr >
      <td class="admin_list admin_list_first" >
        <input name="y_id[]" type="checkbox" id="y_id" value="{#$list.uid#}" />
		<a href="{#"QS_hunter_show,id:"|cat:$list.id|qishi_url#}" target="_blank">{#$list.username#}</a>
		{#if $list.avatars<>""#}
		<span style="color: #009900"  class="vtip" title="<img src={#$QISHI.site_dir#}data/hunter/photo_img/{#$list.avatars#}  border=0  align=absmiddle>">[照片：{#if $list.avatars_audit==1#}已认证{#else#}<span style="color:red">未认证</span>{#/if#}]</span>
		{#/if#}	
		</td>
		<td  class="admin_list">
		{#$list.belongcompany#}
		<span style="color: #009900"  class="vtip" title="公司名称：{#$list.belongcompany#}<br>公司电话：{#$list.companytelephone#}">[从业认证：{#if $list.belongcompany_audit==1#}已认证{#else#}<span style="color:red">未认证</span>{#/if#}]</span>
		</td>
		<td  class="admin_list">
		{#$list.fullname#}
		<span style="color: #009900"  class="vtip" title="身份证号：{#$list.card#}<br><img src={#$QISHI.site_dir#}data/hunter/card_img/{#$list.card_img#}  border=0  align=absmiddle>">[实名认证：{#if $list.card_audit==1#}已认证{#else#}<span style="color:red">未认证</span>{#/if#}]</span>
		</td>
		<td align="center" class="admin_list">
		<span  class="vtip" title="{#$list.email#}">{#$list.email#}</span>
		</td>
		<td align="center" class="admin_list">
		<span  class="vtip" title="{#$list.mobile#}">{#$list.mobile#}</span>
		</td>
		<td align="center" class="admin_list">
		{#$list.reg_time|date_format:"%Y-%m-%d"#}
		</td>
		<td align="center" class="admin_list">
		{#$list.last_login_time|date_format:"%Y-%m-%d"#}
		</td>
		<td align="center" class="admin_list">
			<strong>{#$list.level#}</strong>经验
		</td>
		<td align="center" class="admin_list">
			<strong>{#$list.points#}</strong> 积分
		</td>
        <td width="15%" align="center" class="admin_list">
		<a href="?act=edit_hunter_profile&id={#$list.id#}&uid={#$list.uid#}">修改</a>
		&nbsp;
		<a href="?act=management&id={#$list.uid#}"  target="_blank"  class="userinfo"  id="{#$list.uid#}">管理</a>
		</td>
      </tr>
      {#/foreach#}
    </table>
<span id="OpAudit"></span>
<span id="OpDel"></span>
<span id="Oprefresh"></span>
  </form>
	{#if !$clist#}
	<div class="admin_list_no_info">没有任何信息！</div>
	{#/if#}
  
	<table width="100%" border="0" cellspacing="10" cellpadding="0" class="admin_list_btm">
      <tr>
        <td>
        <input type="button" name="" value="认证猎头" class="admin_submit"  id="ButAudit" />
		<input type="button" name="" value="删除" class="admin_submit"   id="ButDel"/>
		  
		</td>
        <td width="305" align="right">
		<form id="formseh" name="formseh" method="get" action="?">	
			<div class="seh">
			    <div class="keybox"><input name="key" type="text"   value="{#$smarty.get.key#}" /></div>
			    <div class="selbox">
					<input name="key_type_cn"  id="key_type_cn" type="text" value="{#$smarty.get.key_type_cn|default:"猎头名"#}" readonly="true"/>
						<div>
								<input name="key_type" id="key_type" type="hidden" value="{#$smarty.get.key_type|default:"1"#}" />
												<div id="sehmenu" class="seh_menu">
														<ul>
														<li id="1" title="猎头名">猎头名</li>
														<li id="2" title="公司名">公司名</li>
														<li id="3" title="会员名">会员名</li>
														</ul>
												</div>
						</div>				
				</div>
				<div class="sbtbox">
				<input name="act" type="hidden" value="hunter_list" />
				<input type="submit" name="" class="sbt" id="sbt" value="搜索"/>
				</div>
				<div class="clear"></div>
		  </div>
		  </form>
		  <script type="text/javascript">$(document).ready(function(){showmenu("#key_type_cn","#sehmenu","#key_type");});	</script>
	    </td>
      </tr>
  </table>
<div class="page link_bk">{#$page#}</div>
</div>
<div style="display:none" id="OpDelLayer">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="6" >
    <tr>
      <td height="30" colspan="2"><strong  style="color:#0066CC; font-size:14px;">你确定要删除吗？</strong></td>
      </tr>
    <tr>
      <td width="20" height="25">&nbsp;</td>
      <td><label>
        <input name="delete_hunter" type="checkbox" id="delete_hunter" value="yes" checked="checked" />
        删除猎头资料</label></td>
    </tr>
	<tr>
      <td height="25">&nbsp;</td>
      <td><label>
        <input name="delete_jobs" type="checkbox" id="delete_jobs" value="yes" checked="checked"/>
        删除此猎头发布的招聘信息</label></td>
    </tr>
	<tr>
	  <td height="25">&nbsp;</td>
	  <td><input type="submit" name="delete" value="确定" class="admin_submit"    /></td>
	  </tr>
  </table>
</div>
<div style="display:none" id="OpAuditLayer">
 <table width="100%" border="0" align="center" cellpadding="0" cellspacing="6" >
    <tr>
      <td width="20" height="30">&nbsp;</td>
      <td height="30"><strong  style="color:#0066CC; font-size:14px;">将所选猎头设置为：</strong></td>
    </tr>
		
	      <tr>
      <td height="25">&nbsp;</td>
      <td>
      实名认证：
	  <label ><input name="audit[card_audit]" type="radio" value="1" checked="checked"  id="success" />认证通过</label>
	  <label ><input name="audit[card_audit]" type="radio" value="3" id="success" />认证未通过</label>	  
      </td>
    </tr>
    <tr>
      <td height="25">&nbsp;</td>
      <td>
      从业认证：
      <label ><input name="audit[belongcompany_audit]" type="radio" value="1" checked="checked"  id="success" />认证通过</label>
	  <label ><input name="audit[belongcompany_audit]" type="radio" value="3" id="success" />认证未通过</label>
      </td>
    </tr>
	 <tr>
      <td height="25">&nbsp;</td>
      <td>
      照片认证：
      <label ><input name="audit[avatars_audit]" type="radio" value="1" checked="checked"  id="success" />认证通过</label>
	  <label ><input name="audit[avatars_audit]" type="radio" value="3" id="success" />认证未通过</label>
      </td>
    </tr>
    <tr>
      <td width="40" height="25">&nbsp;</td>
      <td>
		  <label><input type="checkbox" name="pms_notice" value="1"  checked="checked"/>
		  站内信通知
		   </label>
	  </td>
    </tr>
<!-- 	<tr style="display:none" id="reason">
      <td width="40" height="25" >理由：</td>
      <td>
         <textarea name="reason" id="reason" cols="50" style="font-size:12px"></textarea>            
      </td>
    </tr> -->
    <tr>
      <td height="25">&nbsp;</td>
      <td><input type="submit" name="set_audit" value="确定" class="admin_submit"/></td>
    </tr>		  
  </table>
</div>
<!-- -->
{#include file="sys/admin_footer.htm"#}
</body>
</html>