600 lines
37 KiB
PHP
Executable File
600 lines
37 KiB
PHP
Executable File
<?php if (!defined('THINK_PATH')) exit(); /*a:4:{s:97:"/www/wwwroot/testy.hschool.com.cn/public/../application/manystore/view/general/profile/index.html";i:1735973348;s:80:"/www/wwwroot/testy.hschool.com.cn/application/manystore/view/layout/default.html";i:1730702698;s:77:"/www/wwwroot/testy.hschool.com.cn/application/manystore/view/common/meta.html";i:1730702698;s:79:"/www/wwwroot/testy.hschool.com.cn/application/manystore/view/common/script.html";i:1730702698;}*/ ?>
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title><?php echo (isset($title) && ($title !== '')?$title:''); ?></title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
|
|
<meta name="renderer" content="webkit">
|
|
|
|
<link rel="shortcut icon" href="/assets/img/favicon.ico" />
|
|
<!-- Loading Bootstrap -->
|
|
<link href="/assets/css/manystore<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.css?v=<?php echo \think\Config::get('site.version'); ?>" rel="stylesheet">
|
|
|
|
<?php if(\think\Config::get('fastadmin.adminskin')): ?>
|
|
<link href="/assets/css/skins/<?php echo \think\Config::get('fastadmin.adminskin'); ?>.css?v=<?php echo \think\Config::get('site.version'); ?>" rel="stylesheet">
|
|
<?php endif; ?>
|
|
|
|
<!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
|
|
<!--[if lt IE 9]>
|
|
<script src="/assets/js/html5shiv.js"></script>
|
|
<script src="/assets/js/respond.min.js"></script>
|
|
<![endif]-->
|
|
<script type="text/javascript">
|
|
var require = {
|
|
config: <?php echo json_encode($config ?? ''); ?>
|
|
};
|
|
</script>
|
|
|
|
</head>
|
|
|
|
<body class="inside-header inside-aside <?php echo defined('IS_DIALOG') && IS_DIALOG ? 'is-dialog' : ''; ?>">
|
|
<div id="main" role="main">
|
|
<div class="tab-content tab-addtabs">
|
|
<div id="content">
|
|
<div class="row">
|
|
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
|
|
<section class="content-header hide">
|
|
<h1>
|
|
<?php echo __('Dashboard'); ?>
|
|
<small><?php echo __('Control panel'); ?></small>
|
|
</h1>
|
|
</section>
|
|
<?php if(!IS_DIALOG && !\think\Config::get('fastadmin.multiplenav') && \think\Config::get('fastadmin.breadcrumb')): ?>
|
|
<!-- RIBBON -->
|
|
<div id="ribbon">
|
|
<ol class="breadcrumb pull-left">
|
|
<?php if($auth->check('dashboard')): ?>
|
|
<li><a href="dashboard" class="addtabsit"><i class="fa fa-dashboard"></i> <?php echo __('Dashboard'); ?></a></li>
|
|
<?php endif; ?>
|
|
</ol>
|
|
<ol class="breadcrumb pull-right">
|
|
<?php foreach($breadcrumb as $vo): ?>
|
|
<li><a href="javascript:;" data-url="<?php echo $vo['url']; ?>"><?php echo $vo['title']; ?></a></li>
|
|
<?php endforeach; ?>
|
|
</ol>
|
|
</div>
|
|
<!-- END RIBBON -->
|
|
<?php endif; ?>
|
|
<div class="content">
|
|
<style>
|
|
.profile-avatar-container {
|
|
position: relative;
|
|
width: 100px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.profile-avatar-container .profile-user-img {
|
|
width: 100px;
|
|
height: 100px;
|
|
}
|
|
|
|
.profile-avatar-container .profile-avatar-text {
|
|
display: none;
|
|
}
|
|
|
|
.profile-avatar-container:hover .profile-avatar-text {
|
|
display: block;
|
|
position: absolute;
|
|
height: 100px;
|
|
width: 100px;
|
|
background: #444;
|
|
opacity: .6;
|
|
color: #fff;
|
|
top: 0;
|
|
left: 0;
|
|
line-height: 100px;
|
|
text-align: center;
|
|
}
|
|
|
|
.profile-avatar-container button {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100px;
|
|
height: 100px;
|
|
opacity: 0;
|
|
}
|
|
</style>
|
|
<div class="row animated fadeInRight">
|
|
<div class="col-md-12" style="display: flex;justify-content: center;" >
|
|
<div class="col-md-5">
|
|
<form id="update-form" role="form" data-toggle="validator" method="POST" action="<?php echo url('general.profile/update'); ?>">
|
|
<?php echo token(); ?>
|
|
<div class="box box-success">
|
|
<div class="panel-heading">
|
|
<?php echo __('Profile'); ?>
|
|
</div>
|
|
<div class="panel-body">
|
|
<input type="hidden" id="c-avatar" name="row[avatar]" value="<?php echo htmlentities($manystore['avatar'] ?? ''); ?>"/>
|
|
<div class="box-body box-profile">
|
|
|
|
<div class="profile-avatar-container">
|
|
<img class="profile-user-img img-responsive img-circle plupload"
|
|
src="<?php echo htmlentities(cdnurl($manystore['avatar'] ?? '') ?? ''); ?>" alt="">
|
|
<div class="profile-avatar-text img-circle"><?php echo __('Click to edit'); ?></div>
|
|
<button id="plupload-avatar" class="plupload" data-input-id="c-avatar"><i
|
|
class="fa fa-upload"></i> <?php echo __('Upload'); ?>
|
|
</button>
|
|
</div>
|
|
|
|
<h3 class="profile-username text-center"><?php echo htmlentities($manystore['username'] ?? ''); ?></h3>
|
|
|
|
<p class="text-muted text-center"><?php echo htmlentities($manystore['email'] ?? ''); ?></p>
|
|
|
|
<p class="text-muted text-center">所属前端用户ID: <span style="color:red ">[<?php echo htmlentities($manystore['user_id'] ?? ''); ?>]</span> </p>
|
|
|
|
<div class="form-group">
|
|
<label for="username" class="control-label"><?php echo __('Username'); ?>:</label>
|
|
<input type="text" class="form-control" id="username" name="row[username]"
|
|
value="<?php echo htmlentities($manystore['username'] ?? ''); ?>" disabled/>
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="email" class="control-label"><?php echo __('Email'); ?>:</label>
|
|
<input type="text" class="form-control" id="email" name="row[email]"
|
|
value="<?php echo htmlentities($manystore['email'] ?? ''); ?>" data-rule="required;email"/>
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="nickname" class="control-label"><?php echo __('Nickname'); ?>:</label>
|
|
<input type="text" class="form-control" id="nickname" name="row[nickname]"
|
|
value="<?php echo htmlentities($manystore['nickname'] ?? ''); ?>" data-rule="required;"/>
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="password" class="control-label"><?php echo __('Password'); ?>:</label>
|
|
<input type="password" class="form-control" id="password"
|
|
placeholder="<?php echo __('Leave password blank if dont want to change'); ?>"
|
|
autocomplete="new-password" name="row[password]" value="" data-rule="password"/>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<button type="submit" class="btn btn-success"><?php echo __('Submit'); ?></button>
|
|
<button type="reset" class="btn btn-default"><?php echo __('Reset'); ?></button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
<?php if($auth->check('general/profile/shop_update')): ?>
|
|
<div class="form-horizontal col-md-7">
|
|
<div class="box box-success">
|
|
<div class="panel-heading">
|
|
<?php echo __('商家信息'); ?>
|
|
</div>
|
|
<form id="shop-form" role="form" data-toggle="validator" method="POST" action="<?php echo url('general.profile/shop_update'); ?>">
|
|
<?php echo token(); ?>
|
|
<div class="panel-body">
|
|
<div class="box-body box-profile">
|
|
<div class="profile-avatar-container">
|
|
<!-- <img class="profile-user-img img-responsive img-circle plupload"-->
|
|
<!-- src="<?php echo htmlentities(cdnurl($manystore['avatar'] ?? '') ?? ''); ?>" alt="">-->
|
|
|
|
<a href="javascript:"><img class=" profile-user-img img-responsive img-center" src="<?php echo $miniqrcode_link; ?>"></a>
|
|
</div>
|
|
<h3 class="profile-username text-center">微信小程序端展示效果</h3>
|
|
|
|
<p class="text-muted text-center">打开微信扫一扫,扫码即可在手机端查看</p><br><br><br>
|
|
|
|
<?php echo $check_full_msg; ?>
|
|
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2"><?php echo __('Type'); ?>:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
|
<!-- <h3 style="color: red"><?php echo $auth_type_text; ?></h3>-->
|
|
<span class="btn btn-sm btn-danger btn-remove"><?php echo $auth_type_text; ?></span>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<select id="c-type" style="display: none" name="shop[type]">
|
|
<?php if(is_array($typeList) || $typeList instanceof \think\Collection || $typeList instanceof \think\Paginator): if( count($typeList)==0 ) : echo "" ;else: foreach($typeList as $key=>$vo): ?>
|
|
<option value="<?php echo $key; ?>" <?php if(in_array(($key), is_array($shop_info['type'])?$shop_info['type']:explode(',',$shop_info['type']))): ?>selected<?php endif; ?>><?php echo $vo; ?></option>
|
|
<?php endforeach; endif; else: echo "" ;endif; ?>
|
|
</select>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2"><?php echo __('Status'); ?>:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input class="form-control" disabled type="text"
|
|
value="<?php echo $statusList[$shop_info['status']]; ?>">
|
|
|
|
<?php if(( $shop_info['status'] == 2)): ?>
|
|
<span style="color: red">(不通过原因:<?php echo $shop_info['reason']; ?>)</span>
|
|
<?php else: endif; ?>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2"><?php echo __('Name'); ?>:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-name" data-rule="required" class="form-control" name="shop[name]" type="text" value="<?php echo $shop_info['name']; ?>">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">
|
|
<?php echo __('Logo'); ?>:
|
|
<p style="margin-top: 20px;">建议40*40</p>
|
|
</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<div class="input-group">
|
|
<input id="c-logo" class="form-control" size="50" name="shop[logo]" type="text" value="<?php echo $shop_info['logo']; ?>">
|
|
<div class="input-group-addon no-border no-padding">
|
|
<span><button type="button" id="plupload-logo"
|
|
class="btn btn-danger plupload cropper" data-input-id="c-logo"
|
|
data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp"
|
|
data-multiple="false" data-preview-id="p-logo"><i
|
|
class="fa fa-upload"></i> <?php echo __('Upload'); ?></button></span>
|
|
<span><button type="button" id="fachoose-logo"
|
|
class="btn btn-primary fachoose"
|
|
data-input-id="c-logo" data-mimetype="image/*"
|
|
data-multiple="false"><i
|
|
class="fa fa-list"></i> <?php echo __('Choose'); ?></button></span>
|
|
</div>
|
|
<span class="msg-box n-right" for="c-logo"></span>
|
|
</div>
|
|
<ul class="row list-inline plupload-preview" id="p-logo"></ul>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2"><?php echo __('Image'); ?>:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<div class="input-group">
|
|
<input id="c-image" data-rule="required" class="form-control" size="50"
|
|
name="shop[image]" type="text" value="<?php echo $shop_info['image']; ?>">
|
|
<div class="input-group-addon no-border no-padding">
|
|
<span><button type="button" id="plupload-image"
|
|
class="btn btn-danger plupload cropper" data-input-id="c-image"
|
|
data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp"
|
|
data-multiple="false" data-preview-id="p-image"><i
|
|
class="fa fa-upload"></i> <?php echo __('Upload'); ?></button></span>
|
|
<span><button type="button" id="fachoose-image"
|
|
class="btn btn-primary fachoose"
|
|
data-input-id="c-image" data-mimetype="image/*"
|
|
data-multiple="false"><i
|
|
class="fa fa-list"></i> <?php echo __('Choose'); ?></button></span>
|
|
</div>
|
|
<span class="msg-box n-right" for="c-image"></span>
|
|
</div>
|
|
<ul class="row list-inline plupload-preview" id="p-image"></ul>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2"><?php echo __('Images'); ?>:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<div class="input-group">
|
|
<input id="c-images" class="form-control" name="shop[images]" type="text"
|
|
value="<?php echo $shop_info['images']; ?>">
|
|
<div class="input-group-addon no-border no-padding">
|
|
<span><button type="button" id="plupload-images"
|
|
data-maxcount="6"
|
|
class="btn btn-danger plupload cropper" data-input-id="c-images"
|
|
data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp"
|
|
data-multiple="true" data-preview-id="p-images"><i
|
|
class="fa fa-upload"></i> <?php echo __('Upload'); ?></button></span>
|
|
<span><button type="button" id="fachoose-imagess"
|
|
data-maxcount="6"
|
|
class="btn btn-primary fachoose"
|
|
data-input-id="c-images" data-mimetype="image/*"
|
|
data-multiple="true"><i
|
|
class="fa fa-list"></i> <?php echo __('Choose'); ?></button></span>
|
|
</div>
|
|
<span class="msg-box n-right" for="c-images"></span>
|
|
</div>
|
|
<ul class="row list-inline plupload-preview" id="p-images"></ul>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2"><?php echo __('Address_city'); ?>:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<div class='control-relative'>
|
|
<input id="c-address_city" data-rule="required"
|
|
class="form-control form-control"
|
|
data-toggle="city-picker" name="shop[address_city]"
|
|
value="<?php echo $shop_info['address_city']; ?>" type="text">
|
|
</div>
|
|
<input type="hidden" id="province" name="shop[province]" value="<?php echo $shop_info['province']; ?>">
|
|
<input type="hidden" id="city" name="shop[city]" value="<?php echo $shop_info['city']; ?>">
|
|
<input type="hidden" id="district" name="shop[district]" value="<?php echo $shop_info['district']; ?>">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2"><?php echo __('Address'); ?>:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<div class='control-relative'>
|
|
<input id="c-address" data-rule="required" class="form-control form-control"
|
|
data-lat-id="c-latitude" data-lng-id="c-longitude" readonly
|
|
data-input-id="c-address" data-toggle="addresspicker"
|
|
name="shop[address]"
|
|
value="<?php echo $shop_info['address']; ?>" type="text">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2"><?php echo __('Address_detail'); ?>:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-address_detail" class="form-control" name="shop[address_detail]"
|
|
type="text"
|
|
value="<?php echo $shop_info['address_detail']; ?>">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2"><?php echo __('Longitude'); ?>:</label>
|
|
<div class="col-xs-12 col-sm-3">
|
|
<input id="c-longitude" data-rule="required" readonly class="form-control"
|
|
name="shop[longitude]" type="text" value="<?php echo $shop_info['longitude']; ?>">
|
|
</div>
|
|
<label class="control-label col-xs-12 col-sm-2"><?php echo __('Latitude'); ?>:</label>
|
|
<div class="col-xs-12 col-sm-3">
|
|
<input id="c-latitude" data-rule="required" readonly class="form-control"
|
|
name="shop[latitude]" type="text" value="<?php echo $shop_info['latitude']; ?>">
|
|
</div>
|
|
</div>
|
|
|
|
<div id="c_institution" >
|
|
|
|
<div class="form-group"
|
|
<?php if($shop_info['type'] == '1'): ?>
|
|
style="display:none"
|
|
<?php endif; ?>
|
|
>
|
|
|
|
<label class="control-label col-xs-12 col-sm-2"><?php echo __('Yyzzdm'); ?>:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-yyzzdm"
|
|
|
|
|
|
|
|
class="form-control" name="shop[yyzzdm]"
|
|
type="text" value="<?php echo $shop_info['yyzzdm']; ?>">
|
|
</div>
|
|
</div>
|
|
<div class="form-group"
|
|
<?php if($shop_info['type'] == '1'): ?>
|
|
style="display:none"
|
|
<?php endif; ?>
|
|
|
|
>
|
|
<label class="control-label col-xs-12 col-sm-2"><?php echo __('Yyzz_images'); ?>:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<div class="input-group">
|
|
<input id="c-yyzz_images"
|
|
|
|
|
|
|
|
class="form-control" size="50"
|
|
name="shop[yyzz_images]" type="text" value="<?php echo $shop_info['yyzz_images']; ?>">
|
|
<div class="input-group-addon no-border no-padding">
|
|
<span><button type="button" id="plupload-yyzz_images"
|
|
data-maxcount="6"
|
|
data-params='{"category":"cert"}'
|
|
class="btn btn-danger plupload" data-input-id="c-yyzz_images"
|
|
data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp"
|
|
data-multiple="true" data-preview-id="p-yyzz_images"><i
|
|
class="fa fa-upload"></i> <?php echo __('Upload'); ?></button></span>
|
|
<span><button type="button" id="fachoose-yyzz_images"
|
|
data-maxcount="6"
|
|
data-params='{"category":"cert"}'
|
|
class="btn btn-primary fachoose" data-input-id="c-yyzz_images"
|
|
data-mimetype="image/*" data-multiple="true"><i
|
|
class="fa fa-list"></i> <?php echo __('Choose'); ?></button></span>
|
|
</div>
|
|
<span class="msg-box n-right" for="c-yyzz_images"></span>
|
|
</div>
|
|
<ul class="row list-inline plupload-preview" id="p-yyzz_images"></ul>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2"><?php echo __('Establish_time'); ?>:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-establish_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="shop[establish_time]" type="text" value="<?php echo $shop_info['establish_time']?datetime($shop_info['establish_time']):''; ?>">
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2"><?php echo __('People'); ?>:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-people" class="form-control" name="shop[people]" type="number" value="<?php echo $shop_info['people']; ?>">
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2"><?php echo __('Legal_entity'); ?>:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-legal_entity" class="form-control" name="shop[legal_entity]" type="text" value="<?php echo $shop_info['legal_entity']; ?>">
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<div id="c_person" >
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2"><span class="c_institution">法人</span> <?php echo __('Gender'); ?>:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<?php echo build_radios('shop[gender]', ['1'=>__('Male'), '0'=>__('Female')], $shop_info['gender']); ?>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2"><span class="c_institution">法人</span><?php echo __('Nation'); ?>:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-nation" class="form-control" data-rule="required" name="shop[nation]" type="text" value="<?php echo $shop_info['nation']; ?>">
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2"><span class="c_institution">法人</span><?php echo __('Out_look'); ?>:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-out_look" class="form-control" data-rule="required" name="shop[out_look]" type="text" value="<?php echo $shop_info['out_look']; ?>">
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2"><span class="c_institution">法人</span><?php echo __('Birthtime'); ?>:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-birthtime" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="shop[birthtime]" type="text" value="<?php echo $shop_info['birthtime']?datetime($shop_info['birthtime']):''; ?>">
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2"><span class="c_institution">法人</span><?php echo __('Native_place'); ?>:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-native_place" class="form-control" data-rule="required" name="shop[native_place]" type="text" value="<?php echo $shop_info['native_place']; ?>">
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2"><span class="c_institution">法人</span><?php echo __('Card_number'); ?>:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-card_number" class="form-control" data-rule="required" name="shop[card_number]" type="text" value="<?php echo $shop_info['card_number']; ?>">
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2"><span class="c_institution">法人</span><?php echo __('Diploma'); ?>:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-diploma" class="form-control" name="shop[diploma]" type="text" value="<?php echo $shop_info['diploma']; ?>">
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2"><span class="c_institution">法人</span><?php echo __('Post'); ?>:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-post" class="form-control" name="shop[post]" type="text" value="<?php echo $shop_info['post']; ?>">
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2"><span class="c_institution">法人</span><?php echo __('Social_position'); ?>:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-social_position" class="form-control" name="shop[social_position]" type="text" value="<?php echo $shop_info['social_position']; ?>">
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">
|
|
<?php echo __('Front_idcard_image'); ?>:
|
|
</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<div class="input-group">
|
|
<input id="c-front_idcard_image" class="form-control" size="50" name="shop[front_idcard_image]" type="text" value="<?php echo $shop_info['front_idcard_image']; ?>">
|
|
<div class="input-group-addon no-border no-padding">
|
|
<span><button type="button" id="plupload-front_idcard_image" data-params='{"category":"cert"}'
|
|
class="btn btn-danger plupload cropper" data-input-id="c-front_idcard_image"
|
|
data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp"
|
|
data-multiple="false" data-preview-id="p-front_idcard_image"><i
|
|
class="fa fa-upload"></i> <?php echo __('Upload'); ?></button></span>
|
|
<span><button type="button" id="fachoose-front_idcard_image" data-params='{"category":"cert"}'
|
|
class="btn btn-primary fachoose"
|
|
data-input-id="c-front_idcard_image" data-mimetype="image/*"
|
|
data-multiple="false"><i
|
|
class="fa fa-list"></i> <?php echo __('Choose'); ?></button></span>
|
|
</div>
|
|
<span class="msg-box n-right" for="c-front_idcard_image"></span>
|
|
</div>
|
|
<ul class="row list-inline plupload-preview" id="p-front_idcard_image"></ul>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">
|
|
<?php echo __('Reverse_idcard_image'); ?>:
|
|
</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<div class="input-group">
|
|
<input id="c-reverse_idcard_image" class="form-control" size="50" name="shop[reverse_idcard_image]" type="text" value="<?php echo $shop_info['reverse_idcard_image']; ?>">
|
|
<div class="input-group-addon no-border no-padding">
|
|
<span><button type="button" id="plupload-reverse_idcard_image" data-params='{"category":"cert"}'
|
|
class="btn btn-danger plupload cropper" data-input-id="c-reverse_idcard_image"
|
|
data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp"
|
|
data-multiple="false" data-preview-id="p-reverse_idcard_image"><i
|
|
class="fa fa-upload"></i> <?php echo __('Upload'); ?></button></span>
|
|
<span><button type="button" id="fachoose-reverse_idcard_image" data-params='{"category":"cert"}'
|
|
class="btn btn-primary fachoose"
|
|
data-input-id="c-reverse_idcard_image" data-mimetype="image/*"
|
|
data-multiple="false"><i
|
|
class="fa fa-list"></i> <?php echo __('Choose'); ?></button></span>
|
|
</div>
|
|
<span class="msg-box n-right" for="c-reverse_idcard_image"></span>
|
|
</div>
|
|
<ul class="row list-inline plupload-preview" id="p-reverse_idcard_image"></ul>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2"><?php echo __('Tel'); ?>:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-tel" class="form-control" name="shop[tel]" type="text"
|
|
value="<?php echo $shop_info['tel']; ?>">
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2"><?php echo __('Content'); ?>:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<textarea id="c-content" class="form-control editor" rows="5" name="shop[content]"
|
|
cols="50"><?php echo $shop_info['content']; ?></textarea>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="form-group" style="display: flex;justify-content: center;" >
|
|
<button type="submit" class="btn btn-success"><?php echo __('Submit'); ?></button>
|
|
<button type="reset" class="btn btn-default"><?php echo __('Reset'); ?></button>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<?php endif; ?>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<script src="/assets/js/require<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.js" data-main="/assets/js/require-manystore<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.js?v=<?php echo htmlentities($site['version'] ?? ''); ?>"></script>
|
|
|
|
</body>
|
|
</html>
|