35a52e764a6ece3f16ab5f48ae386e40.php 5.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. <?php /*a:3:{s:59:"/data/web/pl.valimart.net/app/admin/view/payment/index.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_payment')); ?></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. <table class="ds-default-table">
  48. <thead>
  49. <tr>
  50. <th width="10%"><?php echo htmlentities(lang('payment_index_name')); ?></th>
  51. <th width="10%"><?php echo htmlentities(lang('payment_index_enable')); ?></th>
  52. <th width="10%"><?php echo htmlentities(lang('payment_index_platform')); ?></th>
  53. <th width="20%"><?php echo htmlentities(lang('payment_index_desc')); ?></th>
  54. <th><?php echo htmlentities(lang('ds_handle')); ?></th>
  55. </tr>
  56. </thead>
  57. <tbody>
  58. <?php if(is_array($payment_list) || $payment_list instanceof \think\Collection || $payment_list instanceof \think\Paginator): if( count($payment_list)==0 ) : echo "" ;else: foreach($payment_list as $key=>$payment): ?>
  59. <tr>
  60. <td><?php echo htmlentities($payment['payment_name']); ?></td>
  61. <td><?php if($payment['payment_state'] == '1'): ?><?php echo htmlentities(lang('payment_index_enable_ing')); else: ?><?php echo htmlentities(lang('payment_index_disable_ing')); ?><?php endif; ?></td>
  62. <td><?php echo htmlentities($payment['payment_platform']); ?></td>
  63. <td><?php echo htmlentities($payment['payment_desc']); ?></td>
  64. <td>
  65. <?php if($payment['install'] == '1'): ?>
  66. <a href="javascript:dsLayerOpen('<?php echo url('Payment/edit',['payment_code'=>$payment['payment_code']]); ?>','<?php echo htmlentities(lang('ds_configure')); ?>-<?php echo htmlentities($payment['payment_name']); ?>')" class="dsui-btn-edit"><i class="iconfont"></i><?php echo htmlentities(lang('ds_configure')); ?></a>
  67. <a href="javascript:dsLayerConfirm('<?php echo url('Payment/del',['payment_code'=>$payment['payment_code']]); ?>','<?php echo htmlentities(lang('ds_ensure_del')); ?>')" class="dsui-btn-del"><i class="iconfont"></i><?php echo htmlentities(lang('ds_uninstall')); ?></a>
  68. <?php else: ?>
  69. <a href="javascript:dsLayerConfirm('<?php echo url('Payment/install',['payment_code'=>$payment['payment_code']]); ?>','<?php echo htmlentities(lang('ds_ensure_install')); ?>')" class="dsui-btn-add"><i class="iconfont"></i><?php echo htmlentities(lang('ds_install')); ?></a>
  70. <?php endif; ?>
  71. </td>
  72. </tr>
  73. <?php endforeach; endif; else: echo "" ;endif; ?>
  74. </tbody>
  75. </table>
  76. </div>