cdb94cf4ea766e1394a17df69529ca69.php 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344
  1. <?php /*a:3:{s:59:"/data/web/mall.valimart.net/app/admin/view/config/base.html";i:1670990298;s:61:"/data/web/mall.valimart.net/app/admin/view/public/header.html";i:1657785098;s:66:"/data/web/mall.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_force_redirect')); ?></dt>
  110. <dd>
  111. <div class="onoff">
  112. <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>
  113. <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>
  114. <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; ?>>
  115. <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; ?>>
  116. </div>
  117. <p class="notic"><?php echo htmlentities(lang('h5_force_redirect_tips')); ?></p>
  118. </dd>
  119. </dl>
  120. <!-- 开启商品发布审核 -->
  121. <dl>
  122. <dt><?php echo htmlentities(lang('is_goods_verify')); ?></dt>
  123. <dd>
  124. <div class="onoff">
  125. <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>
  126. <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>
  127. <input type="radio" id="goods_verify_1" name="goods_verify" value="1" <?php if($list_config['goods_verify']=='1'): ?>checked=checked<?php endif; ?>>
  128. <input type="radio" id="goods_verify_0" name="goods_verify" value="0" <?php if($list_config['goods_verify']=='0'): ?>checked=checked<?php endif; ?>>
  129. </div>
  130. <p class="notic"><?php echo htmlentities(lang('goods_verify_notice')); ?></p>
  131. </dd>
  132. </dl>
  133. <!-- 商品全部审核通过 -->
  134. <dl dstype="goods_all_verify" style="display: none">
  135. <dt><?php echo htmlentities(lang('is_goods_all_verify')); ?></dt>
  136. <dd>
  137. <div class="onoff">
  138. <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>
  139. <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>
  140. <input type="radio" id="goods_all_verify_1" name="goods_all_verify" value="1">
  141. <input type="radio" id="goods_all_verify_0" name="goods_all_verify" value="0" checked=checked>
  142. </div>
  143. <p class="notic"><?php echo htmlentities(lang('goods_all_verify_notice')); ?></p>
  144. </dd>
  145. </dl>
  146. <!-- 开启实名认证 -->
  147. <dl>
  148. <dt><?php echo htmlentities(lang('member_auth')); ?></dt>
  149. <dd>
  150. <div class="onoff">
  151. <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>
  152. <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>
  153. <input id="member_auth_1" name="member_auth" <?php if($list_config['member_auth'] == '1'): ?> checked=checked <?php endif; ?> value="1" type="radio">
  154. <input id="member_auth_0" name="member_auth" <?php if($list_config['member_auth'] == '0'): ?> checked=checked <?php endif; ?> value="0" type="radio">
  155. </div>
  156. <p class="notic"><?php echo htmlentities(lang('member_auth_notice')); ?></p>
  157. </dd>
  158. </dl>
  159. <dl>
  160. <dt><?php echo htmlentities(lang('mapak_type')); ?></dt>
  161. <dd>
  162. <label class="radio-label">
  163. <i class="radio-common <?php if(!$list_config['mapak_type'] || $list_config['mapak_type'] =='1'): ?>selected<?php endif; ?>">
  164. <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; ?>>
  165. </i>
  166. <span><?php echo htmlentities(lang('gaode_map')); ?></span>
  167. </label>
  168. <label class="radio-label">
  169. <i class="radio-common <?php if($list_config['mapak_type'] =='2'): ?>selected<?php endif; ?>">
  170. <input type="radio" value="2" name="mapak_type" class='baiduradio' <?php if($list_config['mapak_type'] =='2'): ?> checked="checked"<?php endif; ?>>
  171. </i>
  172. <span><?php echo htmlentities(lang('baidu_map')); ?></span>
  173. </label>
  174. <span class="tips"></span>
  175. </dd>
  176. </dl>
  177. <dl class='gaodedl'>
  178. <dt><?php echo htmlentities(lang('gaode_ak')); ?></dt>
  179. <dd>
  180. <input id="gaode_ak" name="gaode_ak" value="<?php echo htmlentities($list_config['gaode_ak']); ?>" class="input-txt" type="text">
  181. <span class="err"></span>
  182. <p class="notic"></p>
  183. </dd>
  184. </dl>
  185. <dl class='gaodedl'>
  186. <dt><?php echo htmlentities(lang('gaode_jscode')); ?></dt>
  187. <dd>
  188. <input id="gaode_jscode" name="gaode_jscode" value="<?php echo htmlentities($list_config['gaode_jscode']); ?>" class="input-txt" type="text">
  189. <span class="err"></span>
  190. <p class="notic"></p>
  191. </dd>
  192. </dl>
  193. <dl class='baidudl'>
  194. <dt><?php echo htmlentities(lang('baidu_mapservice_ak_key')); ?></dt>
  195. <dd>
  196. <input id="baiduservice_ak" name="baiduservice_ak" value="<?php echo htmlentities($list_config['baiduservice_ak']); ?>" class="input-txt" type="text">
  197. <span class="err"></span>
  198. <p class="notic"></p>
  199. </dd>
  200. </dl>
  201. <dl class='baidudl'>
  202. <dt><?php echo htmlentities(lang('baidu_map_ak_key')); ?></dt>
  203. <dd>
  204. <input id="baidu_ak" name="baidu_ak" value="<?php echo htmlentities($list_config['baidu_ak']); ?>" class="input-txt" type="text">
  205. <span class="err"></span>
  206. <p class="notic"></p>
  207. </dd>
  208. </dl>
  209. <dl>
  210. <dt><?php echo htmlentities(lang('icp_number')); ?></dt>
  211. <dd>
  212. <input id="icp_number" name="icp_number" value="<?php echo htmlentities($list_config['icp_number']); ?>" class="input-txt" type="text">
  213. <span class="err"></span>
  214. <p class="notic"></p>
  215. </dd>
  216. </dl>
  217. <dl>
  218. <dt><?php echo htmlentities(lang('wab_number')); ?></dt>
  219. <dd>
  220. <input id="wab_number" name="wab_number" value="<?php echo htmlentities($list_config['wab_number']); ?>" 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('site_phone')); ?></dt>
  227. <dd>
  228. <input id="site_phone" name="site_phone" value="<?php echo htmlentities($list_config['site_phone']); ?>" 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('site_tel400')); ?></dt>
  235. <dd>
  236. <input id="site_tel400" name="site_tel400" value="<?php echo htmlentities($list_config['site_tel400']); ?>" 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_email')); ?></dt>
  243. <dd>
  244. <input id="site_email" name="site_email" value="<?php echo htmlentities($list_config['site_email']); ?>" 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('flow_static_code')); ?></dt>
  251. <dd>
  252. <textarea id="flow_static_code" name="flow_static_code"><?php echo htmlentities($list_config['flow_static_code']); ?></textarea>
  253. <span class="err"></span>
  254. <p class="notic"><?php echo htmlentities(lang('flow_static_code_notice')); ?></p>
  255. </dd>
  256. </dl>
  257. <dl>
  258. <dt><?php echo htmlentities(lang('cache_open')); ?></dt>
  259. <dd>
  260. <div class="onoff">
  261. <label for="cache_open1" class="cb-enable <?php if($list_config['cache_open'] == 1): ?>selected<?php endif; ?>"><?php echo htmlentities(lang('ds_open')); ?></label>
  262. <label for="cache_open0" class="cb-disable <?php if($list_config['cache_open'] == 0): ?>selected<?php endif; ?>"><?php echo htmlentities(lang('ds_close')); ?></label>
  263. <input id="cache_open1" name="cache_open" value="1" type="radio" <?php if($list_config['cache_open'] == 1): ?> checked="checked"<?php endif; ?>>
  264. <input id="cache_open0" name="cache_open" value="0" type="radio" <?php if($list_config['cache_open'] == 0): ?> checked="checked"<?php endif; ?>>
  265. </div>
  266. </dd>
  267. </dl>
  268. <dl>
  269. <dt><?php echo htmlentities(lang('site_state')); ?></dt>
  270. <dd>
  271. <div class="onoff">
  272. <label for="site_state1" class="cb-enable <?php if($list_config['site_state'] == 1): ?>selected<?php endif; ?>"><?php echo htmlentities(lang('ds_open')); ?></label>
  273. <label for="site_state0" class="cb-disable <?php if($list_config['site_state'] == 0): ?>selected<?php endif; ?>"><?php echo htmlentities(lang('ds_close')); ?></label>
  274. <input id="site_state1" name="site_state" value="1" type="radio" <?php if($list_config['site_state'] == 1): ?> checked="checked"<?php endif; ?>>
  275. <input id="site_state0" name="site_state" value="0" type="radio" <?php if($list_config['site_state'] == 0): ?> checked="checked"<?php endif; ?>>
  276. </div>
  277. </dd>
  278. </dl>
  279. <dl>
  280. <dt><?php echo htmlentities(lang('closed_reason')); ?></dt>
  281. <dd>
  282. <textarea id="closed_reason" name="closed_reason"><?php echo htmlentities($list_config['closed_reason']); ?></textarea>
  283. <span class="err"></span>
  284. <p class="notic"></p>
  285. </dd>
  286. </dl>
  287. <dl>
  288. <dt></dt>
  289. <dd><a href="JavaScript:void(0);" class="btn" onclick="document.form1.submit()"><?php echo htmlentities(lang('ds_confirm_submit')); ?></a></dd>
  290. </dl>
  291. </div>
  292. </form>
  293. </div>
  294. <script>
  295. $(function(){
  296. if(<?php echo htmlentities($list_config['goods_verify']); ?>){
  297. $('input[name="goods_verify"]').change(function(){
  298. if($(this).val()==0){
  299. $('*[dstype="goods_all_verify"]').show()
  300. }else{
  301. $('*[dstype="goods_all_verify"]').hide()
  302. }
  303. })
  304. }
  305. if ($('.gaoderadio').prop('checked')) {
  306. $('.baidudl').hide();
  307. $('.gaodedl').show();
  308. }else{
  309. $('.gaodedl').hide();
  310. $('.baidudl').show();
  311. }
  312. $('.gaoderadio').click(function(){
  313. $('.gaodedl').show();
  314. $('.baidudl').hide();
  315. })
  316. $('.baiduradio').click(function(){
  317. $('.baidudl').show();
  318. $('.gaodedl').hide();
  319. })
  320. })
  321. </script>