<!-- #include file="../../themes/admin/~css.php" -->
<form style="width:550px" action="<?=url(RPGM.'useredit/?ajax&id='.$arg_1)?>" method="post" id="form" onsubmit="return yun_submit(this.id)">
<h3 class="title">修改用户</h3>
<div class="in">

<div class="fieldwrapper">
	<label for="" class="styled">用户名</label>
	<div class="thefield">
    <input name="" disabled="disabled" value="<?=$arg_0['name']?>" /> 
    </div>
</div>
<div class="fieldwrapper">
	<label for="" class="styled">Email</label>
	<div class="thefield">
    <input name="email" id="email" value="<?=$arg_0['email']?>"  />
    </div>
</div>
<div class="fieldwrapper">
	<label for="" class="styled">新密码</label>
	<div class="thefield">
    <input name="pass" type="password" id="pass" value=""  /><br />
   
     *不修改请留空
    </div>
</div>
<div class="fieldwrapper">
	<label for="" class="styled">性别</label>
	<div class="thefield">
    <select name="sex"><option value="0"  <?=$arg_0['sex']?'':'selected="selected"'?>> 男 
                          </option>
      <option value="1"  <?=$arg_0['sex']?'selected="selected"':''?>> 女 
                          </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?>"  <?=$arg_0['team']==$k?'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("email");
</script>
