?> </select> <input class="sub2" id="submitBtn" type="submit" value="修改"> </span> </div> <table style="margin-top:10px;" cellspacing="0" cellpadding="0" class="tab" width="98%"> <tr> <th align="left"><input type="checkbox" id="menu_selectAll" value="1" onclick="power_selectAll('menu_selectAll','menu_item_')" >選單</th> <th align="left"><input type="checkbox" id="list_selectAll" value="1" onclick="power_selectAll('list_selectAll','list_')">列表</th> <th align="left"><input type="checkbox" id="add_selectAll" value="1" onclick="power_selectAll('add_selectAll','add_')" >新增</th> <th align="left"><input type="checkbox" id="edit_selectAll" value="1" onclick="power_selectAll('edit_selectAll','edit_')" >修改</th> <th align="left"><input type="checkbox" id="delete_selectAll" value="1" onclick="power_selectAll('delete_selectAll','delete_')" >刪除</th> </tr> <?php $class = new section(); foreach (resetArray(0, $class->getList()) as $rs) { ?> <tr onMouseOver="this.bgColor='#00CCFF'" onMouseOut="this.bgColor='#FFFFFF'"> <td><input type="checkbox" name="perm_id[]" pid="<?php echo $rs['parent_id']; ?> " id="menu_item_<?php echo $rs["id"]; ?> _END" value="<?php echo $rs["id"]; ?> " onclick="power_selectAll('menu_item_<?php echo $rs["id"]; ?> _END','_item_<?php