<?php $status	=	array("<span color='#FF0000'>待审核</span>","通过")?>
<table border="0" class="search" cellspacing="0">
   	<tr>
    	<td class="searchlogo"></td>
     	<td>会员名称:<input type="text" name="searc[user_name]" class="text" style="width:100px;"/></td>
       	<td>会员组:</td>
       	<td>注册日期:<input type="text" name="searc[user_name]" class="text" style="width:100px;"/></td>
      	<td></td>
      	<td><input type="button" class="submit" value="搜索" /></td>
    </tr>
</table>
<table width="100%" border="0" class="adminlist" cellspacing="0">

  <thead>
  <tr>
 	 <th><input id="toggle" type="checkbox" value=""/></th>
    <th>名称</th>
    <th>审核</th>
    <th>用户组</th>
    <th>注册日期</th>
    <th>积分</th>
    <th>登录次数</th>
    <th>操作</th>
  </tr>
  </thead>
  <tbody>
  <?php $a=0; foreach($memberList as $member){ 
  
  ?>
  <tr class="row">
   <td><input name="select_id[]" type="checkbox"  class="checkbox" id="cb<?=$a++?>" value="<?=$member->user_id?>" /></td>
    <td><?=$member->user_name?>&nbsp;</td>
    <td align="center"><?=$status[$member->status]?>&nbsp;</td>
    <td><?=$member->group_name?>&nbsp;</td>
    <td><?=date("Y-m-d H:i:s",$member->regtime);?>&nbsp;</td>
    <td align="center"><?=$member->integral?>&nbsp;</td>
    <td align="center"><?=$member->logintimes?>&nbsp;</td>
   	<td>
		<?=html::anchor(BASEURI."member_manager/edit/".$member->user_id,'编辑')?>
		<?=html::anchor(BASEURI."member_manager/delete/".$member->user_id,'删除',array('onclick'=>"return confirm('请确认是否删除')"))?>
    </td>
  </tr>
  <?  }?>
  </tbody>
  <tfoot>
      <tr>
        <td colspan="3"><input type="button"  class="submit" value="删除" onclick="select_control('<?=BASEURI?>member_manager/delete','请确是否删除')"/>
        <input type="button" class="submit" value="禁用帐号" onclick="select_control('<?=BASEURI?>member_manager/review/0','请确所选会员帐号是否禁用')"/>
        <input type="button" class="submit" value="启用帐号" onclick="select_control('<?=BASEURI?>member_manager/review/1','请确所选会员帐号是否启用')"/>
        <input type="button" value="新增" accesskey="N" class="button" onclick="button_location('<?=BASEURI?>member_manager/add')" />
        </td>
        <td colspan="4">
        	<?=$this->pagination->render('digg')?>
        </td>
      </tr>
  </tfoot>
  
</table>
