708175fa1992801c5fbba3167ac159ad.php 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289
  1. <?php /*a:3:{s:70:"/data/web/pl.valimart.net/app/admin/view/ownshop/storejoinin_edit.html";i:1657785098;s:59:"/data/web/pl.valimart.net/app/admin/view/public/header.html";i:1657785098;s:64:"/data/web/pl.valimart.net/app/admin/view/public/admin_items.html";i:1657785098;}*/ ?>
  2. <!DOCTYPE html>
  3. <html>
  4. <head>
  5. <meta charset="utf-8">
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  7. <title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?><?php echo htmlentities(lang('system_backend')); ?></title>
  8. <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
  9. <link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
  10. <link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
  11. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
  12. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
  13. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
  14. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
  15. <script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
  16. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
  17. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
  18. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
  19. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
  20. <script type="text/javascript">
  21. var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
  22. var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
  23. var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
  24. var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
  25. var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
  26. </script>
  27. </head>
  28. <body>
  29. <div id="append_parent"></div>
  30. <div id="ajaxwaitid"></div>
  31. <div class="page">
  32. <div class="fixed-bar">
  33. <div class="item-title">
  34. <div class="subject">
  35. <h3><?php echo htmlentities(lang('ds_ownshop')); ?></h3>
  36. <h5></h5>
  37. </div>
  38. <?php if($admin_item): ?>
  39. <ul class="tab-base ds-row">
  40. <?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): ?>
  41. <li><a href="<?php echo htmlentities($item['url']); ?>" <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><span><?php echo htmlentities($item['text']); ?></span></a></li>
  42. <?php endforeach; endif; else: echo "" ;endif; ?>
  43. </ul>
  44. <?php endif; ?>
  45. </div>
  46. </div>
  47. <div class="homepage-focus" dstype="editStoreContent">
  48. <form id="joinin_form" enctype="multipart/form-data" method="post">
  49. <input type="hidden" name="member_id" value="<?php echo htmlentities($joinin_detail['member_id']); ?>" />
  50. <?php if($joinin_detail['store_type'] != 1): ?>
  51. <table border="0" cellpadding="0" cellspacing="0" class="store-joinin ds-default-table">
  52. <thead>
  53. <tr>
  54. <th colspan="20"><?php echo htmlentities(lang('company_contact_information')); ?></th>
  55. </tr>
  56. </thead>
  57. <tbody>
  58. <tr>
  59. <th class="w150"><?php echo htmlentities(lang('company_name')); ?>:</th>
  60. <td colspan="20"><input type="text" class="txt" name="company_name" value="<?php echo htmlentities($joinin_detail['company_name']); ?>"></td>
  61. </tr>
  62. <tr>
  63. <th><?php echo htmlentities(lang('company_location')); ?>:</th>
  64. <td><input type="hidden" name="company_address" id="company_address" value="<?php echo htmlentities($joinin_detail['company_address']); ?>"></td>
  65. <th><?php echo htmlentities(lang('company_address')); ?>:</th>
  66. <td><input type="text" class="txt w300" name="company_address_detail" value="<?php echo htmlentities($joinin_detail['company_address_detail']); ?>"></td>
  67. <th><?php echo htmlentities(lang('registered_capital')); ?>:</th>
  68. <td><input type="text" class="txt w72" name="company_registered_capital" value="<?php echo htmlentities($joinin_detail['company_registered_capital']); ?>">&nbsp;<?php echo htmlentities(lang('ten_thousand')); ?><?php echo htmlentities(lang('ds_yuan')); ?> </td>
  69. </tr>
  70. <tr>
  71. <th><?php echo htmlentities(lang('contact_name')); ?>:</th>
  72. <td><input type="text" class="txt" name="contacts_name" value="<?php echo htmlentities($joinin_detail['contacts_name']); ?>"></td>
  73. <th><?php echo htmlentities(lang('contact_number')); ?>:</th>
  74. <td><input type="text" class="txt" name="contacts_phone" value="<?php echo htmlentities($joinin_detail['contacts_phone']); ?>"></td>
  75. <th><?php echo htmlentities(lang('e_mail')); ?>:</th>
  76. <td><input type="text" class="txt" name="contacts_email" value="<?php echo htmlentities($joinin_detail['contacts_email']); ?>"></td>
  77. </tr>
  78. </tbody>
  79. </table>
  80. <table border="0" cellpadding="0" cellspacing="0" class="store-joinin ds-default-table">
  81. <thead>
  82. <tr>
  83. <th colspan="20"><?php echo htmlentities(lang('business_license_information')); ?></th>
  84. </tr>
  85. </thead>
  86. <tbody>
  87. <tr>
  88. <th class="w150"><?php echo htmlentities(lang('business_license_number')); ?>:</th>
  89. <td><input type="text" class="txt" name="business_licence_number" value="<?php echo htmlentities($joinin_detail['business_licence_number']); ?>"></td></tr><tr>
  90. <th><?php echo htmlentities(lang('place_business_license')); ?>:</th>
  91. <td><input type="hidden" name="business_licence_address" id="business_licence_address" value="<?php echo htmlentities($joinin_detail['business_licence_address']); ?>"></td></tr><tr>
  92. <th><?php echo htmlentities(lang('validity_business_license')); ?>:</th>
  93. <td><input type="text" class="txt" name="business_licence_start" id="business_licence_start" value="<?php echo htmlentities($joinin_detail['business_licence_start']); ?>"> - <input type="text" class="txt" name="business_licence_end" id="business_licence_end" value="<?php echo htmlentities($joinin_detail['business_licence_end']); ?>"></td>
  94. </tr>
  95. <tr>
  96. <th><?php echo htmlentities(lang('legal_scope_business')); ?>:</th>
  97. <td colspan="20"><input type="text" class="txt w300" name="business_sphere" value="<?php echo htmlentities($joinin_detail['business_sphere']); ?>"></td>
  98. </tr>
  99. <tr>
  100. <th><?php echo htmlentities(lang('business_license')); ?><br /><?php echo htmlentities(lang('electronic_version')); ?>:</th>
  101. <td colspan="20">
  102. <?php if(!(empty($joinin_detail['business_licence_number_electronic']) || (($joinin_detail['business_licence_number_electronic'] instanceof \think\Collection || $joinin_detail['business_licence_number_electronic'] instanceof \think\Paginator ) && $joinin_detail['business_licence_number_electronic']->isEmpty()))): ?>
  103. <a data-lightbox="lightbox-image" href="<?php echo get_store_joinin_imageurl($joinin_detail['business_licence_number_electronic']); ?>"> <img src="<?php echo get_store_joinin_imageurl($joinin_detail['business_licence_number_electronic']); ?>" height="100"/> </a>
  104. <?php endif; ?>
  105. <input class="w200" type="file" name="business_licence_number_electronic">
  106. </td>
  107. </tr>
  108. </tbody>
  109. </table>
  110. <table border="0" cellpadding="0" cellspacing="0" class="store-joinin ds-default-table">
  111. <thead>
  112. <tr>
  113. <th colspan="20"><?php echo htmlentities(lang('bank_information')); ?>:</th>
  114. </tr>
  115. </thead>
  116. <tbody>
  117. <tr>
  118. <th class="w150"><?php echo htmlentities(lang('bank_name')); ?>:</th>
  119. <td><input type="text" class="txt w300" name="bank_account_name" value="<?php echo htmlentities($joinin_detail['bank_account_name']); ?>"></td>
  120. </tr><tr>
  121. <th><?php echo htmlentities(lang('company_bank_account')); ?>:</th>
  122. <td><input type="text" class="txt w300" name="bank_account_number" value="<?php echo htmlentities($joinin_detail['bank_account_number']); ?>"></td></tr>
  123. <tr>
  124. <th><?php echo htmlentities(lang('name_branch_bank')); ?>:</th>
  125. <td><input type="text" class="txt w300" name="bank_name" value="<?php echo htmlentities($joinin_detail['bank_name']); ?>"></td>
  126. </tr>
  127. <tr>
  128. <th><?php echo htmlentities(lang('location_bank_account')); ?>:</th>
  129. <td colspan="20"><input type="hidden" name="bank_address" id="bank_address" value="<?php echo htmlentities($joinin_detail['bank_address']); ?>"></td>
  130. </tr>
  131. </tbody>
  132. </table>
  133. <table border="0" cellpadding="0" cellspacing="0" class="store-joinin ds-default-table">
  134. <thead>
  135. <tr>
  136. <th colspan="20"><?php echo htmlentities(lang('settlement_account_information')); ?>:</th>
  137. </tr>
  138. </thead>
  139. <tbody>
  140. <tr>
  141. <th class="w150"><?php echo htmlentities(lang('bank_name')); ?>:</th>
  142. <td><input type="text" class="txt w300" name="settlement_bank_account_name" value="<?php echo htmlentities($joinin_detail['settlement_bank_account_name']); ?>"></td>
  143. </tr>
  144. <tr>
  145. <th><?php echo htmlentities(lang('company_bank_account')); ?>:</th>
  146. <td><input type="text" class="txt w300" name="settlement_bank_account_number" value="<?php echo htmlentities($joinin_detail['settlement_bank_account_number']); ?>"></td>
  147. </tr>
  148. <tr>
  149. <th><?php echo htmlentities(lang('name_branch_bank')); ?>:</th>
  150. <td><input type="text" class="txt w300" name="settlement_bank_name" value="<?php echo htmlentities($joinin_detail['settlement_bank_name']); ?>"></td>
  151. </tr>
  152. <tr>
  153. <th><?php echo htmlentities(lang('location_bank_account')); ?>:</th>
  154. <td><input type="hidden" name="settlement_bank_address" id="settlement_bank_address" value="<?php echo htmlentities($joinin_detail['settlement_bank_address']); ?>"></td>
  155. </tr>
  156. </tbody>
  157. </table>
  158. <?php else: ?>
  159. <table border="0" cellpadding="0" cellspacing="0" class="store-joinin ds-default-table">
  160. <thead>
  161. <tr>
  162. <th colspan="6"><?php echo htmlentities(lang('store_and_contact_info')); ?></th>
  163. </tr>
  164. </thead>
  165. <tbody>
  166. <tr>
  167. <th><?php echo htmlentities(lang('company_name')); ?>:</th>
  168. <td><input type="text" class="txt" name="company_name" value="<?php echo htmlentities($joinin_detail['company_name']); ?>"></td>
  169. <th><?php echo htmlentities(lang('company_location')); ?>:</th>
  170. <td><input type="hidden" name="company_address" id="company_address" value="<?php echo htmlentities($joinin_detail['company_address']); ?>"></td>
  171. <th><?php echo htmlentities(lang('company_address')); ?>:</th>
  172. <td colspan="3"><input type="text" class="txt w300" name="company_address_detail" value="<?php echo htmlentities($joinin_detail['company_address_detail']); ?>"></td>
  173. </tr>
  174. <tr>
  175. <th><?php echo htmlentities(lang('contact_name')); ?>:</th>
  176. <td><input type="text" class="txt" name="contacts_name" value="<?php echo htmlentities($joinin_detail['contacts_name']); ?>"></td>
  177. <th><?php echo htmlentities(lang('contact_number')); ?>:</th>
  178. <td><input type="text" class="txt" name="contacts_phone" value="<?php echo htmlentities($joinin_detail['contacts_phone']); ?>"></td>
  179. <th><?php echo htmlentities(lang('e_mail')); ?>:</th>
  180. <td><input type="text" class="txt" name="contacts_email" value="<?php echo htmlentities($joinin_detail['contacts_email']); ?>"></td>
  181. </tr>
  182. </tbody>
  183. </table>
  184. <table border="0" cellpadding="0" cellspacing="0" class="store-joinin ds-default-table">
  185. <thead>
  186. <tr>
  187. <th colspan="20"><?php echo htmlentities(lang('business_license_information')); ?></th>
  188. </tr>
  189. </thead>
  190. <tbody>
  191. <tr>
  192. <th class="w150"><?php echo htmlentities(lang('business_license_number')); ?>:</th>
  193. <td><input type="text" class="txt" name="business_licence_number" value="<?php echo htmlentities($joinin_detail['business_licence_number']); ?>"></td></tr><tr>
  194. <th><?php echo htmlentities(lang('place_business_license')); ?>:</th>
  195. <td><input type="hidden" name="business_licence_address" id="business_licence_address" value="<?php echo htmlentities($joinin_detail['business_licence_address']); ?>"></td></tr><tr>
  196. <th><?php echo htmlentities(lang('validity_business_license')); ?>:</th>
  197. <td><input type="text" class="txt" name="business_licence_start" id="business_licence_start" value="<?php echo htmlentities($joinin_detail['business_licence_start']); ?>"> - <input type="text" class="txt" name="business_licence_end" id="business_licence_end" value="<?php echo htmlentities($joinin_detail['business_licence_end']); ?>"></td>
  198. </tr>
  199. <tr>
  200. <th><?php echo htmlentities(lang('legal_scope_business')); ?>:</th>
  201. <td colspan="20"><input type="text" class="txt w300" name="business_sphere" value="<?php echo htmlentities($joinin_detail['business_sphere']); ?>"></td>
  202. </tr>
  203. <tr>
  204. <th><?php echo htmlentities(lang('business_license')); ?><br /><?php echo htmlentities(lang('electronic_version')); ?>:</th>
  205. <td colspan="20">
  206. <?php if(!(empty($joinin_detail['business_licence_number_electronic']) || (($joinin_detail['business_licence_number_electronic'] instanceof \think\Collection || $joinin_detail['business_licence_number_electronic'] instanceof \think\Paginator ) && $joinin_detail['business_licence_number_electronic']->isEmpty()))): ?>
  207. <a data-lightbox="lightbox-image" href="<?php echo get_store_joinin_imageurl($joinin_detail['business_licence_number_electronic']); ?>"> <img src="<?php echo get_store_joinin_imageurl($joinin_detail['business_licence_number_electronic']); ?>" height="100"/> </a>
  208. <input class="w200" type="file" name="business_licence_number_electronic">
  209. <?php endif; ?>
  210. </td>
  211. </tr>
  212. </tbody>
  213. </table>
  214. <table border="0" cellpadding="0" cellspacing="0" class="store-joinin ds-default-table">
  215. <thead>
  216. <tr>
  217. <th colspan="2"><?php echo htmlentities(lang('store_alipay_info')); ?>:</th>
  218. </tr>
  219. </thead>
  220. <tbody>
  221. <tr>
  222. <th><?php echo htmlentities(lang('store_alipay_account_name')); ?>:</th>
  223. <td><input type="text" class="txt w300" name="settlement_bank_account_name" value="<?php echo htmlentities($joinin_detail['settlement_bank_account_name']); ?>"></td>
  224. </tr>
  225. <tr>
  226. <th><?php echo htmlentities(lang('store_alipay_account_number')); ?>:</th>
  227. <td><input type="text" class="txt w300" name="settlement_bank_account_number" value="<?php echo htmlentities($joinin_detail['settlement_bank_account_number']); ?>"></td>
  228. </tr>
  229. </tbody>
  230. </table>
  231. <?php endif; ?>
  232. <div><input class="btn" type="submit" value="<?php echo htmlentities(lang('ds_submit')); ?>"/></div>
  233. </form>
  234. </div>
  235. </div>
  236. <link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery.lightbox/css/lightbox.min.css">
  237. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery.lightbox/js/lightbox.min.js"></script>
  238. <script type="text/javascript">
  239. $(function(){
  240. $("#company_address").ds_region();
  241. $("#business_licence_address").ds_region();
  242. $("#bank_address").ds_region();
  243. $("#settlement_bank_address").ds_region();
  244. $('#business_licence_start').datepicker({dateFormat: 'yy-mm-dd'});
  245. $('#business_licence_end').datepicker({dateFormat: 'yy-mm-dd'});
  246. $('#joinin_form').validate({
  247. errorPlacement: function(error, element){
  248. error.appendTo(element.parentsUntil('tr').parent().find('td:last'));
  249. },
  250. rules : {
  251. business_licence_start:{
  252. required: true,
  253. }
  254. },
  255. messages : {
  256. business_licence_start:{
  257. required: '<?php echo htmlentities(lang('business_licence_start_required')); ?>',
  258. }
  259. }
  260. });
  261. });
  262. </script>