c409e360ee75657e5fecf04208e3fe82.php 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. <?php /*a:3:{s:58:"/data/web/mall.valimart.net/app/admin/view/spec/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_spec')); ?></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. <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('spec_index_tip1')); ?></li>
  54. <li><?php echo htmlentities(lang('spec_index_tip2')); ?></li>
  55. <li><?php echo htmlentities(lang('spec_index_tip3')); ?></li>
  56. </ul>
  57. </div>
  58. <form method="get" name="formSearch" id="formSearch">
  59. <div class="ds-search-form">
  60. <dl>
  61. <dt><?php echo htmlentities(lang('sp_name')); ?></dt>
  62. <dd><input type="text" value="<?php echo htmlentities((app('request')->get('sp_name') ?: '')); ?>" name="sp_name" id="sp_name" class="txt"></dd>
  63. </dl>
  64. <dl>
  65. <dt><?php echo htmlentities(lang('gc_name')); ?></dt>
  66. <dd><input type="text" value="<?php echo htmlentities((app('request')->get('gc_name') ?: '')); ?>" name="gc_name" id="gc_name" class="txt"></dd>
  67. </dl>
  68. <div class="btn_group">
  69. <input type="hidden" name="type" value="<?php echo htmlentities(app('request')->param('type')); ?>">
  70. <a href="javascript:void(0);" id="dssubmit" class="btn " title="<?php echo htmlentities(lang('ds_query')); ?>"><?php echo htmlentities(lang('ds_query')); ?></a>
  71. <a href="<?php echo url('spec/index',['type'=>app('request')->param('type')]); ?>" class="btn btn-default" title="<?php echo htmlentities(lang('ds_cancel')); ?>"><?php echo htmlentities(lang('ds_cancel')); ?></a>
  72. </div>
  73. </div>
  74. </form>
  75. <table class="ds-default-table">
  76. <thead>
  77. <tr>
  78. <th><?php echo htmlentities(lang('sp_id')); ?></th>
  79. <th><?php echo htmlentities(lang('sp_name')); ?></th>
  80. <th><?php echo htmlentities(lang('gc_name')); ?></th>
  81. <th><?php echo htmlentities(lang('ds_handle')); ?></th>
  82. </tr>
  83. </thead>
  84. <tbody>
  85. <?php if(is_array($spec_list) || $spec_list instanceof \think\Collection || $spec_list instanceof \think\Paginator): if( count($spec_list)==0 ) : echo "" ;else: foreach($spec_list as $key=>$spec): ?>
  86. <tr id="ds_row_<?php echo htmlentities($spec['sp_id']); ?>">
  87. <td><?php echo htmlentities($spec['sp_id']); ?></td>
  88. <td><?php echo htmlentities($spec['sp_name']); ?></td>
  89. <td><?php echo htmlentities($spec['gc_name']); ?></td>
  90. <td>
  91. <a href="javascript:dsLayerOpen('<?php echo url('Spec/spec_edit',['sp_id'=>$spec['sp_id']]); ?>','<?php echo htmlentities(lang('ds_edit')); ?>-<?php echo htmlentities($spec['sp_name']); ?>')" class="dsui-btn-edit"><i class="iconfont"></i><?php echo htmlentities(lang('ds_edit')); ?></a>
  92. <?php if($spec['sp_id'] != 1): ?>
  93. <a href="javascript:dsLayerConfirm('<?php echo url('Spec/spec_drop',['sp_id'=>$spec['sp_id']]); ?>','<?php echo htmlentities(lang('ds_ensure_del')); ?>',<?php echo htmlentities($spec['sp_id']); ?>)" class="dsui-btn-del"><i class="iconfont"></i><?php echo htmlentities(lang('ds_del')); ?></a>
  94. <?php endif; ?>
  95. </td>
  96. </tr>
  97. <?php endforeach; endif; else: echo "" ;endif; ?>
  98. </tbody>
  99. </table>
  100. <?php echo $show_page; ?>
  101. </div>
  102. <script>
  103. $('#dssubmit').click(function(){
  104. $('#formSearch').submit();
  105. });
  106. </script>