<!-- #include file="../../themes/admin/~css.php" -->
<form style="width:500px;" action="<?=url(RPGM.'gusernew/?ajax')?>" method="post" onsubmit="return yun_submit(this.id)" id="form" >
<h3 class="title">新建用户组</h3>

<div class="in">

<div class="fieldwrapper">
	<label for="" class="styled">身份名</label>
	<div class="thefield">
    <input name="gname" value="" id="gname"/>
    </div>
</div>
<div class="fieldwrapper">
	<label for="" class="styled">基本权限</label>
	<div class="thefield">
    <ul>
	<?php foreach($conf['sys_pvnames'] as $k=>$v){?>
    <li><input type="checkbox" name="pvs[<?=$k?>]" value="1"> <?=html($v)?></li>
	<?php }?>
    </ul>
    </div>
</div>
<div class="fieldwrapper">
	<label for="" class="styled">后台菜单</label>
	<div class="thefield">
    <ul>
	<?php
	$smenu=getval('smenu');
	foreach($smenu as $k=>$v){?>
    <li><input type="checkbox" name="adminpvs[<?=$k?>]" value="1"> <?=html($v[3])?></li>
	<?php }?>
    </ul>
    </div>
</div>

<div class="buttonsdiv" >
	<input value="提交" type="submit" class="button"> 
    <input value="重置" type="reset" class="button">
</div>

</div>

</form>

  
<script type="text/javascript">
	yun_onfocus("gname");
</script>
