<!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],0}</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" required id="username" value="[r:username]" class="form-control" placeholder="zhangsan">
              </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" value="[r:question]" name="question" id="question" class="form-control">
              </div>
              <label class="col-sm-2 control-label">密码答案</label>
              <div class="col-sm-4">
                <input type="text" value="[r:answer]" name="answer" id="answer" 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" value="{$arr_split [r tel],'-',0}" name="telcode" id="telcode" class="form-control">
              </div>
               <label class="col-sm-2 control-label">电话号</label>
              <div class="col-sm-4">
                <input type="text" value="{$arr_split [r tel],'-',1}" name="tel" id="tel" 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" value="[r:email]" name="email" id="email" class="form-control">
              </div>
              <label class="col-sm-2 control-label">qq</label>
              <div class="col-sm-4">
                <input type="text" value="[r:qq]" name="qq" id="qq" class="form-control">
              </div>
            </div>
             <div class="form-group">
              <label class="col-sm-2 control-label">省市区</label>
              <div class="col-sm-4">
   				 <select name='province' id='Province' class="form-control" onChange="get_province()">{$select_region 'p',[r province]}</select>
              </div>
              <div class="col-sm-3">
               <select name='city' id='City' class="form-control" onChange="get_city()">{$select_region 'c,'.[r province],[r city]}</select>
              </div>
              <div class="col-sm-3">
                <select name='district' id='District' class="form-control" >{$select_region 'd,'.[r city],[r district]}</select>
              </div>
            </div>
            <div class="form-group">
              <label class="col-sm-2 control-label">地址</label>
              <div class="col-sm-4">
                <input type="text" value="[r:address]" name="address" id="address" class="form-control">
              </div>
              <label class="col-sm-2 control-label">邮编</label>
              <div class="col-sm-4">
                <input type="text" value="[r:post]" name="post" id="zipcode" 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">{$br_txt [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>
        <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 src="../js/zzzcms.js"></script>
<script>
$(function(){$('select[name=face]').ImageSelect({dropdownHeight:200, dropdownWidth:100, height:32});});
</script>
</body>
</html>