fuc/storage/framework/smarty/compile/451b6ea37123cde9023ae2ab4b7a32deb5b3d877_0.file_epay.tpl.php
2025-03-13 17:13:42 +08:00

88 lines
3.3 KiB
PHP
Executable File

<?php
/* Smarty version 5.3.1, created on 2025-01-31 20:26:19
from 'file:/www/wwwroot/xiaofu.cloud/resources/views/tabler/user/invoice/../../gateway/epay.tpl' */
/* @var \Smarty\Template $_smarty_tpl */
if ($_smarty_tpl->getCompiled()->isFresh($_smarty_tpl, array (
'version' => '5.3.1',
'unifunc' => 'content_679cc16b3e52c1_11785418',
'has_nocache_code' => false,
'file_dependency' =>
array (
'451b6ea37123cde9023ae2ab4b7a32deb5b3d877' =>
array (
0 => '/www/wwwroot/xiaofu.cloud/resources/views/tabler/user/invoice/../../gateway/epay.tpl',
1 => 1734066778,
2 => 'file',
),
),
'includes' =>
array (
),
))) {
function content_679cc16b3e52c1_11785418 (\Smarty\Template $_smarty_tpl) {
$_smarty_current_dir = '/www/wwwroot/xiaofu.cloud/resources/views/tabler/gateway';
?><div class="card-inner">
<p class="card-heading"></p>
<form class="epay" name="epay" method="post">
<?php if ($_smarty_tpl->getValue('public_setting')['epay_alipay']) {?>
<button class="btn btn-flat waves-attach"
hx-post="/user/payment/purchase/epay" hx-swap="none"
hx-vals='js:{
price: <?php echo $_smarty_tpl->getValue('invoice')->price;?>
,
invoice_id: <?php echo $_smarty_tpl->getValue('invoice')->id;?>
,
type: "alipay",
redir: window.location.href
}'>
<img src="/images/alipay.png" height="50px"/>
</button>
<?php }?>
<?php if ($_smarty_tpl->getValue('public_setting')['epay_wechat']) {?>
<button class="btn btn-flat waves-attach"
hx-post="/user/payment/purchase/epay" hx-swap="none"
hx-vals='js:{
price: <?php echo $_smarty_tpl->getValue('invoice')->price;?>
,
invoice_id: <?php echo $_smarty_tpl->getValue('invoice')->id;?>
,
type: "wxpay",
redir: window.location.href
}'>
<img src="/images/wechat.png" height="50px" style="max-width:55%;"/>
</button>
<?php }?>
<?php if ($_smarty_tpl->getValue('public_setting')['epay_qq']) {?>
<button class="btn btn-flat waves-attach"
hx-post="/user/payment/purchase/epay" hx-swap="none"
hx-vals='js:{
price: <?php echo $_smarty_tpl->getValue('invoice')->price;?>
,
invoice_id: <?php echo $_smarty_tpl->getValue('invoice')->id;?>
,
type: "qqpay",
redir: window.location.href
}'>
<img src="/images/qqpay.png" height="50px"/>
</button>
<?php }?>
<?php if ($_smarty_tpl->getValue('public_setting')['epay_usdt']) {?>
<button class="btn btn-flat waves-attach"
hx-post="/user/payment/purchase/epay" hx-swap="none"
hx-vals='js:{
price: <?php echo $_smarty_tpl->getValue('invoice')->price;?>
,
invoice_id: <?php echo $_smarty_tpl->getValue('invoice')->id;?>
,
type: "usdt",
redir: window.location.href
}'>
<img src="/images/usdt.png" height="50px"/>
</button>
<?php }?>
</form>
</div>
<?php }
}