fuc/storage/framework/smarty/compile/38a834acc4f9469504bb1a952f4894bfa6303e1f_0.file_epay.tpl.php
2025-02-23 13:30:57 +08:00

91 lines
3.3 KiB
PHP
Executable File

<?php
/* Smarty version 5.3.1, created on 2024-11-05 20:47:02
from 'file:/private/var/www/wwwroot/crc.loc/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_672a13c6e6ede7_84627452',
'has_nocache_code' => false,
'file_dependency' =>
array (
'38a834acc4f9469504bb1a952f4894bfa6303e1f' =>
array (
0 => '/private/var/www/wwwroot/crc.loc/resources/views/tabler/user/invoice/../../gateway/epay.tpl',
1 => 1712762115,
2 => 'file',
),
),
'includes' =>
array (
),
))) {
function content_672a13c6e6ede7_84627452 (\Smarty\Template $_smarty_tpl) {
$_smarty_current_dir = '/private/var/www/wwwroot/crc.loc/resources/views/tabler/gateway';
?><div class="card-inner">
<h4>
EPay
</h4>
<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"/>
</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 }
}