<?php /* Smarty version 2.6.18, created on 2007-06-05 11:37:31
         compiled from studentSearch.tpl */ ?>
<div class="note">
Prázdne polia neovplyvnia výsledky vyhľadávania. Stačí uviesť prefix hodnoty, podľa ktorej 
sa bude vyhľadávať v databáze študentov.
</div>
<br />
<form action="index.php?site=student&amp;action=do_search" method="post">
<table>
	<tr> 
    <td>Login</td>
    <td><input type="text" name="login" size="20" maxlength="20" value="" /></td>
	</tr> 
	<tr> 
    <td>Meno</td>
    <td><input type="text" name="name" size="20" maxlength="20" value="" /></td>
	</tr> 
	<tr> 
    <td>Priezvisko</td>
    <td><input type="text" name="surname" size="30" maxlength="30" value="" /></td>
	</tr> 
	<tr> 
    <td>ISIC</td>
    <td><input type="text" name="isic" size="10" maxlength="10" value="" /></td>
	</tr> 
	<tr> 
    <td>Rok štúdia</td>
    <td><input type="text" name="year" size="1" maxlength="1" value="" /></td>
	</tr> 
	<tr> 
    <td>Odbor</td>
    <td>
      <select name="spec">
      <?php $_from = $this->_tpl_vars['specs']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['spec']):
?>
      	<option value="<?php echo $this->_tpl_vars['spec']['id']; ?>
"><?php echo $this->_tpl_vars['spec']['name']; ?>
</option>
      <?php endforeach; endif; unset($_from); ?>
      </select>
    </td>
	</tr>
	<tr> 
    <td colspan="2"><input type="submit" name="Start" value="Hľadať" /></td>
	</tr> 
</table>
</form>
