f7822469ff2caa6255107af2e816c7a5.php 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. <?php /*a:3:{s:66:"/data/web/pl.valimart.net/app/admin/view/ownshop/ownshop_list.html";i:1657785098;s:59:"/data/web/pl.valimart.net/app/admin/view/public/header.html";i:1657785098;s:64:"/data/web/pl.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_ownshop')); ?></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="explanation" id="explanation">
  47. <div class="title" id="checkZoom">
  48. <h4 title="<?php echo htmlentities(lang('ds_explanation_tip')); ?>"><?php echo htmlentities(lang('ds_explanation')); ?></h4>
  49. <span id="explanationZoom" title="<?php echo htmlentities(lang('ds_explanation_close')); ?>" class="arrow"></span>
  50. </div>
  51. <ul>
  52. <li><?php echo htmlentities(lang('ownshop_list_help1')); ?></li>
  53. <li><?php echo htmlentities(lang('ownshop_list_help2')); ?></li>
  54. </ul>
  55. </div>
  56. <form method="get" name="formSearch" id="formSearch">
  57. <div class="ds-search-form">
  58. <dl>
  59. <dt><?php echo htmlentities(lang('ds_store_name')); ?></dt>
  60. <dd><input type="text" value="<?php echo htmlentities(app('request')->param('store_name')); ?>" name="store_name" id="store_name" class="txt" /></dd>
  61. </dl>
  62. <div class="btn_group">
  63. <input type="submit" class="btn" value="<?php echo htmlentities(lang('ds_search')); ?>">
  64. <a href="<?php echo url('Ownshop/index'); ?>" class="btn btn-default" title="<?php echo htmlentities(lang('ds_cancel')); ?>"><?php echo htmlentities(lang('ds_cancel')); ?></a>
  65. </div>
  66. </div>
  67. </form>
  68. <form method="post" id="store_form">
  69. <table class="ds-default-table">
  70. <thead>
  71. <tr class="thead">
  72. <th class="w48"><?php echo htmlentities(lang('ds_sort')); ?></th>
  73. <th><?php echo htmlentities(lang('ds_store_name')); ?></th>
  74. <th><?php echo htmlentities(lang('ds_member_name')); ?></th>
  75. <th><?php echo htmlentities(lang('ds_seller_name')); ?></th>
  76. <th class="align-center"><?php echo htmlentities(lang('store_state')); ?></th>
  77. <th class="align-center"><?php echo htmlentities(lang('bind_all_gc')); ?></th>
  78. <th class="align-center"><?php echo htmlentities(lang('ds_handle')); ?></th>
  79. </tr>
  80. </thead>
  81. <?php if(!(empty($store_list) || (($store_list instanceof \think\Collection || $store_list instanceof \think\Paginator ) && $store_list->isEmpty()))): ?>
  82. <tbody>
  83. <?php if(is_array($store_list) || $store_list instanceof \think\Collection || $store_list instanceof \think\Paginator): if( count($store_list)==0 ) : echo "" ;else: foreach($store_list as $k=>$v): ?>
  84. <tr class="" id="ds_row_<?php echo htmlentities($v['store_id']); ?>">
  85. <td class="sort"><span class="editable" ds_type="inline_edit" fieldname="store_sort" ajax_branch='store_sort' fieldid="<?php echo htmlentities($v['store_id']); ?>" datatype="pint" maxvalue="255" title="<?php echo htmlentities(lang('ds_editable')); ?>"><?php echo htmlentities($v['store_sort']); ?></span></td>
  86. <td>
  87. <a target="_blank" href="<?php echo url('/home/store/index',['store_id'=>$v['store_id']]); ?>" ><?php echo htmlentities($v['store_name']); ?></a>
  88. </td>
  89. <td><?php echo htmlentities($v['member_name']); ?></td>
  90. <td><?php echo htmlentities($v['seller_name']); ?></td>
  91. <td class="align-center w72">
  92. <?php if($v['store_state']): ?><?php echo htmlentities(lang('ds_open')); else: ?><?php echo htmlentities(lang('ds_close')); ?><?php endif; ?>
  93. </td>
  94. <td class="align-center w120"><?php if($v['bind_all_gc']): ?><?php echo htmlentities(lang('ds_yes')); else: ?><?php echo htmlentities(lang('ds_no')); ?><?php endif; ?></td>
  95. <td class="align-center w200">
  96. <a href="javascript:dsLayerOpen('<?php echo url('Ownshop/edit',['id'=>$v['store_id']]); ?>','<?php echo htmlentities(lang('ds_edit')); ?>-<?php echo htmlentities($v['member_name']); ?>')" class="dsui-btn-edit"><i class="iconfont"></i><?php echo htmlentities(lang('ds_edit')); ?></a>
  97. <?php if(empty($v['bind_all_gc']) || (($v['bind_all_gc'] instanceof \think\Collection || $v['bind_all_gc'] instanceof \think\Paginator ) && $v['bind_all_gc']->isEmpty())): ?>
  98. <a href="<?php echo url('Ownshop/bind_class',['id'=>$v['store_id']]); ?>" class="dsui-btn-view"><i class="iconfont"></i><?php echo htmlentities(lang('bind_class')); ?></a>
  99. <?php endif; ?>
  100. <a href="<?php echo url('Ownshop/storejoinin_edit',['id'=>$v['store_id']]); ?>" class="dsui-btn-edit"><i class="iconfont"></i><?php echo htmlentities(lang('register_info')); ?></a>
  101. <!--<a href="javascript:dsLayerConfirm('<?php echo url('Ownshop/del',['id'=>$v['store_id']]); ?>','<?php echo htmlentities(lang('ds_ensure_del')); ?>',<?php echo htmlentities($v['store_id']); ?>)" class="dsui-btn-del"><i class="iconfont"></i><?php echo htmlentities(lang('ds_del')); ?></a>-->
  102. </td>
  103. </tr>
  104. <?php endforeach; endif; else: echo "" ;endif; ?>
  105. </tbody>
  106. <?php else: ?>
  107. <tbody>
  108. <tr class="no_data">
  109. <td colspan="15"><?php echo htmlentities(lang('ds_no_record')); ?></td>
  110. </tr>
  111. </tbody>
  112. <?php endif; ?>
  113. </table>
  114. <?php echo $show_page; ?>
  115. </form>
  116. </div>
  117. <script type="text/javascript" src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/jquery.edit.js" charset="utf-8"></script>