144f21a14e4250dda69cbaa21634c4ee.php 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360
  1. <?php /*a:3:{s:57:"/data/web/pl.valimart.net/app/admin/view/config/base.html";i:1681198836;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('web_set')); ?></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. <form method="post" enctype="multipart/form-data" name="form1" action="">
  48. <div class="ncap-form-default">
  49. <dl>
  50. <dt><?php echo htmlentities(lang('site_name')); ?></dt>
  51. <dd>
  52. <input id="site_name" name="site_name" value="<?php echo htmlentities($list_config['site_name']); ?>" class="input-txt" type="text">
  53. <span class="err"></span>
  54. <p class="notic"><?php echo htmlentities(lang('web_name_notice')); ?></p>
  55. </dd>
  56. </dl>
  57. <dl>
  58. <dt><?php echo htmlentities(lang('fixed_suspension_state')); ?></dt>
  59. <dd>
  60. <div class="onoff">
  61. <label for="fixed_suspension_state1" class="cb-enable <?php if($list_config['fixed_suspension_state'] == 1): ?>selected<?php endif; ?>"><?php echo htmlentities(lang('ds_open')); ?></label>
  62. <label for="fixed_suspension_state0" class="cb-disable <?php if($list_config['fixed_suspension_state'] == 0): ?>selected<?php endif; ?>"><?php echo htmlentities(lang('ds_close')); ?></label>
  63. <input id="fixed_suspension_state1" name="fixed_suspension_state" value="1" type="radio" <?php if($list_config['fixed_suspension_state'] == 1): ?> checked="checked"<?php endif; ?>>
  64. <input id="fixed_suspension_state0" name="fixed_suspension_state" value="0" type="radio" <?php if($list_config['fixed_suspension_state'] == 0): ?> checked="checked"<?php endif; ?>>
  65. </div>
  66. </dd>
  67. </dl>
  68. <dl id="fixed_suspension_img" class="noborder">
  69. <dt class="required"><label for="file_fixed_suspension_img"><?php echo htmlentities(lang('fixed_suspension_img')); ?></label></dt>
  70. <dd class="vatop rowform">
  71. <?php if(!(empty($list_config['fixed_suspension_img']) || (($list_config['fixed_suspension_img'] instanceof \think\Collection || $list_config['fixed_suspension_img'] instanceof \think\Paginator ) && $list_config['fixed_suspension_img']->isEmpty()))): ?>
  72. <span class="type-file-show"><img class="show_image" src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/images/preview.png">
  73. <div class="type-file-preview"><img src="<?php echo ds_get_pic(ATTACH_COMMON,$list_config['fixed_suspension_img']); ?>?<?php echo htmlentities(TIMESTAMP); ?>"></div>
  74. </span>
  75. <?php endif; ?>
  76. <span class="type-file-box">
  77. <input type='text' name='textfield' id='textfield6' class='type-file-text' />
  78. <input type='button' name='button' id='button1' value='上传' class='type-file-button' />
  79. <input name="fixed_suspension_img" id="file_fixed_suspension_img" type="file" class="type-file-file" id="site_logo" size="30" hidefocus="true">
  80. </span>
  81. <p class="notic"><?php echo htmlentities(lang('fixed_suspension_img_notice')); ?></p>
  82. </dd>
  83. </dl>
  84. <dl>
  85. <dt><?php echo htmlentities(lang('fixed_suspension_url')); ?></dt>
  86. <dd>
  87. <input id="fixed_suspension_url" name="fixed_suspension_url" value="<?php echo htmlentities($list_config['fixed_suspension_url']); ?>" class="input-txt" type="text">
  88. <span class="err"></span>
  89. <p class="notic"><?php echo htmlentities(lang('fixed_suspension_url_notice')); ?></p>
  90. </dd>
  91. </dl>
  92. <dl>
  93. <dt><?php echo htmlentities(lang('hot_search')); ?></dt>
  94. <dd>
  95. <textarea id="hot_search" name="hot_search"><?php echo htmlentities($list_config['hot_search']); ?></textarea>
  96. <span class="err"></span>
  97. <p class="notic"><?php echo htmlentities(lang('field_notice')); ?></p>
  98. </dd>
  99. </dl>
  100. <dl>
  101. <dt><?php echo htmlentities(lang('h5_site_url')); ?></dt>
  102. <dd>
  103. <input id="h5_site_url" name="h5_site_url" value="<?php echo htmlentities($list_config['h5_site_url']); ?>" class="input-txt" type="text">
  104. <span class="err"></span>
  105. <p class="notic"></p>
  106. </dd>
  107. </dl>
  108. <dl>
  109. <dt><?php echo htmlentities(lang('h5_store_site_url')); ?></dt>
  110. <dd>
  111. <input id="h5_store_site_url" name="h5_store_site_url" value="<?php echo htmlentities($list_config['h5_store_site_url']); ?>" class="input-txt" type="text">
  112. <span class="err"></span>
  113. <p class="notic"></p>
  114. </dd>
  115. </dl>
  116. <dl>
  117. <dt><?php echo htmlentities(lang('h5_chain_site_url')); ?></dt>
  118. <dd>
  119. <input id="h5_chain_site_url" name="h5_chain_site_url" value="<?php echo htmlentities($list_config['h5_chain_site_url']); ?>" class="input-txt" type="text">
  120. <span class="err"></span>
  121. <p class="notic"></p>
  122. </dd>
  123. </dl>
  124. <dl>
  125. <dt><?php echo htmlentities(lang('h5_force_redirect')); ?></dt>
  126. <dd>
  127. <div class="onoff">
  128. <label for="h5_force_redirect1" class="cb-enable <?php if($list_config['h5_force_redirect'] == 1): ?>selected<?php endif; ?>"><?php echo htmlentities(lang('ds_open')); ?></label>
  129. <label for="h5_force_redirect0" class="cb-disable <?php if($list_config['h5_force_redirect'] == 0): ?>selected<?php endif; ?>"><?php echo htmlentities(lang('ds_close')); ?></label>
  130. <input id="h5_force_redirect1" name="h5_force_redirect" value="1" type="radio" <?php if($list_config['h5_force_redirect'] == 1): ?> checked="checked"<?php endif; ?>>
  131. <input id="h5_force_redirect0" name="h5_force_redirect" value="0" type="radio" <?php if($list_config['h5_force_redirect'] == 0): ?> checked="checked"<?php endif; ?>>
  132. </div>
  133. <p class="notic"><?php echo htmlentities(lang('h5_force_redirect_tips')); ?></p>
  134. </dd>
  135. </dl>
  136. <!-- 开启商品发布审核 -->
  137. <dl>
  138. <dt><?php echo htmlentities(lang('is_goods_verify')); ?></dt>
  139. <dd>
  140. <div class="onoff">
  141. <label for="goods_verify_1" class="cb-enable <?php if($list_config['goods_verify'] == '1'): ?>selected<?php endif; ?>" title="<?php echo htmlentities(lang('ds_open')); ?>"><span><?php echo htmlentities(lang('ds_open')); ?></span></label>
  142. <label for="goods_verify_0" class="cb-disable <?php if($list_config['goods_verify'] == '0'): ?>selected<?php endif; ?>" title="<?php echo htmlentities(lang('ds_close')); ?>"><span><?php echo htmlentities(lang('ds_close')); ?></span></label>
  143. <input type="radio" id="goods_verify_1" name="goods_verify" value="1" <?php if($list_config['goods_verify']=='1'): ?>checked=checked<?php endif; ?>>
  144. <input type="radio" id="goods_verify_0" name="goods_verify" value="0" <?php if($list_config['goods_verify']=='0'): ?>checked=checked<?php endif; ?>>
  145. </div>
  146. <p class="notic"><?php echo htmlentities(lang('goods_verify_notice')); ?></p>
  147. </dd>
  148. </dl>
  149. <!-- 商品全部审核通过 -->
  150. <dl dstype="goods_all_verify" style="display: none">
  151. <dt><?php echo htmlentities(lang('is_goods_all_verify')); ?></dt>
  152. <dd>
  153. <div class="onoff">
  154. <label for="goods_all_verify_1" class="cb-enable" title="<?php echo htmlentities(lang('ds_yes')); ?>"><span><?php echo htmlentities(lang('ds_yes')); ?></span></label>
  155. <label for="goods_all_verify_0" class="cb-disable selected" title="<?php echo htmlentities(lang('ds_no')); ?>"><span><?php echo htmlentities(lang('ds_no')); ?></span></label>
  156. <input type="radio" id="goods_all_verify_1" name="goods_all_verify" value="1">
  157. <input type="radio" id="goods_all_verify_0" name="goods_all_verify" value="0" checked=checked>
  158. </div>
  159. <p class="notic"><?php echo htmlentities(lang('goods_all_verify_notice')); ?></p>
  160. </dd>
  161. </dl>
  162. <!-- 开启实名认证 -->
  163. <dl>
  164. <dt><?php echo htmlentities(lang('member_auth')); ?></dt>
  165. <dd>
  166. <div class="onoff">
  167. <label for="member_auth_1" class="cb-enable <?php if($list_config['member_auth'] == '1'): ?>selected<?php endif; ?>" title="<?php echo htmlentities(lang('ds_open')); ?>"><span><?php echo htmlentities(lang('ds_open')); ?></span></label>
  168. <label for="member_auth_0" class="cb-disable <?php if($list_config['member_auth'] == '0'): ?>selected<?php endif; ?>" title="<?php echo htmlentities(lang('ds_close')); ?>"><span><?php echo htmlentities(lang('ds_close')); ?></span></label>
  169. <input id="member_auth_1" name="member_auth" <?php if($list_config['member_auth'] == '1'): ?> checked=checked <?php endif; ?> value="1" type="radio">
  170. <input id="member_auth_0" name="member_auth" <?php if($list_config['member_auth'] == '0'): ?> checked=checked <?php endif; ?> value="0" type="radio">
  171. </div>
  172. <p class="notic"><?php echo htmlentities(lang('member_auth_notice')); ?></p>
  173. </dd>
  174. </dl>
  175. <dl>
  176. <dt><?php echo htmlentities(lang('mapak_type')); ?></dt>
  177. <dd>
  178. <label class="radio-label">
  179. <i class="radio-common <?php if(!$list_config['mapak_type'] || $list_config['mapak_type'] =='1'): ?>selected<?php endif; ?>">
  180. <input type="radio" value="1" name="mapak_type" class='gaoderadio' <?php if(!$list_config['mapak_type'] || $list_config['mapak_type'] =='1'): ?> checked="checked"<?php endif; ?>>
  181. </i>
  182. <span><?php echo htmlentities(lang('gaode_map')); ?></span>
  183. </label>
  184. <label class="radio-label">
  185. <i class="radio-common <?php if($list_config['mapak_type'] =='2'): ?>selected<?php endif; ?>">
  186. <input type="radio" value="2" name="mapak_type" class='baiduradio' <?php if($list_config['mapak_type'] =='2'): ?> checked="checked"<?php endif; ?>>
  187. </i>
  188. <span><?php echo htmlentities(lang('baidu_map')); ?></span>
  189. </label>
  190. <span class="tips"></span>
  191. </dd>
  192. </dl>
  193. <dl class='gaodedl'>
  194. <dt><?php echo htmlentities(lang('gaode_ak')); ?></dt>
  195. <dd>
  196. <input id="gaode_ak" name="gaode_ak" value="<?php echo htmlentities($list_config['gaode_ak']); ?>" class="input-txt" type="text">
  197. <span class="err"></span>
  198. <p class="notic"></p>
  199. </dd>
  200. </dl>
  201. <dl class='gaodedl'>
  202. <dt><?php echo htmlentities(lang('gaode_jscode')); ?></dt>
  203. <dd>
  204. <input id="gaode_jscode" name="gaode_jscode" value="<?php echo htmlentities($list_config['gaode_jscode']); ?>" class="input-txt" type="text">
  205. <span class="err"></span>
  206. <p class="notic"></p>
  207. </dd>
  208. </dl>
  209. <dl class='baidudl'>
  210. <dt><?php echo htmlentities(lang('baidu_mapservice_ak_key')); ?></dt>
  211. <dd>
  212. <input id="baiduservice_ak" name="baiduservice_ak" value="<?php echo htmlentities($list_config['baiduservice_ak']); ?>" class="input-txt" type="text">
  213. <span class="err"></span>
  214. <p class="notic"></p>
  215. </dd>
  216. </dl>
  217. <dl class='baidudl'>
  218. <dt><?php echo htmlentities(lang('baidu_map_ak_key')); ?></dt>
  219. <dd>
  220. <input id="baidu_ak" name="baidu_ak" value="<?php echo htmlentities($list_config['baidu_ak']); ?>" class="input-txt" type="text">
  221. <span class="err"></span>
  222. <p class="notic"></p>
  223. </dd>
  224. </dl>
  225. <dl>
  226. <dt><?php echo htmlentities(lang('icp_number')); ?></dt>
  227. <dd>
  228. <input id="icp_number" name="icp_number" value="<?php echo htmlentities($list_config['icp_number']); ?>" class="input-txt" type="text">
  229. <span class="err"></span>
  230. <p class="notic"></p>
  231. </dd>
  232. </dl>
  233. <dl>
  234. <dt><?php echo htmlentities(lang('wab_number')); ?></dt>
  235. <dd>
  236. <input id="wab_number" name="wab_number" value="<?php echo htmlentities($list_config['wab_number']); ?>" class="input-txt" type="text">
  237. <span class="err"></span>
  238. <p class="notic"></p>
  239. </dd>
  240. </dl>
  241. <dl>
  242. <dt><?php echo htmlentities(lang('site_phone')); ?></dt>
  243. <dd>
  244. <input id="site_phone" name="site_phone" value="<?php echo htmlentities($list_config['site_phone']); ?>" class="input-txt" type="text">
  245. <span class="err"></span>
  246. <p class="notic"></p>
  247. </dd>
  248. </dl>
  249. <dl>
  250. <dt><?php echo htmlentities(lang('site_tel400')); ?></dt>
  251. <dd>
  252. <input id="site_tel400" name="site_tel400" value="<?php echo htmlentities($list_config['site_tel400']); ?>" class="input-txt" type="text">
  253. <span class="err"></span>
  254. <p class="notic"></p>
  255. </dd>
  256. </dl>
  257. <dl>
  258. <dt><?php echo htmlentities(lang('site_email')); ?></dt>
  259. <dd>
  260. <input id="site_email" name="site_email" value="<?php echo htmlentities($list_config['site_email']); ?>" class="input-txt" type="text">
  261. <span class="err"></span>
  262. <p class="notic"></p>
  263. </dd>
  264. </dl>
  265. <dl>
  266. <dt><?php echo htmlentities(lang('flow_static_code')); ?></dt>
  267. <dd>
  268. <textarea id="flow_static_code" name="flow_static_code"><?php echo htmlentities($list_config['flow_static_code']); ?></textarea>
  269. <span class="err"></span>
  270. <p class="notic"><?php echo htmlentities(lang('flow_static_code_notice')); ?></p>
  271. </dd>
  272. </dl>
  273. <dl>
  274. <dt><?php echo htmlentities(lang('cache_open')); ?></dt>
  275. <dd>
  276. <div class="onoff">
  277. <label for="cache_open1" class="cb-enable <?php if($list_config['cache_open'] == 1): ?>selected<?php endif; ?>"><?php echo htmlentities(lang('ds_open')); ?></label>
  278. <label for="cache_open0" class="cb-disable <?php if($list_config['cache_open'] == 0): ?>selected<?php endif; ?>"><?php echo htmlentities(lang('ds_close')); ?></label>
  279. <input id="cache_open1" name="cache_open" value="1" type="radio" <?php if($list_config['cache_open'] == 1): ?> checked="checked"<?php endif; ?>>
  280. <input id="cache_open0" name="cache_open" value="0" type="radio" <?php if($list_config['cache_open'] == 0): ?> checked="checked"<?php endif; ?>>
  281. </div>
  282. </dd>
  283. </dl>
  284. <dl>
  285. <dt><?php echo htmlentities(lang('site_state')); ?></dt>
  286. <dd>
  287. <div class="onoff">
  288. <label for="site_state1" class="cb-enable <?php if($list_config['site_state'] == 1): ?>selected<?php endif; ?>"><?php echo htmlentities(lang('ds_open')); ?></label>
  289. <label for="site_state0" class="cb-disable <?php if($list_config['site_state'] == 0): ?>selected<?php endif; ?>"><?php echo htmlentities(lang('ds_close')); ?></label>
  290. <input id="site_state1" name="site_state" value="1" type="radio" <?php if($list_config['site_state'] == 1): ?> checked="checked"<?php endif; ?>>
  291. <input id="site_state0" name="site_state" value="0" type="radio" <?php if($list_config['site_state'] == 0): ?> checked="checked"<?php endif; ?>>
  292. </div>
  293. </dd>
  294. </dl>
  295. <dl>
  296. <dt><?php echo htmlentities(lang('closed_reason')); ?></dt>
  297. <dd>
  298. <textarea id="closed_reason" name="closed_reason"><?php echo htmlentities($list_config['closed_reason']); ?></textarea>
  299. <span class="err"></span>
  300. <p class="notic"></p>
  301. </dd>
  302. </dl>
  303. <dl>
  304. <dt></dt>
  305. <dd><a href="JavaScript:void(0);" class="btn" onclick="document.form1.submit()"><?php echo htmlentities(lang('ds_confirm_submit')); ?></a></dd>
  306. </dl>
  307. </div>
  308. </form>
  309. </div>
  310. <script>
  311. $(function(){
  312. if(<?php echo htmlentities($list_config['goods_verify']); ?>){
  313. $('input[name="goods_verify"]').change(function(){
  314. if($(this).val()==0){
  315. $('*[dstype="goods_all_verify"]').show()
  316. }else{
  317. $('*[dstype="goods_all_verify"]').hide()
  318. }
  319. })
  320. }
  321. if ($('.gaoderadio').prop('checked')) {
  322. $('.baidudl').hide();
  323. $('.gaodedl').show();
  324. }else{
  325. $('.gaodedl').hide();
  326. $('.baidudl').show();
  327. }
  328. $('.gaoderadio').click(function(){
  329. $('.gaodedl').show();
  330. $('.baidudl').hide();
  331. })
  332. $('.baiduradio').click(function(){
  333. $('.baidudl').show();
  334. $('.gaodedl').hide();
  335. })
  336. })
  337. </script>