123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170 |
- <form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
- {eq name="admin.cid" value="0"}
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Cid')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-cid" data-rule="required" data-source="Company" data-field="company_name" class="form-control selectpage" name="row[cid]" type="text" value="{$row.cid}">
- </div>
- </div>
- {else/}
- <input id="c-cid" name="row[cid]" type="hidden" value="{$admin.cid}">
- {/eq}
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Unionid')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-unionid" class="form-control" name="row[unionid]" type="text" value="{$row.unionid|htmlentities}">
- </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" class="form-control" name="row[openid]" type="text" value="{$row.openid|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Routine_openid')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-routine_openid" class="form-control" name="row[routine_openid]" type="text" value="{$row.routine_openid|htmlentities}">
- </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="{$row.nickname|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Headimgurl')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-headimgurl" class="form-control" name="row[headimgurl]" type="text" value="{$row.headimgurl|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Sex')}:</label>
- <div class="col-xs-12 col-sm-8">
-
- <select id="c-sex" class="form-control selectpicker" name="row[sex]">
- {foreach name="sexList" item="vo"}
- <option value="{$key}" {in name="key" value="$row.sex"}selected{/in}>{$vo}</option>
- {/foreach}
- </select>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('City')}:</label>
- <div class="col-xs-12 col-sm-8">
- <div class='control-relative'><input id="c-city" class="form-control" data-toggle="city-picker" name="row[city]" type="text" value="{$row.city|htmlentities}"></div>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Language')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-language" class="form-control" name="row[language]" type="text" value="{$row.language|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Province')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-province" class="form-control" name="row[province]" type="text" value="{$row.province|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Country')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-country" class="form-control" name="row[country]" type="text" value="{$row.country|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Remark')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-remark" class="form-control" name="row[remark]" type="text" value="{$row.remark|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Groupid')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-groupid" class="form-control" name="row[groupid]" type="number" value="{$row.groupid|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Tagid_list')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-tagid_list" class="form-control" name="row[tagid_list]" type="text" value="{$row.tagid_list|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Subscribe')}:</label>
- <div class="col-xs-12 col-sm-8">
-
- <select id="c-subscribe" class="form-control selectpicker" name="row[subscribe]">
- {foreach name="subscribeList" item="vo"}
- <option value="{$key}" {in name="key" value="$row.subscribe"}selected{/in}>{$vo}</option>
- {/foreach}
- </select>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Subscribe_time')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-subscribe_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[subscribe_time]" type="text" value="{:$row.subscribe_time?datetime($row.subscribe_time):''}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Stair')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-stair" class="form-control" name="row[stair]" type="number" value="{$row.stair|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Second')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-second" class="form-control" name="row[second]" type="number" value="{$row.second|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Order_stair')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-order_stair" class="form-control" name="row[order_stair]" type="number" value="{$row.order_stair|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Order_second')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-order_second" class="form-control" name="row[order_second]" type="number" value="{$row.order_second|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Brokerage_price')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-brokerage_price" class="form-control" step="0.01" name="row[brokerage_price]" type="number" value="{$row.brokerage_price|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Session_key')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-session_key" class="form-control" name="row[session_key]" type="text" value="{$row.session_key|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('User_type')}:</label>
- <div class="col-xs-12 col-sm-8">
-
- <select id="c-user_type" class="form-control selectpicker" name="row[user_type]">
- {foreach name="userTypeList" item="vo"}
- <option value="{$key}" {in name="key" value="$row.user_type"}selected{/in}>{$vo}</option>
- {/foreach}
- </select>
- </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-success btn-embossed disabled">{:__('OK')}</button>
- <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
- </div>
- </div>
- </form>
|