<?php /* Smarty version 2.6.18, created on 2007-05-25 21:38:41
         compiled from demoTest.tpl */ ?>
<h3>Demo test</h3>
<div class="indent">
  <?php if ($this->_tpl_vars['noDemoTest']): ?>
    Neexistuje demo test pre tento predmet.
  <?php else: ?>
    <div class="underline">Otázky:</div>
    <table>
      <tr>
        <td>
          <?php $_from = $this->_tpl_vars['questions']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['menuItem']):
?>
            <div class="bold"><?php echo $this->_tpl_vars['menuItem']['number']; ?>
. <?php echo $this->_tpl_vars['menuItem']['question']; ?>
</div>
            <div>
              <?php $_from = $this->_tpl_vars['menuItem']['answers']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['menuSubItem']):
?>
                <input type="checkbox" disabled="disabled" /><?php echo $this->_tpl_vars['menuSubItem']['text']; ?>

                <br />
              <?php endforeach; endif; unset($_from); ?>
            </div>
          <?php endforeach; endif; unset($_from); ?>
        </td>
      </tr>
    </table>
    <form action="index.php" method="get">
      <input name="site" type="hidden" value="demoTest" />
      <input name="action" type="hidden" value="delete" />
      <input name="courseID" type="hidden" value="<?php echo $this->_tpl_vars['courseID']; ?>
" />
      <input name="submit" type="submit" value="vymaž demo test" />
    </form>
  <?php endif; ?>
</div>
