eb5e2a8e1c79cc735bdb4c6ad7b05167.php 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. <?php /*a:3:{s:64:"/data/web/mall.valimart.net/app/admin/view/storeclass/index.html";i:1657785098;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('store_class')); ?></h3>
  36. </div>
  37. <?php if($admin_item): ?>
  38. <ul class="tab-base ds-row">
  39. <?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): ?>
  40. <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>
  41. <?php endforeach; endif; else: echo "" ;endif; ?>
  42. </ul>
  43. <?php endif; ?>
  44. </div>
  45. </div>
  46. <div class="fixed-empty"></div>
  47. <div class="explanation" id="explanation">
  48. <div class="title" id="checkZoom">
  49. <h4 title="<?php echo htmlentities(lang('ds_explanation_tip')); ?>"><?php echo htmlentities(lang('ds_explanation')); ?></h4>
  50. <span id="explanationZoom" title="<?php echo htmlentities(lang('ds_explanation_close')); ?>" class="arrow"></span>
  51. </div>
  52. <ul>
  53. <li><?php echo htmlentities(lang('store_class_help1')); ?></li>
  54. <li><?php echo lang('store_class_help2'); ?></li>
  55. </ul>
  56. </div>
  57. <table class="ds-default-table">
  58. <colgroup>
  59. <col class="w48">
  60. <col class="w120">
  61. <col>
  62. <col class="w200">
  63. <col class="w200">
  64. </colgroup>
  65. <thead>
  66. <tr class="thead">
  67. <th><input type="checkbox" class="checkall" id="checkall_1"></th>
  68. <th><?php echo htmlentities(lang('ds_sort')); ?></th>
  69. <th><?php echo htmlentities(lang('store_class_name')); ?></th>
  70. <th class="align-center"><?php echo htmlentities(lang('store_class_bail')); ?>(<?php echo htmlentities(lang('ds_yuan')); ?>)</th>
  71. <th><?php echo htmlentities(lang('ds_handle')); ?></th>
  72. </tr>
  73. </thead>
  74. <tbody>
  75. <?php if(!(empty($class_list) || (($class_list instanceof \think\Collection || $class_list instanceof \think\Paginator ) && $class_list->isEmpty()))): if(is_array($class_list) || $class_list instanceof \think\Collection || $class_list instanceof \think\Paginator): if( count($class_list)==0 ) : echo "" ;else: foreach($class_list as $k=>$v): ?>
  76. <tr class="hover edit" id="ds_row_<?php echo htmlentities($v['storeclass_id']); ?>">
  77. <td><input type="checkbox" name='check_sc_id[]' value="<?php echo htmlentities($v['storeclass_id']); ?>" class="checkitem"></td>
  78. <td class="sort"><span title="<?php echo htmlentities(lang('can_edit')); ?>" ajax_branch='store_class_sort' datatype="number" fieldid="<?php echo htmlentities($v['storeclass_id']); ?>" fieldname="storeclass_sort" ds_type="inline_edit" class="editable"><?php echo htmlentities($v['storeclass_sort']); ?></span></td>
  79. <td class="name">
  80. <span title="<?php echo htmlentities(lang('store_class_name')); ?>" required="1" fieldid="<?php echo htmlentities($v['storeclass_id']); ?>" ajax_branch='store_class_name' fieldname="storeclass_name" ds_type="inline_edit" class="node_name editable"><?php echo htmlentities($v['storeclass_name']); ?></span>
  81. </td>
  82. <td class="align-center"><?php echo htmlentities($v['storeclass_bail']); ?></td>
  83. <td>
  84. <a href="javascript:dsLayerOpen('<?php echo url('Storeclass/store_class_edit',['storeclass_id'=>$v['storeclass_id']]); ?>','<?php echo htmlentities(lang('ds_edit')); ?>-<?php echo htmlentities($v['storeclass_name']); ?>')" class="dsui-btn-edit"><i class="iconfont"></i><?php echo htmlentities(lang('ds_edit')); ?></a>
  85. <a href="javascript:dsLayerConfirm('<?php echo url('Storeclass/store_class_del',['storeclass_id'=>$v['storeclass_id']]); ?>','<?php echo htmlentities(lang('del_store_class')); ?>',<?php echo htmlentities($v['storeclass_id']); ?>)" class="dsui-btn-del"><i class="iconfont"></i><?php echo htmlentities(lang('ds_del')); ?></a>
  86. </td>
  87. </tr>
  88. <?php endforeach; endif; else: echo "" ;endif; else: ?>
  89. <tr class="no_data">
  90. <td colspan="10"><?php echo htmlentities(lang('ds_no_record')); ?></td>
  91. </tr>
  92. <?php endif; ?>
  93. </tbody>
  94. <tfoot>
  95. <?php if(!(empty($class_list) || (($class_list instanceof \think\Collection || $class_list instanceof \think\Paginator ) && $class_list->isEmpty()))): ?>
  96. <tr id="batchAction" >
  97. <td><input type="checkbox" class="checkall" id="checkallBottom"></td>
  98. <td colspan="16" id="dataFuncs"><label for="checkallBottom"><?php echo htmlentities(lang('ds_select_all')); ?></label>
  99. &nbsp;&nbsp;<a href="JavaScript:void(0);" class="btn btn-small" onclick="submit_delete_batch()"><span><?php echo htmlentities(lang('ds_del')); ?></span></a>
  100. </td>
  101. </tr>
  102. <?php endif; ?>
  103. </tfoot>
  104. </table>
  105. <?php echo $show_page; ?>
  106. </div>
  107. <script type="text/javascript" src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/jquery.edit.js" charset="utf-8"></script>
  108. <script type="text/javascript">
  109. function submit_delete(ids_str){
  110. _uri = ADMINSITEURL+"/Storeclass/store_class_del.html?storeclass_id=" + ids_str;
  111. dsLayerConfirm(_uri,'<?php echo htmlentities(lang('ds_ensure_del')); ?>');
  112. }
  113. </script>