<?php /* Smarty version 2.6.12, created on 2011-01-18 14:26:18
         compiled from search_view_main_result_contents.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'search_view_main_result_contents.html', 4, false),array('modifier', 'sprintf', 'search_view_main_result_contents.html', 7, false),)), $this); ?>
<?php echo '<h3>';  echo ((is_array($_tmp=$this->_tpl_vars['action']['module_obj']['module_name'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '';  if (( ((is_array($_tmp=$this->_tpl_vars['action']['xml_parse']['count'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) > 0 )):  echo '<span class="search_page_count">';  echo ((is_array($_tmp=$this->_tpl_vars['lang']['search_page_count'])) ? $this->_run_mod_handler('sprintf', true, $_tmp, ($this->_tpl_vars['action']['xml_parse']['count']), ($this->_tpl_vars['action']['search_result']['offset']+1), ($this->_tpl_vars['action']['next_offset'])) : sprintf($_tmp, ($this->_tpl_vars['action']['xml_parse']['count']), ($this->_tpl_vars['action']['search_result']['offset']+1), ($this->_tpl_vars['action']['next_offset'])));  echo '</span>';  endif;  echo '</h3>';  if (( ((is_array($_tmp=$this->_tpl_vars['action']['xml_parse']['count'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) > 0 )):  echo '';  if (( ((is_array($_tmp=$this->_tpl_vars['action']['xml_parse']['count']-$this->_tpl_vars['action']['xml_parse']['offset'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == 1 )):  echo '';  $this->assign('item', $this->_tpl_vars['action']['xml_parse']['channel']['item']);  echo '';  $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "search_view_main_result_content.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
  echo '';  else:  echo '';  $_from = ((is_array($_tmp=$this->_tpl_vars['action']['xml_parse']['channel']['item'])) ? $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['item'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['item']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['item']):
        $this->_foreach['item']['iteration']++;
 echo '';  $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "search_view_main_result_content.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
  echo '';  endforeach; endif; unset($_from);  echo '';  endif;  echo '';  if (( ((is_array($_tmp=$this->_tpl_vars['action']['search_result']['offset'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) != 0 || ((is_array($_tmp=$this->_tpl_vars['action']['next_offset'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) != ((is_array($_tmp=$this->_tpl_vars['action']['xml_parse']['count'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) )):  echo '<table class="widthmax" summary=""><tr><td class="search_result_prev';  if (( ((is_array($_tmp=$this->_tpl_vars['action']['search_result']['offset'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == 0 )):  echo ' disable_lbl';  endif;  echo '">';  if (( ((is_array($_tmp=$this->_tpl_vars['action']['search_result']['offset'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == 0 )):  echo '';  echo $this->_tpl_vars['lang']['search_prev'];  echo '';  else:  echo '<a href="#" title="';  echo $this->_tpl_vars['lang']['search_prev_title'];  echo '" class="syslink hover_highlight" onclick=\'searchCls["';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '"].getResult("';  echo ((is_array($_tmp=$this->_tpl_vars['action']['search_result']['module_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '","';  echo ((is_array($_tmp=$this->_tpl_vars['action']['search_result']['room_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '","';  echo ((is_array($_tmp=$this->_tpl_vars['action']['prev_offset'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '"';  if (( ((is_array($_tmp=$this->_tpl_vars['action']['prev_offset'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) != 0 )):  echo ',"';  echo ((is_array($_tmp=@SEARCH_DEF_NEXT_LIMIT)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '"';  endif;  echo '); return false;\'>';  echo $this->_tpl_vars['lang']['search_prev'];  echo '</a>';  endif;  echo '</td><td class="search_result_next';  if (( ((is_array($_tmp=$this->_tpl_vars['action']['next_offset'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == ((is_array($_tmp=$this->_tpl_vars['action']['xml_parse']['count'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) )):  echo ' disable_lbl';  endif;  echo '">';  if (( ((is_array($_tmp=$this->_tpl_vars['action']['next_offset'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == ((is_array($_tmp=$this->_tpl_vars['action']['xml_parse']['count'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) )):  echo '';  echo $this->_tpl_vars['lang']['search_next'];  echo '';  else:  echo '<a href="#" title="';  echo $this->_tpl_vars['lang']['search_next_title'];  echo '" class="syslink hover_highlight" onclick=\'searchCls["';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '"].getResult("';  echo ((is_array($_tmp=$this->_tpl_vars['action']['search_result']['module_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '","';  echo ((is_array($_tmp=$this->_tpl_vars['action']['search_result']['room_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '","';  echo ((is_array($_tmp=$this->_tpl_vars['action']['next_offset'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '","';  echo ((is_array($_tmp=@SEARCH_DEF_NEXT_LIMIT)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '"); return false;\'>';  echo $this->_tpl_vars['lang']['search_next'];  echo '</a>';  endif;  echo '</td></tr></table>';  endif;  echo '';  else:  echo '<div class="search_result_content">';  echo $this->_tpl_vars['lang']['search_mes_noexists_page'];  echo '</div>';  endif;  echo '<div class="hr"></div>';  $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "../search_script.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
  echo '<script class="nc_script" type="text/javascript">searchCls["';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '"].strlen = ';  echo ((is_array($_tmp=@SEARCH_STR_LENGTH)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo ';searchCls["';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '"].more_str = "';  echo ((is_array($_tmp=@_SEARCH_MORE)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '";searchCls["';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '"].descriptionMore("';  echo ((is_array($_tmp=$this->_tpl_vars['action']['module_obj']['module_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '","search_subject", "';  echo ((is_array($_tmp=$_SESSION['search_select'][$this->_tpl_vars['block_id']]['keyword'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '","';  echo ((is_array($_tmp=$_SESSION['search_select'][$this->_tpl_vars['block_id']]['select_kind'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '");searchCls["';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '"].descriptionMore("';  echo ((is_array($_tmp=$this->_tpl_vars['action']['module_obj']['module_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '","search_description", "';  echo ((is_array($_tmp=$_SESSION['search_select'][$this->_tpl_vars['block_id']]['keyword'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '","';  echo ((is_array($_tmp=$_SESSION['search_select'][$this->_tpl_vars['block_id']]['select_kind'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '");</script>'; ?>