<?php /* Smarty version 2.6.18, created on 2007-06-05 12:33:48
         compiled from teacherDetails.tpl */ ?>
<?php if ($this->_tpl_vars['actionInfo'] != ""): ?>
  <div class="note">
    <?php echo $this->_tpl_vars['actionInfo']; ?>

  </div>
<?php endif; ?>
<table>
<tr>
<td>
<h2><?php echo $this->_tpl_vars['user']['namePrefix']; ?>
 <?php echo $this->_tpl_vars['user']['surname']; ?>
 <?php echo $this->_tpl_vars['user']['name']; ?>
 <?php echo $this->_tpl_vars['user']['nameSuffix']; ?>
</h2>
<table border="0">
  <tr>  
    <td width="60"><b>ITIC:</b></td><td><?php echo $this->_tpl_vars['user']['ISIC']; ?>
</td>
  </tr>
  <tr>
    <td><b>login:</b></td><td><?php echo $this->_tpl_vars['user']['login']; ?>
</td>
  </tr>
</table>
<br />
<a href="index.php?site=teacher&amp;action=edit&amp;id=<?php echo $this->_tpl_vars['user']['id']; ?>
">[editovať]</a> |
<a href="index.php?site=teacher&amp;action=change_p&amp;id=<?php echo $this->_tpl_vars['user']['id']; ?>
">[zmeniť heslo]</a> |
<a href="index.php?site=teacher&amp;action=delete&amp;id=<?php echo $this->_tpl_vars['user']['id']; ?>
">[vymazať]</a><br />
<br />
<b>Zoznam predmetov učiteľa:</b><br />
<?php if ($this->_tpl_vars['userCourseCount'] > 0): ?>
  <?php $_from = $this->_tpl_vars['courses']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['course']):
?>
    <?php if ($this->_tpl_vars['course']['signed']): ?>
      <br /><a href="index.php?site=course&amp;action=info&amp;id=<?php echo $this->_tpl_vars['course']['id']; ?>
"><?php echo $this->_tpl_vars['course']['name']; ?>
</a></li>
    <?php endif; ?>
  <?php endforeach; endif; unset($_from); ?>
<?php else: ?>
<br/>
Učiteľ nemá priradený žiaden predmet.<br />
<br />
<?php endif; ?>
</td>
</tr>
</table>
