<?php
/* Smarty version 3.1.30, created on 2018-01-31 13:13:21
  from "C:\xampp\htdocs\decydownik\ajax\proces\confirm.tpl" */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.30',
  'unifunc' => 'content_5a71b2e1c003f6_81782159',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '3444d4252464a019a1e3003b8bdec073132e1129' => 
    array (
      0 => 'C:\\xampp\\htdocs\\decydownik\\ajax\\proces\\confirm.tpl',
      1 => 1517367318,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_5a71b2e1c003f6_81782159 (Smarty_Internal_Template $_smarty_tpl) {
?>
<div class="p20">
    <?php if ($_smarty_tpl->tpl_vars['StartGame']->value) {?>
    <div class="p20 tac fs28">
        Przekierowanie do gry...
        <?php echo '<script'; ?>
 type="text/javascript">
        $(function(){
            window.location.href='<?php echo core::$i->url;?>
/index.php?mode=user&function=game&id=<?php echo $_smarty_tpl->tpl_vars['ProcesId']->value;?>
&details=1';
        });
        <?php echo '</script'; ?>
>
    </div>
    <?php } else { ?>
    <div class="p10 fs14">
        Według tej metody oraz twoich potrzeb, chęci i sympatii najlepsze rozwiązanie dla ciebie to:
    </div>
    <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['Summary']->value->Items, 'Alternatywa', false, NULL, 'alternatywa', array (
  'first' => true,
  'index' => true,
));
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['Alternatywa']->value) {
$_smarty_tpl->tpl_vars['__smarty_foreach_alternatywa']->value['index']++;
$_smarty_tpl->tpl_vars['__smarty_foreach_alternatywa']->value['first'] = !$_smarty_tpl->tpl_vars['__smarty_foreach_alternatywa']->value['index'];
?>
    <div class="p10 bold fs14">
        <?php echo $_smarty_tpl->tpl_vars['Alternatywa']->value->nazwa;?>

    </div>
    <?php if ((isset($_smarty_tpl->tpl_vars['__smarty_foreach_alternatywa']->value['first']) ? $_smarty_tpl->tpl_vars['__smarty_foreach_alternatywa']->value['first'] : null)) {?>
    <div class="p10 fs14">
        Pozostałe rozwiązania w kolejności od dobrych do najgorszych to:
    </div>
    <?php }?>
    <?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl);
?>

    <div class="p10 tac">
        <a href="<?php echo core::$i->url;?>
/?mode=user" class="btn btn-primary">Wróć do strony głównej</a>    
    </div>
    <?php }?>
</div><?php }
}
