<?php /* Smarty version 2.6.19, created on 2009-05-10 15:35:16
         compiled from frontend/billboards.tpl */ ?>
<?php ob_start();
$_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'frontend/list_firiem_strankovanie.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
$this->assign('strankovanie', ob_get_contents()); ob_end_clean();
 ?>
<?php ob_start();
$_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'frontend/list_firiem_filter.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
$this->assign('filter', ob_get_contents()); ob_end_clean();
 ?>
<?php echo $this->_tpl_vars['filter']; ?>

<table id="billboards">
<tr>
  <td><?php echo $this->_tpl_vars['strankovanie']; ?>
<td>
</tr>
<?php unset($this->_sections['p']);
$this->_sections['p']['name'] = 'p';
$this->_sections['p']['loop'] = is_array($_loop=$this->_tpl_vars['firmy']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['p']['show'] = true;
$this->_sections['p']['max'] = $this->_sections['p']['loop'];
$this->_sections['p']['step'] = 1;
$this->_sections['p']['start'] = $this->_sections['p']['step'] > 0 ? 0 : $this->_sections['p']['loop']-1;
if ($this->_sections['p']['show']) {
    $this->_sections['p']['total'] = $this->_sections['p']['loop'];
    if ($this->_sections['p']['total'] == 0)
        $this->_sections['p']['show'] = false;
} else
    $this->_sections['p']['total'] = 0;
if ($this->_sections['p']['show']):

            for ($this->_sections['p']['index'] = $this->_sections['p']['start'], $this->_sections['p']['iteration'] = 1;
                 $this->_sections['p']['iteration'] <= $this->_sections['p']['total'];
                 $this->_sections['p']['index'] += $this->_sections['p']['step'], $this->_sections['p']['iteration']++):
$this->_sections['p']['rownum'] = $this->_sections['p']['iteration'];
$this->_sections['p']['index_prev'] = $this->_sections['p']['index'] - $this->_sections['p']['step'];
$this->_sections['p']['index_next'] = $this->_sections['p']['index'] + $this->_sections['p']['step'];
$this->_sections['p']['first']      = ($this->_sections['p']['iteration'] == 1);
$this->_sections['p']['last']       = ($this->_sections['p']['iteration'] == $this->_sections['p']['total']);
?>
<tr>
  <td><a href="<?php echo $this->_tpl_vars['baseurl']; ?>
billboards/detail/<?php echo $this->_tpl_vars['jazyk']; ?>
/<?php echo $this->_tpl_vars['firmy'][$this->_sections['p']['index']]['firma_id']; ?>
"><img src="<?php echo $this->_tpl_vars['baseurl']; ?>
pictures/firms_images/<?php echo $this->_tpl_vars['firmy'][$this->_sections['p']['index']]['firma_obrazok']; ?>
" alt=""<?php if ($this->_tpl_vars['firmy'][$this->_sections['p']['index']]['firma_datum'] >= $this->_tpl_vars['datum_novosti']): ?> class="billboard_new"<?php endif; ?>/></a></td>
</tr>
<?php endfor; endif; ?>
<tr>
  <td><?php echo $this->_tpl_vars['strankovanie']; ?>
<td>
</tr>
</table>
<?php echo $this->_tpl_vars['filter']; ?>