<?php /* Smarty version 2.6.18, created on 2007-05-28 11:46:27
         compiled from proctors.tpl */ ?>
<?php if ($this->_tpl_vars['action'] === 'browseList'): ?>
  <h3>Pridať proktora</h3>
  <div class="indent">
    <table>
    <?php $_from = $this->_tpl_vars['listOfProctors']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['menuItem']):
?>
      <tr>
        <td><?php echo $this->_tpl_vars['menuItem']['name']; ?>
</td>
        <td><a href="index.php?site=userInformation&amp;action=showProctor&amp;userID=<?php echo $this->_tpl_vars['menuItem']['id']; ?>
&amp;menuSet=1&amp;menuIndex=2">[detaily]</a></td>
        <td><a href="index.php?site=proctors&amp;action=addProctor&amp;id=<?php echo $this->_tpl_vars['menuItem']['id']; ?>
">[pridať]</a></td>
      </tr>
    <?php endforeach; endif; unset($_from); ?>
    </table>
    <br />
    <a href="index.php?site=proctors">Späť</a>
  </div>
<?php else: ?>
  <h3>Proktori</h3>
  <div class="indent">
    <table>
    <?php $_from = $this->_tpl_vars['listOfProctors']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['menuItem']):
?>
      <tr>
        <td><?php echo $this->_tpl_vars['menuItem']['name']; ?>
</td>
        <td><a href="index.php?site=userInformation&amp;action=showProctor&amp;userID=<?php echo $this->_tpl_vars['menuItem']['id']; ?>
&amp;menuSet=1&amp;menuIndex=2">[detaily]</a></td>
        <td><a href="index.php?site=proctors&amp;action=deleteProctor&amp;id=<?php echo $this->_tpl_vars['menuItem']['id']; ?>
">[odstrániť]</a></td>
      </tr>
    <?php endforeach; endif; unset($_from); ?>
    </table>
    <br />
    <a href="index.php?site=proctors&amp;action=browseList">Pridať proktora</a>
  </div>
<?php endif; ?>

