815f07caf7d834d68f727e311f8388f9.php 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. <?php /*a:3:{s:61:"/data/web/mall.valimart.net/app/admin/view/adv/ap_manage.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('adv_index_manage')); ?></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. <form method="get" action="" name="formSearch">
  48. <div class="ds-search-form">
  49. <dl>
  50. <dt><?php echo htmlentities(lang('ap_name')); ?></dt>
  51. <dd><input class="txt" type="text" name="search_name" id="search_name" value="<?php echo htmlentities(app('request')->param('search_name')); ?>" /></dd>
  52. </dl>
  53. <div class="btn_group">
  54. <a href="javascript:document.formSearch.submit();" class="btn " title="<?php echo htmlentities(lang('ds_query')); ?>"><?php echo htmlentities(lang('ds_query')); ?></a>
  55. <?php if($filtered): ?>
  56. <a href="<?php echo url('Adv/ap_manage'); ?>" class="btn btn-default" title="<?php echo htmlentities(lang('ds_cancel')); ?>"><?php echo htmlentities(lang('ds_cancel')); ?></a>
  57. <?php endif; ?>
  58. </div>
  59. </div>
  60. </form>
  61. <div class="explanation" id="explanation">
  62. <div class="title" id="checkZoom">
  63. <h4 title="<?php echo htmlentities(lang('ds_explanation_tip')); ?>"><?php echo htmlentities(lang('ds_explanation')); ?></h4>
  64. <span id="explanationZoom" title="<?php echo htmlentities(lang('ds_explanation_close')); ?>" class="arrow"></span>
  65. </div>
  66. <ul>
  67. <li><?php echo htmlentities(lang('adv_help2')); ?></li>
  68. </ul>
  69. </div>
  70. <table class="ds-default-table">
  71. <thead>
  72. <tr class="thead">
  73. <th><?php echo htmlentities(lang('ap_name')); ?></th>
  74. <th class="align-center"><?php echo htmlentities(lang('ap_width')); ?></th>
  75. <th class="align-center"><?php echo htmlentities(lang('ap_height')); ?></th>
  76. <th class="w60"><?php echo htmlentities(lang('ds_enable')); ?></th>
  77. <th class="align-center"><?php echo htmlentities(lang('ds_handle')); ?></th>
  78. </tr>
  79. </thead>
  80. <tbody>
  81. <?php if(!(empty($ap_list) || (($ap_list instanceof \think\Collection || $ap_list instanceof \think\Paginator ) && $ap_list->isEmpty()))): if(is_array($ap_list) || $ap_list instanceof \think\Collection || $ap_list instanceof \think\Paginator): if( count($ap_list)==0 ) : echo "" ;else: foreach($ap_list as $k=>$v): ?>
  82. <tr class="hover" id="ds_row_<?php echo htmlentities($v['ap_id']); ?>">
  83. <td class="name"><span><?php echo htmlentities($v['ap_name']); ?></span></td>
  84. <td class="align-center sort"><span><?php echo htmlentities($v['ap_width']); ?></span></td>
  85. <td class="align-center sort"><span><?php echo htmlentities($v['ap_height']); ?></span></td>
  86. <td class="yes-onoff">
  87. <?php if($v['ap_isuse'] == '0'): ?>
  88. <a href="JavaScript:void(0);" class=" disabled" ajax_branch="ap_branch" ds_type="inline_edit" fieldname="ap_isuse" fieldid="<?php echo htmlentities($v['ap_id']); ?>" fieldvalue="0" title="<?php echo htmlentities(lang('ds_editable')); ?>"><img src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/images/treetable/transparent.gif"></a>
  89. <?php else: ?>
  90. <a href="JavaScript:void(0);" class=" enabled" ajax_branch="ap_branch" ds_type="inline_edit" fieldname="ap_isuse" fieldid="<?php echo htmlentities($v['ap_id']); ?>" fieldvalue="1" title="<?php echo htmlentities(lang('ds_editable')); ?>"><img src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/images/treetable/transparent.gif"></a>
  91. <?php endif; ?>
  92. </td>
  93. <td class="align-center">
  94. <a href="<?php echo url('Adv/adv',['ap_id'=>$v['ap_id']]); ?>" class="dsui-btn-view"><i class="iconfont"></i><?php echo htmlentities(lang('ds_manage')); ?></a>
  95. </td>
  96. </tr>
  97. <?php endforeach; endif; else: echo "" ;endif; else: ?>
  98. <tr class="no_data">
  99. <td colspan="15"><?php echo htmlentities(lang('ds_no_record')); ?></td>
  100. </tr>
  101. <?php endif; ?>
  102. </tbody>
  103. </table>
  104. <?php echo $showpage; ?>
  105. </div>
  106. <script type="text/javascript" src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/jquery.edit.js" charset="utf-8"></script>