<?php /* Smarty version 2.6.12, created on 2011-01-18 14:26:03
         compiled from multidatabase_mobile_init_displaychange.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'multidatabase_mobile_init_displaychange.html', 5, false),)), $this); ?>
<?php echo '';  echo '';  echo '';  echo '<form action=".';  echo ((is_array($_tmp=@INDEX_FILE_NAME)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '" method="get">';  echo '';  if (((is_array($_tmp=$this->_tpl_vars['action']['total_page'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) > 1):  echo '';  $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "multidatabase_mobile_init_page.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
  echo '<br />';  endif;  echo '';  echo '';  echo '';  $_from = ((is_array($_tmp=$this->_tpl_vars['action']['section_metadatas'])) ? $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['key'] => $this->_tpl_vars['item']):
 echo '<select name="sort_section[';  echo ((is_array($_tmp=$this->_tpl_vars['key'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo ']">';  echo '<option value="0" ';  if (((is_array($_tmp=$this->_tpl_vars['action']['sort_section'][$this->_tpl_vars['key']])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) === '0' || ((is_array($_tmp=$this->_tpl_vars['action']['sort_section'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == null):  echo ' selected="selected"';  endif;  echo '>';  echo ((is_array($_tmp=$this->_tpl_vars['item']['name'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '</option>';  $_from = ((is_array($_tmp=$this->_tpl_vars['item']['select_content_array'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['selectloop'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['selectloop']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['option']):
        $this->_foreach['selectloop']['iteration']++;
 echo '<option value="';  echo ((is_array($_tmp=$this->_tpl_vars['option'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '" ';  if (((is_array($_tmp=$this->_tpl_vars['action']['sort_section'][$this->_tpl_vars['key']])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == ((is_array($_tmp=$this->_tpl_vars['option'])) ? $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['option'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '</option>';  endforeach; endif; unset($_from);  echo '</select>';  endforeach; endif; unset($_from);  echo '';  echo '<select name="sort_metadata"><option value="';  echo ((is_array($_tmp=@MULTIDATABASE_DEFAULT_SEQUENCE_SORT)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '" ';  if (((is_array($_tmp=$this->_tpl_vars['action']['sort_metadata'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == "" || ((is_array($_tmp=$this->_tpl_vars['action']['sort_metadata'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == ((is_array($_tmp=@MULTIDATABASE_DEFAULT_SEQUENCE_SORT)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))):  echo ' selected="selected"';  endif;  echo '>';  echo $this->_tpl_vars['lang']['mdb_default_sort'];  echo '</option><option value="';  echo ((is_array($_tmp=@MULTIDATABASE_DEFAULT_DATE_SORT)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '" ';  if (((is_array($_tmp=$this->_tpl_vars['action']['sort_metadata'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == ((is_array($_tmp=@MULTIDATABASE_DEFAULT_DATE_SORT)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))):  echo ' selected="selected"';  endif;  echo '>';  echo $this->_tpl_vars['lang']['mdb_date_sort'];  echo '</option><option value="';  echo ((is_array($_tmp=@MULTIDATABASE_DEFAULT_DATE_ASC_SORT)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '" ';  if (((is_array($_tmp=$this->_tpl_vars['action']['sort_metadata'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == ((is_array($_tmp=@MULTIDATABASE_DEFAULT_DATE_ASC_SORT)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))):  echo ' selected="selected"';  endif;  echo '>';  echo $this->_tpl_vars['lang']['mdb_date_asc_sort'];  echo '</option>';  if (((is_array($_tmp=$this->_tpl_vars['action']['mdb_obj']['vote_flag'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == ((is_array($_tmp=@_ON)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))):  echo '<option value="';  echo ((is_array($_tmp=@MULTIDATABASE_DEFAULT_VOTE_SORT)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '" ';  if (((is_array($_tmp=$this->_tpl_vars['action']['sort_metadata'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == ((is_array($_tmp=@MULTIDATABASE_DEFAULT_VOTE_SORT)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))):  echo ' selected="selected"';  endif;  echo '>';  echo $this->_tpl_vars['lang']['mdb_vote_sort'];  echo '</option>';  endif;  echo '';  $_from = ((is_array($_tmp=$this->_tpl_vars['action']['sort_metadatas'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['selectloop'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['selectloop']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['option']):
        $this->_foreach['selectloop']['iteration']++;
 echo '<option value="';  echo ((is_array($_tmp=$this->_tpl_vars['option']['metadata_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '" ';  if (((is_array($_tmp=$this->_tpl_vars['action']['sort_metadata'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == ((is_array($_tmp=$this->_tpl_vars['option']['metadata_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['option']['name'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '';  echo $this->_tpl_vars['lang']['mdb_sort_item'];  echo '</option>';  endforeach; endif; unset($_from);  echo '</select>';  echo '<select name="visible_item"><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']['mdb_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']['mdb_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']['mdb_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']['mdb_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']['mdb_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']['mdb_display_item'];  echo '</option>';  echo '</select>';  echo '<input type="hidden" name="action" value="multidatabase_view_main_init"><input type="hidden" name="block_id" value="';  echo ((is_array($_tmp=$this->_tpl_vars['action']['block_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '">';  echo '<input type="hidden" name="multidatabase_id" value="';  echo ((is_array($_tmp=$this->_tpl_vars['action']['multidatabase_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '"><input type="hidden" name="now_page" value="';  echo ((is_array($_tmp=$this->_tpl_vars['action']['now_page'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '">';  echo '';  echo $this->_tpl_vars['session_form'];  echo '';  echo '<input type="submit" name="switch" value="';  echo $this->_tpl_vars['lang']['_mobile_switch'];  echo '" ></form>'; ?>
