user_info.html
2.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<include file="public@header" />
</head>
<body>
<div class="wrap">
<ul class="nav nav-tabs">
<li class="active"><a href="{:url('user/userInfo')}">{:lang('ADMIN_USER_USERINFO')}</a></li>
<li><a href="{:url('setting/password')}">{:lang('ADMIN_SETTING_PASSWORD')}</a></li>
</ul>
<form class="form-horizontal js-ajax-form margin-top-20" role="form" method="post" action="{:url('User/userinfoPost')}">
<div class="form-group">
<label for="input-user-nickname" class="col-sm-2 control-label">{:lang('NICKNAME')}</label>
<div class="col-md-6 col-sm-10">
<input type="text" class="form-control" id="input-user-nickname" name="user_nickname" value="{$user_nickname}">
</div>
</div>
<div class="form-group">
<label for="input-gender" class="col-sm-2 control-label">{:lang('GENDER')}</label>
<div class="col-md-6 col-sm-10">
<select class="form-control" name="sex" id="input-gender">
<php>$sexs=array("0"=>lang('GENDER_SECRECY'),"1"=>lang('MALE'),"2"=>lang('FEMALE'));</php>
<foreach name="sexs" item="vo">
<php>$sexselected=$key==$sex?"selected":"";</php>
<option value="{$key}" {$sexselected}>{$vo}</option>
</foreach>
</select>
</div>
</div>
<div class="form-group">
<label for="input-birthday" class="col-sm-2 control-label">{:lang('BIRTHDAY')}</label>
<div class="col-md-6 col-sm-10">
<input type="text" class="form-control js-bootstrap-date" id="input-birthday" name="birthday" value="{:date('Y-m-d',$birthday)}" placeholder="2013-01-04">
</div>
</div>
<div class="form-group">
<label for="input-user_url" class="col-sm-2 control-label">{:lang('WEBSITE')}</label>
<div class="col-md-6 col-sm-10">
<input type="text" class="form-control" id="input-user_url" name="user_url" value="{$user_url}" placeholder="http://thinkcmf.com">
</div>
</div>
<div class="form-group">
<label for="input-signature" class="col-sm-2 control-label">{:lang('SIGNATURE')}</label>
<div class="col-md-6 col-sm-10">
<textarea class="form-control" id="input-signature" name="signature" placeholder="{:lang('SIGNATURE')}">{$signature}</textarea>
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<button type="submit" class="btn btn-primary js-ajax-submit">{:lang('SAVE')}</button>
</div>
</div>
</form>
</div>
<script src="__STATIC__/js/admin.js"></script>
</body>
</html>