<?php
/* Smarty version 3.1.48, created on 2025-06-05 06:55:40
  from '/home/servydhq/public_html/whmcs/templates/six/store/promos/upsell.tpl' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.48',
  'unifunc' => 'content_68413f6c46e6f8_84401145',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    'bcfcca5decb5f935c4f94590a18b28462f87e152' => 
    array (
      0 => '/home/servydhq/public_html/whmcs/templates/six/store/promos/upsell.tpl',
      1 => 1748871040,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_68413f6c46e6f8_84401145 (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 }
}
