87436e8b261db7f5f64ebcdcca48a98f.php 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266
  1. <?php /*a:6:{s:84:"/data/web/mall.valimart.net/app/home/view/default/seller/selleralbum/album_cate.html";i:1657785116;s:71:"/data/web/mall.valimart.net/app/home/view/default/base/base_seller.html";i:1657785114;s:70:"/data/web/mall.valimart.net/app/home/view/default/base/seller_top.html";i:1660125338;s:71:"/data/web/mall.valimart.net/app/home/view/default/base/seller_left.html";i:1657785114;s:72:"/data/web/mall.valimart.net/app/home/view/default/base/seller_items.html";i:1657785114;s:71:"/data/web/mall.valimart.net/app/home/view/default/base/mall_footer.html";i:1657785114;}*/ ?>
  2. <!doctype html>
  3. <html>
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  6. <title><?php if(isset($html_title) && $html_title): ?><?php echo htmlentities($html_title); else: ?><?php echo htmlentities(lang('store_callcenter')); ?><?php endif; ?></title>
  7. <meta name="renderer" content="webkit|ie-comp|ie-stand">
  8. <meta name="keywords" content="<?php echo htmlentities((isset($seo_keywords) && ($seo_keywords !== '')?$seo_keywords:'')); ?>" />
  9. <meta name="description" content="<?php echo htmlentities((isset($seo_description) && ($seo_description !== '')?$seo_description:'')); ?>" />
  10. <link rel="stylesheet" href="<?php echo htmlentities(HOME_SITE_ROOT); ?>/css/common.css">
  11. <link rel="stylesheet" href="<?php echo htmlentities(HOME_SITE_ROOT); ?>/css/seller.css">
  12. <link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
  13. <script>
  14. var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
  15. var HOMESITEROOT = "<?php echo htmlentities(HOME_SITE_ROOT); ?>";
  16. var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
  17. var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
  18. </script>
  19. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
  20. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
  21. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
  22. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
  23. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
  24. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/additional-methods.min.js"></script>
  25. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
  26. <script src="<?php echo htmlentities(HOME_SITE_ROOT); ?>/js/member.js"></script>
  27. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
  28. <script>
  29. jQuery.browser={};(function(){jQuery.browser.msie=false; jQuery.browser.version=0;if(navigator.userAgent.match(/MSIE ([0-9]+)./)){ jQuery.browser.msie=true;jQuery.browser.version=RegExp.$1;}})();
  30. </script>
  31. </head>
  32. <body>
  33. <div id="append_parent"></div>
  34. <div id="ajaxwaitid"></div>
  35. <div class="seller_main">
  36. <div class="seller_left">
  37. <div class="seller_left_1">
  38. <div class="logo">
  39. <a href="<?php echo url('Seller/index'); ?>">
  40. <img src="<?php if(config('ds_config.seller_center_logo') == ''): ?><?php echo htmlentities(BASE_SITE_ROOT); ?>/uploads/home/common/seller_center_logo.png<?php else: ?><?php echo ds_get_pic(ATTACH_COMMON,config('ds_config.seller_center_logo')); ?><?php endif; ?>"/>
  41. </a>
  42. </div>
  43. <div class="sidebar">
  44. <a href="<?php echo url('Store/index',['store_id'=>session('store_id')]); ?>" target="_blank"><i class="iconfont">&#xe6da;</i><?php echo htmlentities(lang('ds_mystroe')); ?></a>
  45. <?php if(config('ds_config.instant_message_open') == '1'): ?>
  46. <a href="javascript:void(0);" id="chat_show_user"><i class="iconfont">&#xe71b;</i><?php echo htmlentities(lang('ds_chat')); ?></a>
  47. <?php endif; if(is_array($seller_menu) || $seller_menu instanceof \think\Collection || $seller_menu instanceof \think\Paginator): if( count($seller_menu)==0 ) : echo "" ;else: foreach($seller_menu as $menu_key=>$menu): ?>
  48. <a href="<?php echo htmlentities($menu['url']); ?>" <?php if($menu_key == $curmenu): ?>class="active"<?php endif; ?>><i class="iconfont"><?php echo $menu['ico']; ?></i><?php echo htmlentities($menu['text']); ?></a>
  49. <?php endforeach; endif; else: echo "" ;endif; ?>
  50. </div>
  51. <div class="mb">
  52. <a href="<?php echo url('Sellerlogin/logout'); ?>"><?php echo htmlentities(lang('exit')); ?></a>
  53. </div>
  54. </div>
  55. <div class="seller_left_2">
  56. <div class="mt">
  57. <?php if(is_array($seller_menu) || $seller_menu instanceof \think\Collection || $seller_menu instanceof \think\Paginator): if( count($seller_menu)==0 ) : echo "" ;else: foreach($seller_menu as $menu_key=>$menu): if($menu_key == $curmenu): ?><?php echo htmlentities($menu['text']); ?><?php endif; ?>
  58. <?php endforeach; endif; else: echo "" ;endif; ?>
  59. </div>
  60. <div class="mc">
  61. <?php if(is_array($seller_menu) || $seller_menu instanceof \think\Collection || $seller_menu instanceof \think\Paginator): if( count($seller_menu)==0 ) : echo "" ;else: foreach($seller_menu as $menu_key=>$menu): if($menu_key == $curmenu): if(is_array($menu['submenu']) || $menu['submenu'] instanceof \think\Collection || $menu['submenu'] instanceof \think\Paginator): if( count($menu['submenu'])==0 ) : echo "" ;else: foreach($menu['submenu'] as $key=>$submenu): ?>
  62. <a href="<?php echo htmlentities($submenu['url']); ?>" <?php if($submenu['name'] == $cursubmenu): ?>class="active"<?php endif; ?>><?php echo htmlentities($submenu['text']); ?></a>
  63. <?php endforeach; endif; else: echo "" ;endif; ?>
  64. <?php endif; ?>
  65. <?php endforeach; endif; else: echo "" ;endif; ?>
  66. </div>
  67. </div>
  68. </div>
  69. <div class="seller_right">
  70. <div class="seller_items">
  71. <?php if(!(empty($seller_item) || (($seller_item instanceof \think\Collection || $seller_item instanceof \think\Paginator ) && $seller_item->isEmpty()))): ?>
  72. <ul>
  73. <?php if(is_array($seller_item) || $seller_item instanceof \think\Collection || $seller_item instanceof \think\Paginator): if( count($seller_item)==0 ) : echo "" ;else: foreach($seller_item as $key=>$item): ?>
  74. <li <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><a href="<?php echo htmlentities($item['url']); ?>"><?php echo htmlentities($item['text']); ?></a></li>
  75. <?php endforeach; endif; else: echo "" ;endif; ?>
  76. </ul>
  77. <?php endif; ?>
  78. <a uri="<?php echo url('Selleralbum/album_add'); ?>" ds_type="dialog" dialog_title="<?php echo htmlentities(lang('album_class_add')); ?>" class="dssc-btn dssc-btn-green" style="right: 100px;">
  79. <i class="iconfont">&#xe728;</i><?php echo htmlentities(lang('album_class_add')); ?>
  80. </a>
  81. <?php if(!(empty($aclass_info) || (($aclass_info instanceof \think\Collection || $aclass_info instanceof \think\Paginator ) && $aclass_info->isEmpty()))): ?>
  82. <a id="open_uploader" href="JavaScript:void(0);" class="dssc-btn dssc-btn-acidblue"><i class="iconfont">&#xe733;</i><?php echo htmlentities(lang('album_class_list_img_upload')); ?></a>
  83. <div class="upload-con" id="uploader" style="display: none;">
  84. <form method="post" action="" id="fileupload" enctype="multipart/form-data">
  85. <div class="upload-con-div"><?php echo htmlentities(lang('album_class_list_sel_img_class')); ?><?php echo htmlentities(lang('ds_colon')); ?>
  86. <select name="category_id" id="category_id" class="select w80">
  87. <?php if(is_array($aclass_info) || $aclass_info instanceof \think\Collection || $aclass_info instanceof \think\Paginator): if( count($aclass_info)==0 ) : echo "" ;else: foreach($aclass_info as $key=>$v): ?>
  88. <option value='<?php echo htmlentities($v['aclass_id']); ?>' class="w80"><?php echo htmlentities($v['aclass_name']); ?></option>
  89. <?php endforeach; endif; else: echo "" ;endif; ?>
  90. </select>
  91. </div>
  92. <div class="upload-con-div"><?php echo htmlentities(lang('store_select_file')); ?>:
  93. <div class="dssc-upload-btn"> <a href="javascript:void(0);"><span>
  94. <input type="file" hidefocus="true" size="1" class="input-file" name="file" multiple="multiple"/>
  95. </span>
  96. <p><i class="iconfont">&#xe733;</i><?php echo htmlentities(lang('album_class_list_img_upload')); ?></p>
  97. </a> </div>
  98. </div>
  99. <div dstype="file_msg"></div>
  100. <div class="upload-pmgressbar" dstype="file_loading"></div>
  101. <div class="upload-txt"><span><?php echo htmlentities(lang('album_batch_upload_description')); ?><?php echo htmlentities(config('ds_config.image_max_filesize')); ?>KB<?php echo htmlentities(lang('album_batch_upload_description_1')); ?></span> </div>
  102. </form>
  103. </div>
  104. <?php endif; ?>
  105. </div>
  106. <div class="p20">
  107. <?php if(isset($store_closed) && $store_closed): ?>
  108. <div class="alert mt10"> <strong><?php echo htmlentities(lang('store_closed_reason')); ?>:<?php echo htmlentities($store_closed); ?>。</strong> <?php echo htmlentities(lang('please_contact_admin')); ?>!</div>
  109. <?php endif; ?>
  110. <div id="pictureIndex" class="dssc-picture-folder">
  111. <table class="search-form">
  112. <tbody>
  113. <tr>
  114. <td>&nbsp;</td>
  115. <th><?php echo htmlentities(lang('album_sort')); ?></th>
  116. <td class="w100">
  117. <form name="select_sort" id="select_sort" class="sortord">
  118. <select name="sort" id="img_sort">
  119. <option value="4" <?php if(app('request')->param('sort') == '4'): ?>selected<?php endif; ?>><?php echo htmlentities(lang('album_sort_desc')); ?></option>
  120. <option value="5" <?php if(app('request')->param('sort') == '5'): ?>selected<?php endif; ?>><?php echo htmlentities(lang('album_sort_asc')); ?></option>
  121. <option value="0" <?php if(app('request')->param('sort') == '0'): ?>selected<?php endif; ?>><?php echo htmlentities(lang('album_sort_time_desc')); ?></option>
  122. <option value="1" <?php if(app('request')->param('sort') == '1'): ?>selected<?php endif; ?>><?php echo htmlentities(lang('album_sort_time_asc')); ?></option>
  123. <option value="2" <?php if(app('request')->param('sort') == '2'): ?>selected<?php endif; ?>><?php echo htmlentities(lang('album_sort_class_name_desc')); ?></option>
  124. <option value="3" <?php if(app('request')->param('sort') == '3'): ?>selected<?php endif; ?>><?php echo htmlentities(lang('album_sort_class_name_asc')); ?></option>
  125. </select>
  126. </form>
  127. </td>
  128. </tr>
  129. </tbody>
  130. </table>
  131. <?php if(!(empty($aclass_info) || (($aclass_info instanceof \think\Collection || $aclass_info instanceof \think\Paginator ) && $aclass_info->isEmpty()))): ?>
  132. <div class="dssc-album">
  133. <ul>
  134. <?php if(is_array($aclass_info) || $aclass_info instanceof \think\Collection || $aclass_info instanceof \think\Paginator): if( count($aclass_info)==0 ) : echo "" ;else: foreach($aclass_info as $key=>$v): ?>
  135. <li class="hidden">
  136. <dl>
  137. <dt>
  138. <div class="covers">
  139. <a href="<?php echo url('Selleralbum/album_pic_list',['id'=>$v['aclass_id']]); ?>">
  140. <?php if($v['aclass_cover'] != ''): ?>
  141. <img id="aclass_cover" src="<?php echo goods_cthumb($v['aclass_cover'], 240, session('store_id')); ?>">
  142. <?php else: ?>
  143. <i class="iconfont">&#xe6a2;</i>
  144. <?php endif; ?>
  145. </a>
  146. </div>
  147. <h3 class="title"><a href="<?php echo url('Selleralbum/album_pic_list',['id'=>$v['aclass_id']]); ?>"><?php echo htmlentities($v['aclass_name']); ?></a></h3>
  148. </dt>
  149. <dd class="buttons"><span ds_type="dialog" dialog_title="<?php echo htmlentities(lang('album_class_deit')); ?>" dialog_id='album_<?php echo htmlentities($v['aclass_id']); ?>' dialog_width="480" uri="<?php echo url('Selleralbum/album_edit',['id'=>$v['aclass_id']]); ?>"><a href="JavaScript:void(0);"><i class="iconfont">&#xe731;</i><?php echo htmlentities(lang('album_class_edit')); ?></a></span>
  150. <?php if($v['aclass_isdefault'] != '1'): ?>
  151. <a href="javascript:void(0)" onclick="ds_ajaxget_confirm('<?php echo url('Selleralbum/album_del',['id'=>$v['aclass_id']]); ?>','<?php echo htmlentities(lang('album_class_delete_confirm_message')); ?>');"><i class="iconfont">&#xe699;</i><?php echo htmlentities(lang('album_class_delete')); ?></a>
  152. <?php endif; ?>
  153. </dd>
  154. </dl>
  155. </li>
  156. <?php endforeach; endif; else: echo "" ;endif; ?>
  157. </ul>
  158. </div>
  159. <?php else: ?>
  160. <div class="warning-option"><i class="iconfont">&#xe64c;&nbsp;</i><span><?php echo htmlentities(lang('no_record')); ?></span></div>
  161. <?php endif; ?>
  162. </div>
  163. <script type="text/javascript" src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/fileupload/jquery.iframe-transport.js" charset="utf-8"></script>
  164. <script type="text/javascript" src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/fileupload/jquery.ui.widget.js" charset="utf-8"></script>
  165. <script type="text/javascript" src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/fileupload/jquery.fileupload.js" charset="utf-8"></script>
  166. <script type="text/javascript">
  167. $(function() {
  168. //鼠标触及区域li改变class
  169. $(".dssc-album ul li").hover(function() {
  170. $(this).addClass("hover");
  171. }, function() {
  172. $(this).removeClass("hover");
  173. });
  174. // ajax 上传图片
  175. var upload_num = 0; // 上传图片成功数量
  176. var index=0
  177. $('#fileupload').fileupload({
  178. dataType: 'json',
  179. url: "<?php echo url('Selleralbum/image_upload'); ?>",
  180. formData: function(form){
  181. var aclass_id=$("#category_id").val()
  182. setTimeout(function(){
  183. index=0
  184. },1000)
  185. return [{name:'index',value:++index},{name:'category_id',value:aclass_id?aclass_id:0}];
  186. },
  187. add: function (e,data) {
  188. $.each(data.files, function (index, file) {
  189. $('<div dstype="' + file.name.replace(/\./g, '_') + '"><p>'+ file.name +'</p><p class="loading"></p></div>').appendTo('div[dstype="file_loading"]');
  190. });
  191. data.submit();
  192. },
  193. done: function (e,data) {
  194. var param = data.result;
  195. $this = $('div[dstype="' + param.origin_file_name.replace(/\./g, '_') + '"]');
  196. $this.fadeOut(3000, function(){
  197. $(this).remove();
  198. if ($('div[dstype="file_loading"]').html() == '') {
  199. setTimeout("window.location.reload()", 1000);
  200. }
  201. });
  202. if(param.state == 'true'){
  203. upload_num++;
  204. $('div[dstype="file_msg"]').html('<i class="iconfont">&#xe64d;</i>'+'<?php echo htmlentities(lang('album_upload_complete_one')); ?>'+upload_num+'<?php echo htmlentities(lang('album_upload_complete_two')); ?>');
  205. } else {
  206. $this.find('.loading').html(param.message).removeClass('loading');
  207. }
  208. }
  209. });
  210. });
  211. $(function(){
  212. $("#img_sort").change(function(){
  213. $('#select_sort').submit();
  214. });
  215. });
  216. </script>
  217. </div>
  218. </div>
  219. </div>
  220. <?php if(config('ds_config.instant_message_open') == '1' && !isset($wait) && request()->controller() != 'Payment' && request()->controller() != 'Showgroupbuy'): ?>
  221. <?php echo get_chat(); ?>
  222. <?php endif; ?>
  223. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
  224. <script src="<?php echo htmlentities(HOME_SITE_ROOT); ?>/js/compare.js"></script>
  225. <link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.css">
  226. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
  227. <script type="text/javascript" src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/qtip/jquery.qtip.min.js"></script>
  228. <link href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/qtip/jquery.qtip.min.css" rel="stylesheet" type="text/css">
  229. <script type="text/javascript" src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.lazyload.min.js"></script>
  230. <script>
  231. //懒加载
  232. $("img.lazyload").lazyload({
  233. // placeholder : "<?php echo htmlentities(HOME_SITE_ROOT); ?>/images/loading.gif",
  234. effect: "fadeIn",
  235. skip_invisible : false,
  236. threshold : 200,
  237. });
  238. </script>
  239. <div class="footer-info">
  240. <div class="links w1200">
  241. <?php foreach($navs['footer'] as $nav): ?>
  242. <a href="<?php echo htmlentities($nav['nav_url']); ?>" <?php if($nav['nav_new_open'] == 1): ?>target="_blank"<?php endif; ?>><?php echo htmlentities($nav['nav_title']); ?></a>|
  243. <?php endforeach; ?>
  244. </div>
  245. <div class="copyright">
  246. <p><a href="http://www.beian.gov.cn/portal/registerSystemInfo" target="_blank"><?php echo htmlentities(config('ds_config.wab_number')); ?></a></p>
  247. <p><a href="https://beian.miit.gov.cn" target="_blank"><?php echo htmlentities(config('ds_config.icp_number')); ?></a></p>
  248. <p><?php echo htmlentities(config('ds_config.flow_static_code')); ?></p>
  249. </div>
  250. </div>