10914b3b83ea61bf57a748785d4383e5.php 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. <?php /*a:3:{s:71:"/data/web/mall.valimart.net/app/admin/view/editable_page/page_list.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 if($type=='h5'): ?><?php echo htmlentities(lang('editable_page_h5')); else: ?><?php echo htmlentities(lang('editable_page_pc')); ?><?php endif; ?></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="get" name="formSearch">
  48. <div class="ds-search-form">
  49. <dl>
  50. <dt><?php echo htmlentities(lang('editable_page_name')); ?></dt>
  51. <dd><input type="text" name="editable_page_name" id="editable_page_name" class="txt" value='<?php echo htmlentities(app('request')->get('editable_page_name')); ?>'></dd>
  52. </dl>
  53. <div class="btn_group">
  54. <input type="hidden" name="type" value="<?php echo htmlentities($type); ?>">
  55. <a href="javascript:document.formSearch.submit();" class="btn " title="<?php echo htmlentities(lang('ds_query')); ?>"><?php echo htmlentities(lang('ds_query')); ?></a>
  56. <?php if($filtered): ?>
  57. <a href="<?php echo url('EditablePage/page_list',['type'=>$type]); ?>" class="btn btn-default" title="<?php echo htmlentities(lang('ds_cancel')); ?>"><?php echo htmlentities(lang('ds_cancel')); ?></a>
  58. <?php endif; ?>
  59. </div>
  60. </div>
  61. </form>
  62. <table class="ds-default-table">
  63. <thead>
  64. <tr class="thead">
  65. <th class="w96 align-center">ID</th>
  66. <th class="w270"><?php echo htmlentities(lang('editable_page_name')); ?></th>
  67. <th class="w270"><?php echo htmlentities(lang('editable_page_client')); ?></th>
  68. <th class="w270"><?php echo htmlentities(lang('editable_page_path')); ?></th>
  69. <th class="w120 align-center"><?php echo htmlentities(lang('editable_page_edit_time')); ?></th>
  70. <th class="align-center"><?php echo htmlentities(lang('ds_handle')); ?></th>
  71. </tr>
  72. </thead>
  73. <tbody id="treet1">
  74. <?php if(!(empty($editable_page_list) || (($editable_page_list instanceof \think\Collection || $editable_page_list instanceof \think\Paginator ) && $editable_page_list->isEmpty()))): if(is_array($editable_page_list) || $editable_page_list instanceof \think\Collection || $editable_page_list instanceof \think\Paginator): if( count($editable_page_list)==0 ) : echo "" ;else: foreach($editable_page_list as $key=>$v): ?>
  75. <tr class="hover edit row" id="ds_row_<?php echo htmlentities($v['editable_page_id']); ?>">
  76. <td class="name"><?php echo htmlentities($v['editable_page_id']); ?></td>
  77. <td class="name"><?php echo htmlentities($v['editable_page_name']); ?></td>
  78. <td class="name"><?php echo htmlentities($v['editable_page_client']); ?></td>
  79. <td class="name"><?php echo htmlentities(lang('editable_page_path_list')[$v['editable_page_path']]); ?></td>
  80. <td class="nowrap align-center"><?php echo htmlentities(date("Y-m-d H:i",!is_numeric($v['editable_page_edit_time'])? strtotime($v['editable_page_edit_time']) : $v['editable_page_edit_time'])); ?></td>
  81. <td class="align-center">
  82. <a target="_blank" href="<?php echo htmlentities($v['view_url']); ?>" class="dsui-btn-view"><i class="iconfont"></i><?php echo htmlentities(lang('preview')); ?></a>
  83. <a <?php if($v['editable_page_client']!='h5'): ?>target="_blank"<?php endif; ?> href="<?php echo htmlentities($v['edit_url']); ?>" class="dsui-btn-link"><i class="iconfont"></i><?php echo htmlentities(lang('decorate')); ?></a>
  84. <a href="javascript:dsLayerOpen('<?php echo url('EditablePage/page_edit',['editable_page_id'=>$v['editable_page_id']]); ?>','<?php echo htmlentities(lang('ds_edit')); ?>')" class="dsui-btn-edit"><i class="iconfont"></i><?php echo htmlentities(lang('ds_edit')); ?></a>
  85. <a href="javascript:dsLayerConfirm('<?php echo url('EditablePage/page_del',['editable_page_id'=>$v['editable_page_id']]); ?>','<?php echo htmlentities(lang('ds_ensure_del')); ?>',<?php echo htmlentities($v['editable_page_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="5"><?php echo htmlentities(lang('ds_no_record')); ?></td>
  91. </tr>
  92. <?php endif; ?>
  93. </tbody>
  94. </table>
  95. <?php echo $show_page; ?>
  96. </div>