

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