<?php include mymps_tpl('inc_head');?>
<style>
label{float:left; width:180px; height:16px; display:block}
</style>
<script language='javascript'>
	function checkSubmit()
  {
     if(document.form1.typename.value==""){
	     alert("组名不能为空！");
	     document.form1.userid.focus();
	     return false;
     }
     return true;
 }
</script>
<div id="mymps" style="padding-bottom:0">
	<div class="mpstopic-category">
		<div class="panel-tab">
			<ul class="clearfix tab-list">
				<li><a href="?do=group" <?php if($part == 'list'){?>class="current"<?php }?>>用户组</a></li>
				<li><a href="?do=group&part=add" <?php if($part == 'add'){?>class="current"<?php }?>>增加用户组</a></li>
			</ul>
		</div>
	</div>
</div>
<div id="mymps">
<table border="0" cellspacing="0" cellpadding="0" class="vbm">
	<form name="form1" action="?do=group&part=insert" onSubmit="return checkSubmit();" method="post">
    <input type="hidden" name="ifsystem" value="0">
    <tr class="firstr">
      <td colspan="4">用户组基本设置</td>
      </tr>
      <tr bgcolor="#f5fbff" >
        <td width="80" >用户组名称：</td>
        <td ><input name="typename" id="userid" size="16" class="text" type="text"/></td>
      </tr>
      <tr class="firstr">
      <td colspan="2">
        <div class="left"><a href="javascript:collapse_change('2')">用户组权限设置</a></div>
        <div class="right"><a href="javascript:collapse_change('2')"><img id="menuimg_2" src="template/images/menu_reduce.gif"/></a></div>
      </td>
      </tr>
      <tbody id="menu_2">
	  <?php echo mymps_admin_purview();?>
      </tbody>
	  <tr bgcolor="#f5fbff">
        <td height="60">&nbsp;</td>
        <td>
        <input type="submit" name="Submit" value="增加用户组" class="mymps mini"/>
        　<input type="button" onClick=history.back() value="返 回" class="mymps mini">            </td>
      </tr>
        </form>
        </table>
</div>
<?php mymps_admin_tpl_global_foot();?>