123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278 |
- <form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Group_id')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-group_id" data-rule="required" min="0" data-source="group/index" class="form-control selectpage" name="row[group_id]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Username')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-username" class="form-control" name="row[username]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Nickname')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-nickname" class="form-control" name="row[nickname]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Password')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-password" class="form-control" name="row[password]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Salt')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-salt" class="form-control" name="row[salt]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Email')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-email" class="form-control" name="row[email]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Mobile')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-mobile" class="form-control" name="row[mobile]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Avatar')}:</label>
- <div class="col-xs-12 col-sm-8">
- <div class="input-group">
- <input id="c-avatar" class="form-control" size="50" name="row[avatar]" type="text" value="">
- <div class="input-group-addon no-border no-padding">
- <span><button type="button" id="faupload-avatar" class="btn btn-danger faupload" data-input-id="c-avatar" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-avatar"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
- <span><button type="button" id="fachoose-avatar" class="btn btn-primary fachoose" data-input-id="c-avatar" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
- </div>
- <span class="msg-box n-right" for="c-avatar"></span>
- </div>
- <ul class="row list-inline faupload-preview" id="p-avatar"></ul>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Money')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-money" data-rule="required" class="form-control" name="row[money]" type="text" value="0.00">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Successions')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-successions" data-rule="required" min="0" class="form-control" name="row[successions]" type="number" value="1">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Maxsuccessions')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-maxsuccessions" data-rule="required" min="0" class="form-control" name="row[maxsuccessions]" type="number" value="1">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Prevtime')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-prevtime" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[prevtime]" type="text" value="{:date('Y-m-d H:i:s')}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Logintime')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-logintime" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[logintime]" type="text" value="{:date('Y-m-d H:i:s')}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Loginip')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-loginip" class="form-control" name="row[loginip]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Loginfailure')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-loginfailure" data-rule="required" min="0" class="form-control" name="row[loginfailure]" type="number" value="0">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Joinip')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-joinip" class="form-control" name="row[joinip]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Jointime')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-jointime" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[jointime]" type="text" value="{:date('Y-m-d H:i:s')}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Token')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-token" class="form-control" name="row[token]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
- <div class="col-xs-12 col-sm-8">
-
- <div class="radio">
- {foreach name="statusList" item="vo"}
- <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="1"}checked{/in} /> {$vo}</label>
- {/foreach}
- </div>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Verification')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-verification" class="form-control" name="row[verification]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Realname')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-realname" data-rule="required" class="form-control" name="row[realname]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Gender')}:</label>
- <div class="col-xs-12 col-sm-8">
-
- <select id="c-gender" data-rule="required" min="0" class="form-control selectpicker" name="row[gender]">
- {foreach name="genderList" item="vo"}
- <option value="{$key}" {in name="key" value="0"}selected{/in}>{$vo}</option>
- {/foreach}
- </select>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Birthday')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-birthday" data-rule="required" class="form-control" name="row[birthday]" type="number" value="0">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Idcard')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-idcard" data-rule="required" class="form-control" name="row[idcard]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Passport')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-passport" data-rule="required" class="form-control" name="row[passport]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Emergencycontact')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-emergencycontact" data-rule="required" class="form-control" name="row[emergencycontact]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Contactmobile')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-contactmobile" data-rule="required" class="form-control" name="row[contactmobile]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Outdoorduration')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-outdoorduration" data-rule="required" class="form-control" name="row[outdoorduration]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Openid')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-openid" data-rule="required" class="form-control" name="row[openid]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Invite_no')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-invite_no" data-rule="required" class="form-control" name="row[invite_no]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Inviteimage')}:</label>
- <div class="col-xs-12 col-sm-8">
- <div class="input-group">
- <input id="c-inviteimage" data-rule="required" class="form-control" size="50" name="row[inviteimage]" type="text" value="">
- <div class="input-group-addon no-border no-padding">
- <span><button type="button" id="faupload-inviteimage" class="btn btn-danger faupload" data-input-id="c-inviteimage" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-inviteimage"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
- <span><button type="button" id="fachoose-inviteimage" class="btn btn-primary fachoose" data-input-id="c-inviteimage" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
- </div>
- <span class="msg-box n-right" for="c-inviteimage"></span>
- </div>
- <ul class="row list-inline faupload-preview" id="p-inviteimage"></ul>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Pre_user_id')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-pre_user_id" data-rule="required" data-source="pre/user/index" class="form-control selectpage" name="row[pre_user_id]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Invite_time')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-invite_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[invite_time]" type="text" value="{:date('Y-m-d H:i:s')}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Growthvalue')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-growthvalue" data-rule="required" class="form-control" name="row[growthvalue]" type="number" value="0">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Growthlevel')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-growthlevel" data-rule="required" class="form-control" name="row[growthlevel]" type="number" value="1">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Experiencelevel')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-experiencelevel" data-rule="required" class="form-control" name="row[experiencelevel]" type="number" value="0">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Experiencetime')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-experiencetime" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[experiencetime]" type="text" value="{:date('Y-m-d H:i:s')}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Maxlevel')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-maxlevel" data-rule="required" class="form-control" name="row[maxlevel]" type="number" value="1">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Freenumber')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-freenumber" data-rule="required" class="form-control" name="row[freenumber]" type="number" value="0">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Freenumbertime')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-freenumbertime" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[freenumbertime]" type="text" value="{:date('Y-m-d H:i:s')}">
- </div>
- </div>
- <div class="form-group layer-footer">
- <label class="control-label col-xs-12 col-sm-2"></label>
- <div class="col-xs-12 col-sm-8">
- <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
- <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
- </div>
- </div>
- </form>
|