<a href="index.php?site=teacher&amp;action=search_f">[Nové hľadanie]</a><br />
{if $userCount > 0}
<br />
<table class="default spacy">
  <tr class="head">
    <td>#</td>
    <td colspan="2">Meno</td>
    <td>ITIC</td>
    <td colspan="3">Akcia</td>
  </tr>
  {counter start=0 skip=1 print=false}
  {foreach from=$users item=user name=row}
  <tr id="item{$smarty.foreach.row.index}" class="{if $smarty.foreach.row.index%2 == 0}row1{else}row2{/if}" 
      onmouseover="document.getElementById('item{$smarty.foreach.row.index}').style.background='#feda87'"
      onmouseout="document.getElementById('item{$smarty.foreach.row.index}').style.background='{if $smarty.foreach.row.index%2 == 0}#f8f8f8{else}#e8e8e8{/if}'">  
    <td>{counter}.</td>
    <td class="namePrefix" width="10%">{$user.namePrefix}&nbsp;</td>
    <td class="name" width="40%"><b>{$user.surname}</b> {$user.name} {$user.nameSuffix}</td>
    <td>{$user.ISIC}</td>
    <td class="action"><a href="index.php?site=teacher&action=info&id={$user.id}">[detaily]</a></td>
    <td class="action"><a href="index.php?site=teacher&action=edit&id={$user.id}">[editovať]</a></td>
    <td class="action"><a href="index.php?site=teacher&action=delete&id={$user.id}">[zmazať]</a></td>
  </tr>
  {/foreach}
  <tr class="head">
    <td colspan="7">&nbsp;</td>
  </tr>
</table>
{else}
  <div class="note">Žiaden učiteľ nevyhovuje filtru.</div>
{/if}
