<?php /* Smarty version 2.6.12, created on 2011-01-18 14:26:03
         compiled from journal_view_main_init_control.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'journal_view_main_init_control.html', 3, false),)), $this); ?>
<?php echo '<span class="journal_separator"><select class="category_id';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '" onchange="journalCls[\'';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '\'].toPage(this, \'';  echo ((is_array($_tmp=$this->_tpl_vars['action']['journal_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '\', \'category_id';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '\', \'visible_item';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '\', \'\', \'';  echo ((is_array($_tmp=$this->_tpl_vars['position'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '\')" id="category_id';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '';  if (((is_array($_tmp=$this->_tpl_vars['position'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == 'bottom'):  echo '_bottom';  endif;  echo '" size="1"><option value="0" ';  if (((is_array($_tmp=$this->_tpl_vars['action']['category_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == "" || ((is_array($_tmp=$this->_tpl_vars['action']['category_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == 0):  echo ' selected="selected"';  endif;  echo '>';  echo $this->_tpl_vars['lang']['journal_category_select'];  echo '</option>';  $_from = ((is_array($_tmp=$this->_tpl_vars['action']['categories'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['cat']):
 echo '<option value="';  echo ((is_array($_tmp=$this->_tpl_vars['cat']['category_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '" ';  if (( ((is_array($_tmp=$this->_tpl_vars['action']['category_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == ((is_array($_tmp=$this->_tpl_vars['cat']['category_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) )):  echo 'selected="selected"';  endif;  echo '>';  echo ((is_array($_tmp=$this->_tpl_vars['cat']['category_name'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '</option>';  endforeach; endif; unset($_from);  echo '</select></span><span><select class="visible_item';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '" onchange="journalCls[\'';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '\'].toPage(this, \'';  echo ((is_array($_tmp=$this->_tpl_vars['action']['journal_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '\', \'category_id';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '\', \'visible_item';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '\', \'\', \'';  echo ((is_array($_tmp=$this->_tpl_vars['position'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '\')" id="visible_item';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '';  if (((is_array($_tmp=$this->_tpl_vars['position'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == 'bottom'):  echo '_bottom';  endif;  echo '" size="1"><option value="1" ';  if (((is_array($_tmp=$this->_tpl_vars['action']['visible_item'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == 1):  echo 'selected="selected"';  endif;  echo '>1';  echo $this->_tpl_vars['lang']['journal_display_item'];  echo '</option><option value="5" ';  if (((is_array($_tmp=$this->_tpl_vars['action']['visible_item'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == 5):  echo 'selected="selected"';  endif;  echo '>5';  echo $this->_tpl_vars['lang']['journal_display_item'];  echo '</option><option value="10" ';  if (((is_array($_tmp=$this->_tpl_vars['action']['visible_item'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == 10):  echo 'selected="selected"';  endif;  echo '>10';  echo $this->_tpl_vars['lang']['journal_display_item'];  echo '</option><option value="20" ';  if (((is_array($_tmp=$this->_tpl_vars['action']['visible_item'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == 20):  echo 'selected="selected"';  endif;  echo '>20';  echo $this->_tpl_vars['lang']['journal_display_item'];  echo '</option><option value="50" ';  if (((is_array($_tmp=$this->_tpl_vars['action']['visible_item'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == 50):  echo 'selected="selected"';  endif;  echo '>50';  echo $this->_tpl_vars['lang']['journal_display_item'];  echo '</option><option value="100" ';  if (((is_array($_tmp=$this->_tpl_vars['action']['visible_item'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == 100):  echo 'selected="selected"';  endif;  echo '>100';  echo $this->_tpl_vars['lang']['journal_display_item'];  echo '</option>';  echo '</select></span>'; ?>