<?php
/* Smarty version 3.1.36, created on 2020-08-27 08:17:58
  from '/home/superior/public_html/myprofbay.com/prox-templates/ajax.pricingtable.tpl' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.36',
  'unifunc' => 'content_5f476c36df2f98_37112877',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '58154b210f70c25df308c07deae521aef3744e2a' => 
    array (
      0 => '/home/superior/public_html/myprofbay.com/prox-templates/ajax.pricingtable.tpl',
      1 => 1561778018,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_5f476c36df2f98_37112877 (Smarty_Internal_Template $_smarty_tpl) {
?><table class="price_table_default">
    <tbody>
        <tr>
            <th rowspan="2" class="deadline_header">Deadline</th>
            <th colspan="5" class="courselevel_header">Academic level</th>
        </tr>
        <tr class="deadline_cell_header">
            <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['academicLevels']->value, 'academicLevel');
$_smarty_tpl->tpl_vars['academicLevel']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['academicLevel']->value) {
$_smarty_tpl->tpl_vars['academicLevel']->do_else = false;
?>
                <th><strong><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['academicLevel']->value['title'], ENT_QUOTES, 'UTF-8');?>
</strong></th>
            <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
        </tr>

        <?php $_smarty_tpl->_assignInScope('row', 0);?>
        <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['deadlines']->value, 'deadline', false, 'time');
$_smarty_tpl->tpl_vars['deadline']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['time']->value => $_smarty_tpl->tpl_vars['deadline']->value) {
$_smarty_tpl->tpl_vars['deadline']->do_else = false;
?>
            <tr class="price_row price_row_odd price_row_<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['row']->value, ENT_QUOTES, 'UTF-8');?>
">
                <th class="courselevel_name">
                    <?php echo htmlspecialchars($_smarty_tpl->tpl_vars['time']->value, ENT_QUOTES, 'UTF-8');?>

                </th>

                <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['academicLevels']->value, 'academicLevel', false, 'academicLevelId');
$_smarty_tpl->tpl_vars['academicLevel']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['academicLevelId']->value => $_smarty_tpl->tpl_vars['academicLevel']->value) {
$_smarty_tpl->tpl_vars['academicLevel']->do_else = false;
?>
                   <?php if ((isset($_smarty_tpl->tpl_vars['deadline']->value[$_smarty_tpl->tpl_vars['academicLevelId']->value]))) {?>
                        <td>
                            <div>$<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['deadline']->value[$_smarty_tpl->tpl_vars['academicLevelId']->value]['pricePerPage'], ENT_QUOTES, 'UTF-8');?>
</div>
                        </td>
                   <?php } else { ?>
                        <td>
                            <div>n/a</div>
                        </td>
                   <?php }?>
                <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
            </tr>

             <?php $_smarty_tpl->_assignInScope('row', $_smarty_tpl->tpl_vars['row']->value+1);?>
        <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
        
    </tbody>
</table><?php }
}
