<?php /* Smarty version 2.6.19, created on 2009-05-10 15:35:16
         compiled from frontend/list_firiem_filter.tpl */ ?>
<div class="filter">
<form action="<?php echo $this->_tpl_vars['baseurl']; ?>
billboards/filter/<?php echo $this->_tpl_vars['jazyk']; ?>
" method="post">
<select name="filter" size="1">
  <option value="0"><?php echo $this->_tpl_vars['filter_lang']['all']; ?>
</option>
<?php unset($this->_sections['p']);
$this->_sections['p']['name'] = 'p';
$this->_sections['p']['loop'] = is_array($_loop=$this->_tpl_vars['filter']) ? 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']);
?><?php if ($this->_tpl_vars['filter'][$this->_sections['p']['index']]['filter_skryta'] == 0): ?>
  <option value="<?php echo $this->_tpl_vars['filter'][$this->_sections['p']['index']]['filter_id']; ?>
"><?php echo $this->_tpl_vars['filter'][$this->_sections['p']['index']]['filter_nazov']; ?>
</option><?php endif; ?>
<?php endfor; endif; ?>
</select>
&nbsp;<input type="submit" value="<?php echo $this->_tpl_vars['firms_lang']['filter']; ?>
" />
</form>
</div>