<!doctype html public "-//w3c//dtd html 4.01 transitional//en" "http://www.w3c.org/tr/1999/rec-html401-19991224/loose.dtd">

<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{ways}管理员</title>
<link href="../plugins/bootstrap/bootstrap.min.css" rel="stylesheet">
<link href="../plugins/bootstrap/font-awesome.min.css" rel="stylesheet">
<link href="../plugins/bootstrap/animate.min.css" rel="stylesheet">
<link href="../plugins/bootstrap/style.min.css" rel="stylesheet">
<link href="css/adminstyle.css" rel="stylesheet">
<script src="../js/jquery.min.js"></script>
<script src="../plugins/colorpicker/bootstrap-colorpicker.min.js"></script>
<script src="../plugins/imageselect/imageselect.js"></script>
<link  rel="stylesheet" type="text/css" href="../plugins/imageselect/imageselect.css"/>
<!--[if lte ie 9]>
<script src="../js/respond.min.js"></script>
<script src="../js/html5.js"></script>
<![endif]-->
</head>
<body class="gray-bg">
<div class="wrapper wrapper-content">
  <div class="ibox float-e-margins">
    <div class="row">
      <form method="post" action="save.php?act=user" class="form-horizontal" id="contentform">
        <input type="hidden" name="uid" value="[r:uid]">
        <div class="col-sm-12">
          <div class="ibox float-e-margins">
            <div class="ibox-content">
               <div class="form-group">
                <label class="col-sm-2 control-label  text-danger">管理员级别</label>
                <div class="col-sm-4">
                  <select name='u_gid' id='u_gid' class="form-control" >{$select_group [r u_gid],1} </select>
                </div>
                <label class="col-sm-2 control-label">选择头像</label>
                <div class="col-sm-4">
                  <select name="face"  id='face' class="form-control" > {$select_face [r face]}</select>
                </div>
              </div>
              <div class="form-group">
                <label class="col-sm-2 control-label  text-danger">登录账号</label>
                <div class="col-sm-4">
                  <input type="text" name="username" id="username" value="[r:username]" class="form-control" [r:readonly]>
                </div>
                <label class="col-sm-2 control-label">登陆密码</label>
                <div class="col-sm-4">
                  <input type="text" value="" name="password" id="password" class="form-control" placeholder="不修改密码请留空">
                </div>
              </div>
                <div class="form-group">
              <label class="col-sm-2 control-label text-danger">真实姓名</label>
              <div class="col-sm-4">
                <input type="text" value="[r:truename]" name="truename" id="truename" class="form-control" placeholder="张三">
              </div>
            <label class="col-sm-2 control-label text-danger">用户手机</label>
              <div class="col-sm-4">
                <input type="text" value="[r:mobile]" name="mobile" id="mobile" class="form-control">
              </div>
            </div> 
             
              <div class="form-group">
                <label class="col-sm-2 control-label">密码问题</label>
                <div class="col-sm-4">
                  <input type="text" name="question" id="question"  value="[r:question]"   class="form-control">
                </div>
                <label class="col-sm-2 control-label">密码答案</label>
                <div class="col-sm-4">
                  <input type="text"  name="answer" id="answer"  value="[r:answer]"  class="form-control">
                </div>
              </div>
           
              <div class="form-group">
                <label class="col-sm-2 control-label">描述</label>
                <div class="col-sm-10">
                  <textarea id="u_desc" name="u_desc" class="form-control">[r:u_desc]</textarea>
                </div>
              </div>
              <div class="form-group">
                <label class="col-sm-2 control-label">注册时间</label>
                <div class="col-sm-4">
                  <p class="form-control-static">[r:regtime] </p>
                </div>
                <label class="col-sm-2 control-label">登录时间</label>
                <div class="col-sm-4">
                  <p class="form-control-static">[r:lastlogintime]</p>
                </div>
              </div>
              <div class="form-group">
                <label class="col-sm-2 control-label">最后登录ip</label>
                <div class="col-sm-4">
                  <p class="form-control-static">[r:lastloginip] </p>
                </div>
                <label class="col-sm-2 control-label">登录次数</label>
                <div class="col-sm-4">
                  <p class="form-control-static">[r:logincount] </p>
                </div>
              </div>
            </div>
          </div>
        </div>
          <div class="col-sm-12 m-t">
          <div class=" col-sm-10 col-md-offset-1">
            <button class="btn btn-primary" type="submit"><i class="fa fa-floppy-o"></i>　保存内容</button>
            <button class="btn btn-white" onClick="closelayer()" type="reset"><i class="fa fa-close"></i> 返回</button>
          </div>
        </div>
      </form>
    </div>
  </div>
  <!-- end panel other --> 
</div>
<script src="../plugins/bootstrap/bootstrap.min.js"></script>
<link href="../plugins/colorpicker/bootstrap-colorpicker.min.css" rel="stylesheet">
<script src="../plugins/switchery/switchery.js"></script>
<link href="../plugins/switchery/switchery.css" rel="stylesheet">
<script src="../plugins/layer/layer.min.js"></script> 
<script src="js/content.min.js"></script> 
<script src="js/adminjs.js"></script> 
<script>
$(function(){$('select[name=face]').ImageSelect({dropdownHeight:200, dropdownWidth:100, height:32});});
</script>
</body>
</html>