<?php foreach($menu as $tmp){?>
<fieldset>
	<legend><?=form::checkbox('menu_id[]',$tmp->id,in_array($tmp->id,$group)?true:false,"id=acl_".$tmp->id." class='acl'").$tmp->menu_name?></legend>
        <ul class="aclList">
    <?php foreach($menuII[$tmp->id] as $tmpII){?>
    	 <li style="width:80px; float:left; display:block; overflow:hidden; height:25px;"><?=form::checkbox('menu_id[]',$tmpII->id,in_array($tmpII->id,$group)?true:false,"id=acl_".$tmp->id."_".$tmpII->id." class='acl'").$tmpII->menu_name?></li>
    <?php }?>
        </ul>
</fieldset>
<?php }?>
<div style="padding:5px;">
<input type="hidden" value="<?=$id?>" name="group_id" />
<input type="submit" value="分配" name="submit" class="submit" />
</div>