<?php /* Smarty version 3.1.27, created on 2019-03-09 03:50:21
         compiled from "/home/hyipsour/public_html/tmpl/program_upgrade.tpl" */ ?>
<?php
/*%%SmartyHeaderCode:13430570045c8337fd0be335_68511554%%*/
if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'e107babae700eb35557542218ec971df4cf591c4' => 
    array (
      0 => '/home/hyipsour/public_html/tmpl/program_upgrade.tpl',
      1 => 1534608042,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '13430570045c8337fd0be335_68511554',
  'variables' => 
  array (
    'display' => 0,
    'type_fee' => 0,
    'listing' => 0,
    'groups' => 0,
    'g' => 0,
  ),
  'has_nocache_code' => false,
  'version' => '3.1.27',
  'unifunc' => 'content_5c8337fd2ce271_38164597',
),false);
/*/%%SmartyHeaderCode%%*/
if ($_valid && !is_callable('content_5c8337fd2ce271_38164597')) {
function content_5c8337fd2ce271_38164597 ($_smarty_tpl) {
if (!is_callable('smarty_block_t')) require_once '/home/hyipsour/public_html/inc/libs/smarty3/plugins/block.t.php';
if (!is_callable('smarty_modifier_encurl')) require_once '/home/hyipsour/public_html/inc/libs/smarty3/plugins/modifier.encurl.php';

$_smarty_tpl->properties['nocache_hash'] = '13430570045c8337fd0be335_68511554';
echo $_smarty_tpl->getSubTemplate ("header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0);
?>



<?php if ($_smarty_tpl->tpl_vars['display']->value == 'payform') {?>

<b><?php $_smarty_tpl->smarty->_tag_stack[] = array('t', array()); $_block_repeat=true; echo smarty_block_t(array(), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
To upgrade your listing please make payment<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_t(array(), $_block_content, $_smarty_tpl, $_block_repeat);  } array_pop($_smarty_tpl->smarty->_tag_stack);?>
 ($<?php echo $_smarty_tpl->tpl_vars['type_fee']->value;?>
):</b>

<?php $_smarty_tpl->tpl_vars["act"] = new Smarty_Variable("upgrade", null, 0);?>
<?php $_smarty_tpl->tpl_vars["memo"] = new Smarty_Variable("Listing Upgrade", null, 0);?>
<?php $_smarty_tpl->tpl_vars["amount"] = new Smarty_Variable($_smarty_tpl->tpl_vars['type_fee']->value, null, 0);?>

<?php echo $_smarty_tpl->getSubTemplate ("pay_forms.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0);
?>


<?php } else { ?>

<h3>Upgrade <?php echo htmlspecialchars($_smarty_tpl->tpl_vars['listing']->value['name'], ENT_QUOTES, 'UTF-8', true);?>
</h3>

<table class="form nosize">
<thead>
<tr>
 <td>Group</td>
 <th><?php $_smarty_tpl->smarty->_tag_stack[] = array('t', array()); $_block_repeat=true; echo smarty_block_t(array(), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
Activation<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_t(array(), $_block_content, $_smarty_tpl, $_block_repeat);  } array_pop($_smarty_tpl->smarty->_tag_stack);?>
</th>
 <th><?php $_smarty_tpl->smarty->_tag_stack[] = array('t', array()); $_block_repeat=true; echo smarty_block_t(array(), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
Reinvestment<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_t(array(), $_block_content, $_smarty_tpl, $_block_repeat);  } array_pop($_smarty_tpl->smarty->_tag_stack);?>
</th>
 <th><?php $_smarty_tpl->smarty->_tag_stack[] = array('t', array()); $_block_repeat=true; echo smarty_block_t(array(), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
Total Fee<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_t(array(), $_block_content, $_smarty_tpl, $_block_repeat);  } array_pop($_smarty_tpl->smarty->_tag_stack);?>
</th>
 <th><?php $_smarty_tpl->smarty->_tag_stack[] = array('t', array()); $_block_repeat=true; echo smarty_block_t(array(), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
Upgrade<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_t(array(), $_block_content, $_smarty_tpl, $_block_repeat);  } array_pop($_smarty_tpl->smarty->_tag_stack);?>
</th>
</tr>
</thead>
<?php
$_from = $_smarty_tpl->tpl_vars['groups']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$_smarty_tpl->tpl_vars['g'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['g']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['g']->value) {
$_smarty_tpl->tpl_vars['g']->_loop = true;
$foreach_g_Sav = $_smarty_tpl->tpl_vars['g'];
?>
<tr>
 <th><?php echo $_smarty_tpl->tpl_vars['g']->value['name'];?>
</th>
 <td>$<?php echo number_format($_smarty_tpl->tpl_vars['g']->value['upgrade']['activation'],2);?>
</td>
 <td>$<?php echo number_format($_smarty_tpl->tpl_vars['g']->value['upgrade']['reinvest'],2);?>
</td>
 <td><b>$<?php echo $_smarty_tpl->tpl_vars['g']->value['upgrade']['activation']+number_format($_smarty_tpl->tpl_vars['g']->value['upgrade']['reinvest'],2);?>
</b></td>
 <td><a href="<?php echo smarty_modifier_encurl("?a=add&display=upgrade&lid=".((string)$_smarty_tpl->tpl_vars['listing']->value['id'])."&action=upgrade&type=".((string)$_smarty_tpl->tpl_vars['g']->value['id']));?>
"><?php $_smarty_tpl->smarty->_tag_stack[] = array('t', array()); $_block_repeat=true; echo smarty_block_t(array(), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
Upgrade<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_t(array(), $_block_content, $_smarty_tpl, $_block_repeat);  } array_pop($_smarty_tpl->smarty->_tag_stack);?>
</a></td>
</tr>
<?php
$_smarty_tpl->tpl_vars['g'] = $foreach_g_Sav;
}
?>
</table>

<?php }?>

<?php echo $_smarty_tpl->getSubTemplate ("footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0);

}
}
?>