<?php /* Smarty version 2.6.18, created on 2007-06-05 10:48:36
         compiled from studentEditForm.tpl */ ?>
<?php if ($this->_tpl_vars['user']): ?>
<b><?php echo $this->_tpl_vars['user']['namePrefix']; ?>
 <?php echo $this->_tpl_vars['user']['name']; ?>
 <?php echo $this->_tpl_vars['user']['surname']; ?>
 <?php echo $this->_tpl_vars['user']['nameSuffix']; ?>
:</b>
<a href="index.php?site=student&amp;action=info&amp;id=<?php echo $this->_tpl_vars['user']['id']; ?>
">[detaily]</a> |
<a href="index.php?site=student&amp;action=change_p&amp;id=<?php echo $this->_tpl_vars['user']['id']; ?>
">[zmeniť heslo]</a><br />
<?php endif; ?>
<div class="note">
  Študent musí mať vyplnené tieto údaje: <b>Meno</b>, <b>Priezvisko</b>,
  <b>ISIC</b>, <b>Rok štúdia</b><br />
</div>
<?php if ($this->_tpl_vars['error'] != ""): ?>
  <div class="error">
    <?php echo $this->_tpl_vars['error']; ?>

  </div>
<?php endif; ?>
<form action="index.php?site=student<?php echo $this->_tpl_vars['formUrlSuffix']; ?>
" method="post">
<table>
	<tr> 
    <td>Titul (pred)</td>
    <td><input type="text" name="nPrefix" size="10" maxlength="10" value="<?php echo $this->_tpl_vars['nPrefixV']; ?>
" /></td>
	</tr> 
	<tr> 
    <td>Meno</td>
    <td><input type="text" name="name" size="20" maxlength="20" value="<?php echo $this->_tpl_vars['nameV']; ?>
" /></td>
	</tr> 
	<tr> 
    <td>Priezvisko</td>
    <td><input type="text" name="surname" size="30" maxlength="30" value="<?php echo $this->_tpl_vars['surnameV']; ?>
" /></td>
	</tr> 
	<tr> 
    <td>Titul (za)</td>
    <td><input type="text" name="nSuffix" size="10" maxlength="10" value="<?php echo $this->_tpl_vars['nSuffixV']; ?>
" /></td>
	</tr> 
	<tr> 
    <td>ISIC</td>
    <td><input type="text" name="isic" size="10" maxlength="10" value="<?php echo $this->_tpl_vars['isicV']; ?>
" /></td>
	</tr>
	<tr> 
    <td>Rok štúdia</td>
    <td><input type="text" name="year" size="1" maxlength="1" value="<?php echo $this->_tpl_vars['yearV']; ?>
" /></td>
	</tr>
	<tr> 
    <td>Odbor</td>
    <td>
      <select name="spec">
        <option value="0">---</option>
        <option value="3">Aplikovaná Informatika</option>
      </select>
    </td>
	</tr>
	<tr> 
    <td colspan="2"><input type="submit" name="Start" value="<?php echo $this->_tpl_vars['buttonLabel']; ?>
" /></td>
	</tr> 
</table>
</form>

