bb46b1af98281ff5a5aac13af6ab2c36.php 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219
  1. <?php /*a:3:{s:59:"/data/web/mall.valimart.net/app/admin/view/config/logo.html";i:1657785096;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_logo')); ?></dt>
  51. <dd>
  52. <?php if(!(empty($list_config['site_logo']) || (($list_config['site_logo'] instanceof \think\Collection || $list_config['site_logo'] instanceof \think\Paginator ) && $list_config['site_logo']->isEmpty()))): ?>
  53. <span class="type-file-show"><img class="show_image" src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/images/preview.png">
  54. <div class="type-file-preview"><img src="<?php echo ds_get_pic(ATTACH_COMMON,$list_config['site_logo']); ?>?<?php echo htmlentities(TIMESTAMP); ?>"></div>
  55. </span>
  56. <?php endif; ?>
  57. <span class="type-file-box"><input type='text' name='textfield' id='textfield1' class='type-file-text' /><input type='button' name='button' id='button1' value='上传' class='type-file-button' />
  58. <input name="site_logo" type="file" class="type-file-file" id="site_logo" size="30" hidefocus="true" ds_type="change_site_logo">
  59. </span>
  60. <p class="notic"><?php echo htmlentities(lang('site_logo_notice')); ?></p>
  61. </dd>
  62. </dl>
  63. <dl>
  64. <dt><?php echo htmlentities(lang('member_logo')); ?></dt>
  65. <dd>
  66. <?php if(!(empty($list_config['member_logo']) || (($list_config['member_logo'] instanceof \think\Collection || $list_config['member_logo'] instanceof \think\Paginator ) && $list_config['member_logo']->isEmpty()))): ?>
  67. <span class="type-file-show"><img class="show_image" src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/images/preview.png">
  68. <div class="type-file-preview"><img src="<?php echo ds_get_pic(ATTACH_COMMON,$list_config['member_logo']); ?>?<?php echo htmlentities(TIMESTAMP); ?>"></div>
  69. </span>
  70. <?php endif; ?>
  71. <span class="type-file-box"><input type='text' name='textfield' id='textfield2' class='type-file-text' /><input type='button' name='button' id='button1' value='上传' class='type-file-button' />
  72. <input name="member_logo" type="file" class="type-file-file" id="member_logo" size="30" hidefocus="true" ds_type="change_member_logo">
  73. </span>
  74. <p class="notic"><?php echo htmlentities(lang('member_logo_notice')); ?></p>
  75. </dd>
  76. </dl>
  77. <dl>
  78. <dt><?php echo htmlentities(lang('seller_center_logo')); ?></dt>
  79. <dd>
  80. <?php if(!(empty($list_config['seller_center_logo']) || (($list_config['seller_center_logo'] instanceof \think\Collection || $list_config['seller_center_logo'] instanceof \think\Paginator ) && $list_config['seller_center_logo']->isEmpty()))): ?>
  81. <span class="type-file-show"><img class="show_image" src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/images/preview.png">
  82. <div class="type-file-preview"><img src="<?php echo ds_get_pic(ATTACH_COMMON,$list_config['seller_center_logo']); ?>?<?php echo htmlentities(TIMESTAMP); ?>"></div>
  83. </span>
  84. <?php endif; ?>
  85. <span class="type-file-box"><input type='text' name='textfield' id='textfield3' class='type-file-text' /><input type='button' name='button' id='button1' value='上传' class='type-file-button' />
  86. <input name="seller_center_logo" type="file" class="type-file-file" id="seller_center_logo" size="30" hidefocus="true" ds_type="change_seller_center_logo">
  87. </span>
  88. <p class="notic"><?php echo htmlentities(lang('seller_center_logo_notice')); ?></p>
  89. </dd>
  90. </dl>
  91. <dl>
  92. <dt><?php echo htmlentities(lang('site_mobile_logo')); ?></dt>
  93. <dd>
  94. <?php if(!(empty($list_config['site_mobile_logo']) || (($list_config['site_mobile_logo'] instanceof \think\Collection || $list_config['site_mobile_logo'] instanceof \think\Paginator ) && $list_config['site_mobile_logo']->isEmpty()))): ?>
  95. <span class="type-file-show"><img class="show_image" src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/images/preview.png">
  96. <div class="type-file-preview"><img src="<?php echo ds_get_pic(ATTACH_COMMON,$list_config['site_mobile_logo']); ?>?<?php echo htmlentities(TIMESTAMP); ?>"></div>
  97. </span>
  98. <?php endif; ?>
  99. <span class="type-file-box"><input type='text' name='textfield' id='textfield4' class='type-file-text' /><input type='button' name='button' id='button1' value='上传' class='type-file-button' />
  100. <input name="site_mobile_logo" type="file" class="type-file-file" id="site_mobile_logo" size="30" hidefocus="true" ds_type="change_site_mobile_logo">
  101. </span>
  102. <p class="notic"><?php echo htmlentities(lang('site_mobile_logo_notice')); ?></p>
  103. </dd>
  104. </dl>
  105. <dl>
  106. <dt><?php echo htmlentities(lang('admin_logo')); ?></dt>
  107. <dd>
  108. <?php if(!(empty($list_config['admin_logo']) || (($list_config['admin_logo'] instanceof \think\Collection || $list_config['admin_logo'] instanceof \think\Paginator ) && $list_config['admin_logo']->isEmpty()))): ?>
  109. <span class="type-file-show"><img class="show_image" src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/images/preview.png">
  110. <div class="type-file-preview"><img src="<?php echo ds_get_pic('admin/common',config('ds_config.admin_logo')); ?>?<?php echo htmlentities(TIMESTAMP); ?>"></div>
  111. </span>
  112. <?php endif; ?>
  113. <span class="type-file-box"><input type='text' name='textfield' id='textfield7' class='type-file-text' /><input type='button' name='button' value='上传' class='type-file-button' />
  114. <input name="admin_logo" type="file" class="type-file-file" id="admin_logo" size="30" hidefocus="true" ds_type="change_admin_logo">
  115. </span>
  116. <p class="notic"><?php echo htmlentities(lang('admin_logo_notice')); ?></p>
  117. </dd>
  118. </dl>
  119. <dl>
  120. <dt><?php echo htmlentities(lang('admin_backlogo')); ?></dt>
  121. <dd>
  122. <?php if(!(empty($list_config['admin_backlogo']) || (($list_config['admin_backlogo'] instanceof \think\Collection || $list_config['admin_backlogo'] instanceof \think\Paginator ) && $list_config['admin_backlogo']->isEmpty()))): ?>
  123. <span class="type-file-show"><img class="show_image" src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/images/preview.png">
  124. <div class="type-file-preview"><img src="<?php echo ds_get_pic('admin/common',config('ds_config.admin_backlogo')); ?>?<?php echo htmlentities(TIMESTAMP); ?>"></div>
  125. </span>
  126. <?php endif; ?>
  127. <span class="type-file-box"><input type='text' name='textfield' id='textfield8' class='type-file-text' /><input type='button' name='button' value='上传' class='type-file-button' />
  128. <input name="admin_backlogo" type="file" class="type-file-file" id="admin_backlogo" size="30" hidefocus="true" ds_type="change_admin_backlogo">
  129. </span>
  130. <p class="notic"><?php echo htmlentities(lang('admin_backlogo_notice')); ?></p>
  131. </dd>
  132. </dl>
  133. <dl>
  134. <dt><?php echo htmlentities(lang('site_logowx')); ?></dt>
  135. <dd>
  136. <?php if(!(empty($list_config['site_logowx']) || (($list_config['site_logowx'] instanceof \think\Collection || $list_config['site_logowx'] instanceof \think\Paginator ) && $list_config['site_logowx']->isEmpty()))): ?>
  137. <span class="type-file-show"><img class="show_image" src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/images/preview.png">
  138. <div class="type-file-preview"><img src="<?php echo ds_get_pic(ATTACH_COMMON,$list_config['site_logowx']); ?>?<?php echo htmlentities(TIMESTAMP); ?>"></div>
  139. </span>
  140. <?php endif; ?>
  141. <span class="type-file-box"><input type='text' name='textfield' id='textfield5' class='type-file-text' /><input type='button' name='button' id='button1' value='上传' class='type-file-button' />
  142. <input name="site_logowx" type="file" class="type-file-file" id="site_logowx" size="30" hidefocus="true" ds_type="change_site_logowx">
  143. </span>
  144. <p class="notic"><?php echo htmlentities(lang('site_logowx_notice')); ?></p>
  145. </dd>
  146. </dl>
  147. <dl id="business_licence" class="noborder">
  148. <dt class="required"><label for="file_business_licence"><?php echo htmlentities(lang('config_business_licence')); ?>:</label></dt>
  149. <dd class="vatop rowform">
  150. <?php if(!(empty($list_config['business_licence']) || (($list_config['business_licence'] instanceof \think\Collection || $list_config['business_licence'] instanceof \think\Paginator ) && $list_config['business_licence']->isEmpty()))): ?>
  151. <span class="type-file-show"><img class="show_image" src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/images/preview.png">
  152. <div class="type-file-preview"><img src="<?php echo ds_get_pic(ATTACH_COMMON,$list_config['business_licence']); ?>?<?php echo htmlentities(TIMESTAMP); ?>"></div>
  153. </span>
  154. <?php endif; ?>
  155. <span class="type-file-box">
  156. <input type='text' name='textfield' id='textfield6' class='type-file-text' />
  157. <input type='button' name='button' id='button1' value='上传' class='type-file-button' />
  158. <input name="business_licence" id="file_business_licence" type="file" class="type-file-file" id="site_logo" size="30" hidefocus="true">
  159. </span>
  160. <p class="notic"></p>
  161. </dd>
  162. </dl>
  163. <dl>
  164. <dt></dt>
  165. <dd><a href="JavaScript:void(0);" class="btn" onclick="document.form1.submit()"><?php echo htmlentities(lang('ds_confirm_submit')); ?></a></dd>
  166. </dl>
  167. </div>
  168. </form>
  169. </div>
  170. <script>
  171. $(function(){
  172. $("#site_logo").change(function () {
  173. $("#textfield1").val($("#site_logo").val());
  174. });
  175. $("#member_logo").change(function () {
  176. $("#textfield2").val($("#member_logo").val());
  177. });
  178. $("#seller_center_logo").change(function () {
  179. $("#textfield3").val($("#seller_center_logo").val());
  180. });
  181. $("#site_mobile_logo").change(function () {
  182. $("#textfield4").val($("#site_mobile_logo").val());
  183. });
  184. $("#site_logowx").change(function () {
  185. $("#textfield5").val($("#site_logowx").val());
  186. });
  187. $("#file_business_licence").change(function () {
  188. $("#textfield6").val($("#file_business_licence").val());
  189. });
  190. $("#admin_logo").change(function () {
  191. $("#textfield7").val($("#admin_logo").val());
  192. });
  193. $("#admin_backlogo").change(function () {
  194. $("#textfield8").val($("#admin_backlogo").val());
  195. });
  196. })
  197. </script>