e5730bae051fd3c5271fceab63c02644.php 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. <?php /*a:3:{s:64:"/data/web/mall.valimart.net/app/admin/view/storegrade/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('ds_storegrade')); ?></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" name="formSearch">
  48. <div class="ds-search-form">
  49. <dl>
  50. <dt><?php echo htmlentities(lang('store_grade_name')); ?></dt>
  51. <dd><input type="text" value="<?php echo htmlentities((isset($like_storegrade_name) && ($like_storegrade_name !== '')?$like_storegrade_name:'')); ?>" name="like_storegrade_name" id="like_storegrade_name" class="txt"></dd>
  52. </dl>
  53. <dl>
  54. <dt></dt>
  55. <dd></dd>
  56. </dl>
  57. <div class="btn_group">
  58. <a href="javascript:document.formSearch.submit();" class="btn " title="<?php echo htmlentities(lang('ds_query')); ?>"><?php echo htmlentities(lang('ds_query')); ?></a>
  59. <?php if(!(empty($like_storegrade_name) || (($like_storegrade_name instanceof \think\Collection || $like_storegrade_name instanceof \think\Paginator ) && $like_storegrade_name->isEmpty()))): ?>
  60. <a class="btn btn-small " href="<?php echo url('Storegrade/index'); ?>" title="<?php echo htmlentities(lang('cancel_search')); ?>"><span><?php echo htmlentities(lang('cancel_search')); ?></span></a>
  61. <?php endif; ?>
  62. </div>
  63. </div>
  64. </form>
  65. <table class="ds-default-table">
  66. <thead>
  67. <tr>
  68. <th><?php echo htmlentities(lang('storegrade_sort')); ?></th>
  69. <th><?php echo htmlentities(lang('storegrade_name')); ?></th>
  70. <th><?php echo htmlentities(lang('storegrade_goods_limit')); ?></th>
  71. <th><?php echo htmlentities(lang('storegrade_album_limit')); ?></th>
  72. <th><?php echo htmlentities(lang('storegrade_price')); ?></th>
  73. <th><?php echo htmlentities(lang('ds_handle')); ?></th>
  74. </tr>
  75. </thead>
  76. <tbody>
  77. <?php if(!(empty($storegrade_list) || (($storegrade_list instanceof \think\Collection || $storegrade_list instanceof \think\Paginator ) && $storegrade_list->isEmpty()))): if(is_array($storegrade_list) || $storegrade_list instanceof \think\Collection || $storegrade_list instanceof \think\Paginator): if( count($storegrade_list)==0 ) : echo "" ;else: foreach($storegrade_list as $key=>$storegrade): ?>
  78. <tr id="ds_row_<?php echo htmlentities($storegrade['storegrade_id']); ?>">
  79. <td><?php echo htmlentities($storegrade['storegrade_sort']); ?></td>
  80. <td><?php echo htmlentities($storegrade['storegrade_name']); ?></td>
  81. <td><?php echo htmlentities($storegrade['storegrade_goods_limit']); ?></td>
  82. <td><?php echo htmlentities($storegrade['storegrade_album_limit']); ?></td>
  83. <td><?php echo htmlentities($storegrade['storegrade_price']); ?><?php echo htmlentities(lang('ds_yuan')); ?>/<?php echo htmlentities(lang('ds_year')); ?></td>
  84. <td>
  85. <a href="javascript:dsLayerOpen('<?php echo url('Storegrade/edit',['storegrade_id'=>$storegrade['storegrade_id']]); ?>','<?php echo htmlentities(lang('ds_edit')); ?>-<?php echo htmlentities($storegrade['storegrade_name']); ?>')" class="dsui-btn-edit"><i class="iconfont"></i><?php echo htmlentities(lang('ds_edit')); ?></a>
  86. <a href="javascript:dsLayerConfirm('<?php echo url('Storegrade/drop',['storegrade_id'=>$storegrade['storegrade_id']]); ?>','<?php echo htmlentities(lang('storegrade_drop_confrim')); ?>',<?php echo htmlentities($storegrade['storegrade_id']); ?>)" class="dsui-btn-del"><i class="iconfont"></i><?php echo htmlentities(lang('ds_del')); ?></a>
  87. </td>
  88. </tr>
  89. <?php endforeach; endif; else: echo "" ;endif; else: ?>
  90. <tr class="no_data">
  91. <td colspan="20"><?php echo htmlentities(lang('no_record')); ?></td>
  92. </tr>
  93. <?php endif; ?>
  94. </tbody>
  95. </table>
  96. </div>