86c10016d78391e148ef3cac9111c27e.php 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. <?php /*a:2:{s:58:"/data/web/pl.valimart.net/app/admin/view/payment/edit.html";i:1657785098;s:59:"/data/web/pl.valimart.net/app/admin/view/public/header.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. <form id="post_form" method="post" name="form1" enctype="multipart/form-data">
  33. <table class="ds-default-table">
  34. <tbody>
  35. <tr class="noborder">
  36. <td class="vatop rowform"><?php echo htmlentities($payment['payment_name']); ?></td>
  37. <td class="vatop tips"></td>
  38. </tr>
  39. <?php if(!(empty($payment['payment_config']) || (($payment['payment_config'] instanceof \think\Collection || $payment['payment_config'] instanceof \think\Paginator ) && $payment['payment_config']->isEmpty()))): if(is_array($payment['payment_config']) || $payment['payment_config'] instanceof \think\Collection || $payment['payment_config'] instanceof \think\Paginator): if( count($payment['payment_config'])==0 ) : echo "" ;else: foreach($payment['payment_config'] as $key=>$config): ?>
  40. <tr>
  41. <td colspan="2" class="required"><?php echo htmlentities($config['lable']); ?></td>
  42. </tr>
  43. <tr class="noborder">
  44. <td class="vatop rowform">
  45. <?php if($config['type'] == 'file'): ?>
  46. <input name="cfg_value2_key_<?php echo htmlentities($key); ?>" id="<?php echo htmlentities($config['name']); ?>" type="file">
  47. <?php if($config['value']): ?>
  48. <p>已上传<?php echo htmlentities($config['value']); ?></p>
  49. <?php endif; ?>
  50. <input name="cfg_name2[key_<?php echo htmlentities($key); ?>]" type="hidden" value="<?php echo htmlentities($config['name']); ?>" />
  51. <?php else: if($config['type'] == 'text'): ?>
  52. <input name="cfg_value[key_<?php echo htmlentities($key); ?>]" id="<?php echo htmlentities($config['name']); ?>" value="<?php echo htmlentities($config['value']); ?>" class="txt" type="text">
  53. <?php elseif($config['type'] == 'password'): ?>
  54. <input name="cfg_value[key_<?php echo htmlentities($key); ?>]" id="<?php echo htmlentities($config['name']); ?>" value="<?php echo htmlentities($config['value']); ?>" class="txt" type="password">
  55. <?php elseif($config['type'] == 'radio'): ?>
  56. <div class="onoff">
  57. <label for="<?php echo htmlentities($config['name']); ?>1" class="cb-enable <?php if($config['value']): ?>selected<?php endif; ?>" ><span><?php echo htmlentities(lang('ds_yes')); ?></span></label>
  58. <label for="<?php echo htmlentities($config['name']); ?>0" class="cb-disable <?php if($config['value'] == '0'): ?>selected<?php endif; ?>" ><span><?php echo htmlentities(lang('ds_no')); ?></span></label>
  59. <input type="radio" <?php if($config['value'] == '1'): ?>checked="checked"<?php endif; ?> value="1" name="cfg_value[key_<?php echo htmlentities($key); ?>]" id="<?php echo htmlentities($config['name']); ?>1">
  60. <input type="radio" <?php if($config['value'] == '0'): ?>checked="checked"<?php endif; ?> value="0" name="cfg_value[key_<?php echo htmlentities($key); ?>]" id="<?php echo htmlentities($config['name']); ?>0">
  61. </div>
  62. <?php elseif($config['type'] == 'textarea'): ?>
  63. <textarea name="cfg_value[key_<?php echo htmlentities($key); ?>]" style="width:520px;height:100px;"><?php echo htmlentities($config['value']); ?></textarea>
  64. <?php endif; ?>
  65. <input name="cfg_name[key_<?php echo htmlentities($key); ?>]" type="hidden" value="<?php echo htmlentities($config['name']); ?>" />
  66. <?php endif; ?>
  67. </td>
  68. <td class="vatop tips"><?php echo $config['desc']; ?></td>
  69. </tr>
  70. <?php endforeach; endif; else: echo "" ;endif; ?>
  71. <?php endif; ?>
  72. <tr>
  73. <td colspan="2" class="required"><?php echo htmlentities(lang('payment_index_enable')); ?></td>
  74. </tr>
  75. <tr class="noborder">
  76. <td class="vatop rowform onoff"><label for="payment_state1" class="cb-enable <?php if($payment['payment_state']): ?>selected<?php endif; ?>" ><span><?php echo htmlentities(lang('ds_yes')); ?></span></label>
  77. <label for="payment_state2" class="cb-disable <?php if($payment['payment_state'] == '0'): ?>selected<?php endif; ?>" ><span><?php echo htmlentities(lang('ds_no')); ?></span></label>
  78. <input type="radio" <?php if($payment['payment_state'] == '1'): ?>checked="checked"<?php endif; ?> value="1" name="payment_state" id="payment_state1">
  79. <input type="radio" <?php if($payment['payment_state'] == '0'): ?>checked="checked"<?php endif; ?> value="0" name="payment_state" id="payment_state2"></td>
  80. <td class="vatop tips"></td>
  81. </tr>
  82. </tbody>
  83. <tfoot>
  84. <tr class="tfoot">
  85. <td colspan="15">
  86. <input class="btn" type="submit" value="<?php echo htmlentities(lang('ds_submit')); ?>"/>
  87. <a href="JavaScript:void(0);" class="btn" onclick="history.go(-1)"><span><?php echo htmlentities(lang('ds_back')); ?></span></a>
  88. </td>
  89. </tr>
  90. </tfoot>
  91. </table>
  92. </form>