<?php /* Smarty version 2.6.19, created on 2008-04-16 13:42:38
         compiled from backend/articles_form.tpl */ ?>
<h4><?php echo $this->_tpl_vars['articles_lang']['title']; ?>
:</h4><br>

<?php unset($this->_sections['p']);
$this->_sections['p']['name'] = 'p';
$this->_sections['p']['loop'] = is_array($_loop=$this->_tpl_vars['articles']) ? 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']);
?>
<form action="<?php echo $this->_tpl_vars['baseurl']; ?>
admin/articles/<?php echo $this->_tpl_vars['jazyk']; ?>
/<?php echo $this->_tpl_vars['articles'][$this->_sections['p']['index']]['id']; ?>
" method="post">
<table>
  <tr>
    <td class="index"><?php echo $this->_tpl_vars['articles_lang']['name_sk']; ?>
:</td>
    <td><input type="text" name="nazov_sk" value="<?php echo $this->_tpl_vars['articles'][$this->_sections['p']['index']]['nazov_sk']; ?>
"></td>
  </tr>
  <tr>
    <td class="index"><?php echo $this->_tpl_vars['articles_lang']['text_sk']; ?>
:</td>
    <td><textarea name="text_sk" cols="100" rows="20"><?php echo $this->_tpl_vars['articles'][$this->_sections['p']['index']]['text_sk']; ?>
</textarea></td>
  </tr>
  <tr>
    <td class="index"><?php echo $this->_tpl_vars['articles_lang']['name_hu']; ?>
:</td>
    <td><input type="text" name="nazov_hu" value="<?php echo $this->_tpl_vars['articles'][$this->_sections['p']['index']]['nazov_hu']; ?>
"></td>
  </tr>
  <tr>
    <td class="index"><?php echo $this->_tpl_vars['articles_lang']['text_hu']; ?>
:</td>
    <td><textarea name="text_hu" cols="100" rows="20"><?php echo $this->_tpl_vars['articles'][$this->_sections['p']['index']]['text_hu']; ?>
</textarea></td>
  </tr>
  <tr>
    <td class="index"><?php echo $this->_tpl_vars['articles_lang']['name_en']; ?>
:</td>
    <td><input type="text" name="nazov_en" value="<?php echo $this->_tpl_vars['articles'][$this->_sections['p']['index']]['nazov_en']; ?>
"></td>
  </tr>
  <tr>
    <td class="index"><?php echo $this->_tpl_vars['articles_lang']['text_en']; ?>
:</td>
    <td><textarea name="text_en" cols="100" rows="20"><?php echo $this->_tpl_vars['articles'][$this->_sections['p']['index']]['text_en']; ?>
</textarea></td>
  </tr>
</table>
<hr>
<input type="submit" value="<?php echo $this->_tpl_vars['articles_lang']['send']; ?>
" name="articles_submit">
<hr>
</form>
<?php endfor; endif; ?>