

<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>
  </tr>
  </thead>
  <tbody>
  <?php $a=1; foreach($groups as $group){
  
  ?>
  <tr class="row0">
   <td><input name="select_id[]" type="checkbox" class="checkbox" id="cb<?=$a?>" value="<?=$group['group_id']?>" /></td>
    <td><?=$group['group_name']?>&nbsp;</td>
    <td><?=$group['description']?>&nbsp;</td>
   	<td>
		<?=html::anchor(BASEURI."member_group/assign/".$group['group_id'],'分配权限')?>
		<?=html::anchor(BASEURI."member_group/edit/".$group['group_id'],'编辑')?>
		<?=html::anchor(BASEURI."member_group/delete/".$group['group_id'],'删除',array('onclick'=>"return confirm('请确认是否删除')"))?>
    </td>
  </tr>
  <? $a++; }?>
  </tbody>
  <tfoot>
  <tr>
    <td colspan="5">
    <input type="button"  class="submit" value="新增" accesskey="N" onclick="button_location('<?=BASEURI?>member_group/add')"/>
    <input type="button"  class="submit" value="删除" accesskey="D" onclick="select_control('<?=BASEURI?>member_group/delete','请确是否删除')"/>
    </td>
  </tr>
  </tfoot>
</table>
