{#include file="sys/admin_header.htm"#}
<script type="text/javascript">
$(document).ready(function()
{
	$("#ButDel").QSdialog({
	DialogContent:"#GetDelInfo",
	DialogContentType:"id",
	DialogAddObj:"#DelSel",	
	DialogWidth:"500",
	DialogAddType:"html"	
	});
});
</script>
<div class="admin_main_nr_dbox">
<div class="pagetit">
	<div class="ptit"> {#$pageheader#}</div>
  <div class="clear"></div>
</div>
  <div class="seltpye_x">
		<div class="left">验证类型</div>	
		<div class="right">
		<a href="{#"verification:"|qishi_parse_url#}" {#if $smarty.get.verification==""#}class="select"{#/if#}>不限</a>
		<a href="{#"verification:1"|qishi_parse_url#}" {#if $smarty.get.verification=="1"#}class="select"{#/if#}>邮箱已验证</a>
		<a href="{#"verification:2"|qishi_parse_url#}" {#if $smarty.get.verification=="2"#}class="select"{#/if#}>邮箱未验证</a>
		<a href="{#"verification:3"|qishi_parse_url#}" {#if $smarty.get.verification=="3"#}class="select"{#/if#}>手机已验证</a>
		<a href="{#"verification:4"|qishi_parse_url#}" {#if $smarty.get.verification=="4"#}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=delete_user">
  {#$inputtoken#}
  <table width="100%" border="0" cellpadding="0" cellspacing="0"  id="list" class="link_lan">
    <tr>
      <td  class="admin_list_tit admin_list_first" >
      <label id="chkAll"><input type="checkbox" name=" " title="全选/反选" id="chk"/>用户名</label></td>
      <td  class="admin_list_tit">email</td>
	  <td  class="admin_list_tit">手机</td>
      <td  class="admin_list_tit">企业信息</td>
      <td width="13%"   align="center"   class="admin_list_tit">注册时间</td>
	  <td width="13%"   align="center"   class="admin_list_tit">最后登录时间</td>
      <td width="13%"  align="center"  class="admin_list_tit" >操作</td>
    </tr>
	{#foreach from=$member item=list#}
      <tr>
      <td class="admin_list admin_list_first">
        <input name="tuid[]" type="checkbox"   value="{#$list.uid#}"/>{#$list.username#}
		</td>
 		<td class="admin_list">
		{#$list.email#}
		{#if $list.email_audit=="1"#}<span style="color:#009900">[验]</span>{#/if#}
		</td>
		 <td  class="admin_list">
		 {#if $list.mobile#}{#$list.mobile#}{#else#}未填写{#/if#}
		{#if $list.mobile_audit=="1"#}<span style="color:#009900">[验]</span>{#/if#}
		</td>
        <td class="admin_list">
		{#if $list.companyname#}
		<a href="{#$list.company_url#}" target="_blank">{#$list.companyname#}</a>
		{#else#}<span style="color: #999999">未完善企业资料</span>
		{#/if#}
		</td>
		<td align="center" class="admin_list">
		{#$list.reg_time|date_format:"%Y-%m-%d"#}
		</td>
		<td align="center" class="admin_list">
		{#if $list.last_login_time#}
		{#$list.last_login_time|date_format:"%Y-%m-%d"#}
		{#else#}
		从未登录
		{#/if#}
		</td>       
        <td align="center" class="admin_list">
		<a href="?act=user_edit&tuid={#$list.uid#}">修改</a>
		&nbsp;
		<a href="?act=management&id={#$list.uid#}"  target="_blank">管理</a>
		</td>
      </tr>
      {#/foreach#}
    </table>
	<span id="DelSel"></span>
  </form>
	{#if !$member#}
	<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="open" value="添加会员" class="admin_submit"  onclick="window.location.href='?act=members_add'"/>
		<input type="button" name="ButDel"  id="ButDel" value="删除会员" class="admin_submit"/>
		</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="UID">UID</li>
														<li id="3" title="email">email</li>
														<li id="4" title="手机号">手机号</li>
														<li id="5" title="公司名">公司名</li>
														</ul>
												</div>
						</div>				
				</div>
				<div class="sbtbox">
				<input name="act" type="hidden" value="members_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 id="GetDelInfo" style="display: none" >
	  <table width="100%" border="0" align="center" cellpadding="0" cellspacing="6" >
		<tr>
		  <td width="30" height="30">&nbsp;</td>
		  <td height="30"><strong  style="color:#0066CC; font-size:14px;">你确定要删除吗？</strong></td>
		</tr>
			  <tr>
		  <td width="27" height="25">&nbsp;</td>
		  <td><label>
			<input name="delete_user" type="checkbox" id="delete_user" value="yes" checked="checked" />
			删除此会员 <span style="color:#666666">(删除后此会员将无法登录，无法管理已发布的信息等)<span></label></td>
		</tr>
		<tr>
		  <td width="27" height="25">&nbsp;</td>
		  <td width="425"><label>
			<input name="delete_company" type="checkbox" id="delete_company" value="yes" checked="checked" />
			删除此会员的企业资料</label></td>
		</tr>
		<tr>
		  <td width="27" height="25">&nbsp;</td>
		  <td width="425"><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>
{#include file="sys/admin_footer.htm"#}
</body>
</html>