<!-- #include file="../../themes/admin/~css.php" -->
<form style="width:500px;" action="<?=url(RPGM.'usernew/?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="username" value="" id="username"/>
    </div>
</div>
<div class="fieldwrapper">
	<label for="" class="styled">Email</label>
	<div class="thefield">
    <input name="email" id="email" value=""  />
    </div>
</div>
<div class="fieldwrapper">
	<label for="" class="styled">登陆密码</label>
	<div class="thefield">
    <input name="pass" type="password" id="pass" value=""  />
    </div>
</div>
<div class="fieldwrapper">
	<label for="" class="styled">性别</label>
	<div class="thefield">
   <select name="sex"><option value="0"> 男 
                          </option>
      <option value="1" > 女 
                          </option>                          
    </select> 
    </div>
</div>
<div class="fieldwrapper">
	<label for="" class="styled">身份</label>
	<div class="thefield">
    <select name="team">
    <?php foreach($conf['sys_teams'] as $k=>$v){?>
                          <option value="<?=$k?>"  <?=$k===0?'selected="selected"':''?>>
                          <?=htmlspecialchars($v['name'])?>
                          </option>
      <?php }?>                   
                        </select>
    </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("username");
</script>
