| Server IP : 213.255.246.8 / Your IP : 216.73.217.178 Web Server : Apache System : Linux dublin.stapolin.com 5.14.0-362.18.1.el9_3.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Jan 29 07:05:48 EST 2024 x86_64 User : stapolin ( 1019) PHP Version : 8.4.24 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/stapolin/whmdir/templates_c/ |
Upload File : |
<?php
/* Smarty version 3.1.36, created on 2023-08-19 16:48:17
from '/home/stapolin/billing.stapolin.com/templates/six/store/promos/upsell.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.36',
'unifunc' => 'content_64e0f251694e06_68148748',
'has_nocache_code' => false,
'file_dependency' =>
array (
'6f3ab4b774b324afcfbcc4f608647e7e33b7a600' =>
array (
0 => '/home/stapolin/billing.stapolin.com/templates/six/store/promos/upsell.tpl',
1 => 1692214358,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_64e0f251694e06_68148748 (Smarty_Internal_Template $_smarty_tpl) {
?><div class="promo-banner promo-banner-rounded <?php echo $_smarty_tpl->tpl_vars['promotion']->value->getClass();?>
">
<div class="panel-body">
<div class="icon-left">
<a href="<?php echo $_smarty_tpl->tpl_vars['promotion']->value->getLearnMoreRoute();?>
">
<img src="<?php echo $_smarty_tpl->tpl_vars['promotion']->value->getImagePath();?>
">
</a>
</div>
<div class="content">
<h3>
<?php echo $_smarty_tpl->tpl_vars['promotion']->value->getHeadline();?>
<?php if ($_smarty_tpl->tpl_vars['promotion']->value->getLearnMoreRoute()) {?>
<small><a href="<?php echo $_smarty_tpl->tpl_vars['promotion']->value->getLearnMoreRoute();?>
"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>'learnmore'),$_smarty_tpl ) );?>
...</a></small>
<?php }?>
</h3>
<h4><?php echo $_smarty_tpl->tpl_vars['promotion']->value->getTagline();?>
</h4>
<?php if ($_smarty_tpl->tpl_vars['promotion']->value->getDescription()) {?>
<p><?php echo $_smarty_tpl->tpl_vars['promotion']->value->getDescription();?>
</p>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['promotion']->value->hasFeatures()) {?>
<ul>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['promotion']->value->getFeatures(), 'feature');
$_smarty_tpl->tpl_vars['feature']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['feature']->value) {
$_smarty_tpl->tpl_vars['feature']->do_else = false;
?>
<li><i class="far fa-check-circle"></i> <?php echo $_smarty_tpl->tpl_vars['feature']->value;?>
</li>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</ul>
<?php }?>
<form method="post" action="<?php echo $_smarty_tpl->tpl_vars['targetUrl']->value;?>
">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['inputParameters']->value, 'value', false, 'key');
$_smarty_tpl->tpl_vars['value']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['key']->value => $_smarty_tpl->tpl_vars['value']->value) {
$_smarty_tpl->tpl_vars['value']->do_else = false;
?>
<input type="hidden" name="<?php echo $_smarty_tpl->tpl_vars['key']->value;?>
" value="<?php echo $_smarty_tpl->tpl_vars['value']->value;?>
">
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
<button type="submit" class="btn btn-success">
<?php if ($_smarty_tpl->tpl_vars['product']->value->isFree()) {?>
<?php echo $_smarty_tpl->tpl_vars['promotion']->value->getCta();?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>"orderfree"),$_smarty_tpl ) );?>
<?php } else { ?>
<?php echo $_smarty_tpl->tpl_vars['promotion']->value->getCta();?>
<?php echo $_smarty_tpl->tpl_vars['product']->value->name;?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>"fromJust"),$_smarty_tpl ) );?>
<?php if ($_smarty_tpl->tpl_vars['product']->value->pricing()->first()->isYearly()) {?>
<?php echo $_smarty_tpl->tpl_vars['product']->value->pricing()->first()->yearlyPrice();?>
<?php } elseif ($_smarty_tpl->tpl_vars['product']->value->pricing()->first()->isOneTime()) {?>
<?php echo $_smarty_tpl->tpl_vars['product']->value->pricing()->first()->oneTimePrice();?>
<?php } else { ?>
<?php echo $_smarty_tpl->tpl_vars['product']->value->pricing()->first()->monthlyPrice();?>
<?php }?>
<?php }?>
</button>
</form>
</div>
</div>
</div>
<?php }
}