<?php /* Smarty version 2.6.19, created on 2008-09-02 12:56:47
         compiled from backend/firm_form.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'intval', 'backend/firm_form.tpl', 11, false),)), $this); ?>
<h4><?php echo $this->_tpl_vars['firms_lang']['title']; ?>
:</h4><br>

<form action="<?php echo $this->_tpl_vars['action']; ?>
" method="post">
<table>
  <tr>
    <td class="index"><?php echo $this->_tpl_vars['firms_lang']['f_name']; ?>
:</td>
    <td><input type="text" name="nazov" value="<?php echo $this->_tpl_vars['firm']['firma_meno']; ?>
" maxlength="255" /></td>
  </tr>
  <tr>
    <td class="index"><?php echo $this->_tpl_vars['firms_lang']['f_cislo']; ?>
:</td>
    <td><input type="text" name="cislo" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['firm']['firma_cislo'])) ? $this->_run_mod_handler('intval', true, $_tmp) : smarty_modifier_intval($_tmp)); ?>
" maxlength="255" /></td>
  </tr>
  <tr>
    <td class="index"><?php echo $this->_tpl_vars['firms_lang']['f_category']; ?>
:</td>
    <td>
      <select name="kategoria_id" size="1">
      <?php unset($this->_sections['p']);
$this->_sections['p']['name'] = 'p';
$this->_sections['p']['loop'] = is_array($_loop=$this->_tpl_vars['category']) ? 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']);
?>
        <option value="<?php echo $this->_tpl_vars['category'][$this->_sections['p']['index']]['filter_id']; ?>
"<?php if ($this->_tpl_vars['category'][$this->_sections['p']['index']]['filter_id'] == $this->_tpl_vars['firm']['firma_kategoria_id']): ?> selected="selected"<?php endif; ?>><?php echo $this->_tpl_vars['category'][$this->_sections['p']['index']]['filter_nazov']; ?>
</option>
      <?php endfor; endif; ?>
      </select>
    </td>
  </tr>
  <tr>
    <td class="index"><?php echo $this->_tpl_vars['firms_lang']['f_billboard']; ?>
:</td>
    <td><input type="text" name="obrazok" value="<?php echo $this->_tpl_vars['firm']['firma_obrazok']; ?>
" id="obrazok"/> <input type="button" value="<?php echo $this->_tpl_vars['firms_lang']['browse']; ?>
" onclick="window.open('<?php echo $this->_tpl_vars['baseurl']; ?>
admin/select_image/<?php echo $this->_tpl_vars['jazyk']; ?>
', 'billboard', 'width=600, height=700');"></td>
  </tr>
  <tr>
    <td class="index"><?php echo $this->_tpl_vars['firms_lang']['f_logo']; ?>
:</td>
    <td><input type="text" name="logo" value="<?php echo $this->_tpl_vars['firm']['firma_logo']; ?>
" id="logo"/> <input type="button" value="<?php echo $this->_tpl_vars['firms_lang']['browse']; ?>
" onclick="window.open('<?php echo $this->_tpl_vars['baseurl']; ?>
admin/select_logo/<?php echo $this->_tpl_vars['jazyk']; ?>
', 'logo', 'width=600, height=700');"></td>
  </tr>
  <tr>
    <td class="index"><?php echo $this->_tpl_vars['firms_lang']['f_link']; ?>
:</td>
    <td><input type="text" name="link" value="<?php echo $this->_tpl_vars['firm']['firma_link']; ?>
" /></td>
  </tr>
  <tr>
    <td class="index"><?php echo $this->_tpl_vars['firms_lang']['f_link_cenniky']; ?>
:</td>
    <td><input type="text" name="web_cenniky" value="<?php echo $this->_tpl_vars['firm']['firma_web_cenniky']; ?>
" /></td>
  </tr>
  <tr>
    <td class="index"><?php echo $this->_tpl_vars['firms_lang']['f_link_akcie']; ?>
:</td>
    <td><input type="text" name="web_akcie" value="<?php echo $this->_tpl_vars['firm']['firma_web_akcie']; ?>
" /></td>
  </tr>
  <tr>
    <td class="index"><?php echo $this->_tpl_vars['firms_lang']['f_adresa']; ?>
:</td>
    <td><textarea name="adresa" cols="40" rows="4"><?php echo $this->_tpl_vars['firm']['firma_adresa']; ?>
</textarea></td>
  </tr>
  <tr>
    <td class="index"><?php echo $this->_tpl_vars['firms_lang']['f_popis']; ?>
:</td>
    <td><textarea name="popis" cols="40" rows="4"><?php echo $this->_tpl_vars['firm']['firma_popis']; ?>
</textarea></td>
  </tr>
  <tr>
    <td class="index"><?php echo $this->_tpl_vars['firms_lang']['f_zlava']; ?>
:</td>
    <td><textarea name="zlava" cols="40" rows="4"><?php echo $this->_tpl_vars['firm']['firma_zlava']; ?>
</textarea></td>
  </tr>
  <tr>
    <td class="index"><?php echo $this->_tpl_vars['firms_lang']['f_kluce']; ?>
:</td>
    <td><input type="text" name="kluce" value="<?php echo $this->_tpl_vars['firm']['firma_kluce']; ?>
" /></td>
  </tr>
  <tr>
    <td class="index"><?php echo $this->_tpl_vars['firms_lang']['f_clenska']; ?>
:</td>
    <td><input type="checkbox" name="clenska" value="1" <?php if ($this->_tpl_vars['firm']['firma_clenska']): ?>checked="checked" <?php endif; ?>/></td>
  </tr>
</table>
<input type="submit" name="submit_firm" value="<?php echo $this->_tpl_vars['firms_lang']['send']; ?>
">
</form>