 <table width="100%" border="0" class="adminform">
  <tr><th align="left">父菜单</th></tr>
  <tr>
      
      <td><label>
       <select name="form[parent_id]">  
        <option value="0">顶级菜单</option>
         <?php foreach($menu as $menu){?>
       <option value="<?=$menu['id']?>" <?php if($menu['id']==$countent->parent_id){ echo "selected";}?> ><?=$menu['menu_name']?></option>
       <? }?>
       </select>
      </label></td>
    </tr>
    <tr><th align="left">名称</th></tr>
    <tr>
      
      <td><label>
        <input type="text" class="text"name="form[menu_name]" id="form[menu_name]"  value="<?=$countent->menu_name?>" dataType="Require" msg='名称必填'/>
      </label></td>
    </tr>
     <tr><th align="left">URL</th></tr>
    <tr>
     
      <td><input type="text" class="text"name="form[menu_url]" id="form[menu_url]" value="<?=$countent->menu_url?>" /></td>
    </tr>
    <tr><th align="left">排序</th>
    </tr>
    <tr>
     
      <td align="left"><input name="form[menu_order]" type="text" class="text"id="form[menu_order]" size="6"  value="<?=$countent->menu_order?>"/></td>
    </tr>
    <tr><th align="left">角色</th></tr>
    <tr>
     
      <td align="left"><?php foreach($group as $group){?><input type="checkbox" name="menu_roles[]" id="menu_roles[]"  value="<?=$group['group_id']?>" <?php if(is_array($getroles)){if(in_array($group['group_id'],$getroles)){echo "checked";}}?>/><?=$group['group_value']?>&nbsp;<?php }?></td>
    </tr>
<!--<tr><th align="left">标识</th></tr>
        <tr>
      
      <td><input type="text" class="text"name="form[menu_marking]" id="form[menu_marking]" value="<?=$countent->menu_marking?>" /></td>
    </tr>-->
    <tr>
      <td colspan="2"><label>
      <input  type="hidden" name="form[id]" id="form[id]" value="<?=$countent->id?>" />
        <input type="submit"  id="button" value="提交" class="submit" />
      </label></td>
    </tr>
  </table>