<div class="breadcrumbs" id="breadcrumbs">
	<ul class="breadcrumb">
		<li>
			<i class="home-icon fa fa-home"></i>
			<a href="#">会员</a>
		</li>
		<li>
			<a href="#">会员管理</a>
		</li>
		<li class="active">会员列表回收站</li>
	</ul>
</div>

<form action="" method="post" name="member_list" onsubmit="return checkboxCheck('check[]','尚未选中任何记录！')">
	<div class="content">
		<table class="table list-table">
			<colgroup>
				<col width="35px" />
				<col />
				<col width="90px" />
				<col width="110px" />
				<col width="50px" />
				<col width="100px"/>
				<col width="70px" />
				<col width="70px" />
				<col width="110px" />
				<col width="110px" />
				<col width="90px" />
			</colgroup>
			<caption>
                <a class="btn btn-default" href='{url:/member/member_list}'>
                    <i class="fa fa-reply"></i>返回列表
                </a>
                <a class="btn btn-default" onclick="selectAll('check[]')">
                    <i class="fa fa-check"></i>全选
                </a>
                <a class="btn btn-default" onclick="delModel({'form':'member_list','link':'{url:/member/member_del}','name':'check[]'})">
                    <i class="fa fa-close"></i>永久删除
                </a>
                <a class="btn btn-default" onclick="delModel({'form':'member_list','link':'{url:/member/member_restore}','name':'check[]','msg':'恢复选择的用户？'})">
                    <i class="fa fa-recycle"></i>还原
                </a>
			</caption>
			<thead>
				<tr>
					<th></th>
					<th>用户名</th>
					<th>会员等级</th>
					<th>姓名</th>
					<th>性别</th>
					<th>Email</th>
					<th>积分</th>
					<th>经验值</th>
					<th>注册日期</th>
					<th>手机</th>
					<th>操作</th>
				</tr>
			</thead>

			<tbody>
               {foreach:items=$this->query->find()}
				<tr>
					<td><input name="check[]" type="checkbox" value="{$item['user_id']}" /></td>
					<td>{$item['username']}</td>
					<td>{$group[$item['group_id']]}</td>
					<td>{$item['true_name']}</td>
					<td>{if:$item['sex']=='1'}男{elseif:$item['sex']=='2'}女{else:}保密{/if}</td>
					<td>{$item['email']}</td>
					<td>{$item['point']}</td>
					<td>{$item['exp']}</td>
					<td>{$item['time']}</td>
					<td>{$item['mobile']}</td>
					<td>
						<a href="{url:/member/member_restore/check/$item['user_id']}"><i class='operator fa fa-reply'></i></a>
						<a href="{url:/member/member_del/check/$item['user_id']}"><i class='operator fa fa-close'></i></a>
					</td>
				</tr>
				{/foreach}
			</tbody>
		</table>
	</div>
    {$this->query->getPageBar()}
</form>