<?php /* Smarty version 2.6.12, created on 2011-01-18 14:26:12
         compiled from multidatabase_view_main_search_result.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'multidatabase_view_main_search_result.html', 4, false),array('modifier', 'sprintf', 'multidatabase_view_main_search_result.html', 53, false),array('modifier', 'timezone_date_format', 'multidatabase_view_main_search_result.html', 81, false),)), $this); ?>
<?php echo '<h2>';  echo $this->_tpl_vars['lang']['mdb_search_result_title'];  echo '</h2><div class="outerdiv">';  if (((is_array($_tmp=$this->_tpl_vars['action']['keyword'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) != ""):  echo '<span class="mdb_separator">';  echo $this->_tpl_vars['lang']['mdb_search_keyword'];  echo ':';  echo ((is_array($_tmp=$this->_tpl_vars['action']['keyword'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '</span>';  endif;  echo '';  if (((is_array($_tmp=$this->_tpl_vars['action']['handle'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) != ""):  echo '<span class="mdb_separator">';  echo $this->_tpl_vars['lang']['mdb_search_handle'];  echo ':';  echo ((is_array($_tmp=$this->_tpl_vars['action']['handle'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '</span>';  endif;  echo '';  if (( ((is_array($_tmp=$this->_tpl_vars['action']['date_from'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) != "" || ((is_array($_tmp=$this->_tpl_vars['action']['date_to'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) != "" )):  echo '<span class="mdb_separator">';  echo $this->_tpl_vars['lang']['mdb_search_date'];  echo ':';  echo ((is_array($_tmp=$this->_tpl_vars['action']['date_from'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '';  echo $this->_tpl_vars['lang']['mdb_search_target_date_separator'];  echo '';  echo ((is_array($_tmp=$this->_tpl_vars['action']['date_to'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '</span>';  endif;  echo '';  if (((is_array($_tmp=$this->_tpl_vars['action']['status'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) != ""):  echo '<span class="mdb_separator">';  echo $this->_tpl_vars['lang']['mdb_search_status'];  echo ':';  if (((is_array($_tmp=$this->_tpl_vars['action']['status'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == ((is_array($_tmp=@MULTIDATABASE_STATUS_ALL)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))):  echo '';  echo $this->_tpl_vars['lang']['mdb_display_item_all'];  echo '';  elseif (((is_array($_tmp=$this->_tpl_vars['action']['status'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == ((is_array($_tmp=@MULTIDATABASE_STATUS_AGREE_VALUE)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))):  echo '';  echo $this->_tpl_vars['lang']['mdb_search_open'];  echo '';  elseif (((is_array($_tmp=$this->_tpl_vars['action']['status'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == ((is_array($_tmp=@MULTIDATABASE_STATUS_WAIT_AGREE_VALUE)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))):  echo '';  echo $this->_tpl_vars['lang']['mdb_search_not_ready'];  echo '';  endif;  echo '</span>';  endif;  echo '';  if (((is_array($_tmp=$this->_tpl_vars['action']['section_metadatas'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))):  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 '<span class="mdb_separator">';  echo ((is_array($_tmp=$this->_tpl_vars['item']['name'])) ? $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['action']['sort_section'][$this->_tpl_vars['key']])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == '0'):  echo '';  echo $this->_tpl_vars['lang']['mdb_display_item_all'];  echo '';  else:  echo '';  $_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 '';  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 ' ';  echo ((is_array($_tmp=$this->_tpl_vars['option'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo ' ';  endif;  echo '';  endforeach; endif; unset($_from);  echo '';  endif;  echo '</span>';  endforeach; endif; unset($_from);  echo '';  endif;  echo '';  echo $this->_tpl_vars['lang']['mdb_search_result'];  echo '</div><div class="hr"></div><div id="mdb_search_result';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '" class="mdb_search_result_contents"><h3><a href="#" title="';  echo ((is_array($_tmp=$this->_tpl_vars['lang']['mdb_back_list'])) ? $this->_run_mod_handler('sprintf', true, $_tmp, ((is_array($_tmp=$this->_tpl_vars['action']['mdb_obj']['multidatabase_name'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))) : sprintf($_tmp, ((is_array($_tmp=$this->_tpl_vars['action']['mdb_obj']['multidatabase_name'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))));  echo '" class="syslink" onclick="commonCls.sendView(\'';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '\', {action:\'multidatabase_view_main_init\', multidatabase_id:';  echo ((is_array($_tmp=$this->_tpl_vars['action']['mdb_obj']['multidatabase_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '}); return false;">';  echo ((is_array($_tmp=$this->_tpl_vars['action']['mdb_obj']['multidatabase_name'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '</a>';  if (((is_array($_tmp=$this->_tpl_vars['action']['result_count'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) > 0):  echo '<span class="mdb_search_page_count">';  echo ((is_array($_tmp=$this->_tpl_vars['lang']['mdb_search_page_count'])) ? $this->_run_mod_handler('sprintf', true, $_tmp, ($this->_tpl_vars['action']['result_count']), ($this->_tpl_vars['action']['disp_begin']+1), ($this->_tpl_vars['action']['disp_end'])) : sprintf($_tmp, ($this->_tpl_vars['action']['result_count']), ($this->_tpl_vars['action']['disp_begin']+1), ($this->_tpl_vars['action']['disp_end'])));  echo '</span>';  endif;  echo '</h3>';  if (((is_array($_tmp=$this->_tpl_vars['action']['result_count'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) > 0):  echo '';  $_from = ((is_array($_tmp=$this->_tpl_vars['action']['result_contents'])) ? $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 '<div class="mdb_search_result_content">';  $_from = ((is_array($_tmp=$this->_tpl_vars['item'])) ? $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['key1'] => $this->_tpl_vars['item1']):
 echo '';  if (((is_array($_tmp=$this->_tpl_vars['key1'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == ((is_array($_tmp=$this->_tpl_vars['action']['mdb_obj']['title_metadata_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))):  echo '<a href="#" class="syslink" onclick="commonCls.sendView(\'';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '\', {action:\'multidatabase_view_main_detail\', content_id:';  echo ((is_array($_tmp=$this->_tpl_vars['item']['content_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo ', multidatabase_id:';  echo ((is_array($_tmp=$this->_tpl_vars['action']['multidatabase_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '}); return false;">';  echo $this->_tpl_vars['item1'];  echo '</a>';  endif;  echo '';  endforeach; endif; unset($_from);  echo '';  echo $this->_tpl_vars['lang']['mdb_search_time_prefix'];  echo '<span class="mdb_search_user_name"><a class="syslink" href="#" title="';  if (((is_array($_tmp=$_SESSION['_login_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == ''):  echo '';  echo ((is_array($_tmp=$this->_tpl_vars['lang']['mdb_detail_writer_title'])) ? $this->_run_mod_handler('sprintf', true, $_tmp, ((is_array($_tmp=$this->_tpl_vars['item']['insert_user_name'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))) : sprintf($_tmp, ((is_array($_tmp=$this->_tpl_vars['item']['insert_user_name'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))));  echo '';  else:  echo '';  echo ((is_array($_tmp=$this->_tpl_vars['lang']['_user_title'])) ? $this->_run_mod_handler('sprintf', true, $_tmp, ((is_array($_tmp=$this->_tpl_vars['item']['insert_user_name'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))) : sprintf($_tmp, ((is_array($_tmp=$this->_tpl_vars['item']['insert_user_name'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))));  echo '';  endif;  echo '" onclick="commonCls.showUserDetail(event, \'';  echo ((is_array($_tmp=$this->_tpl_vars['item']['insert_user_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '\'); return false;">';  echo ((is_array($_tmp=$this->_tpl_vars['item']['insert_user_name'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '</a></span>';  echo $this->_tpl_vars['lang']['mdb_search_time_prefix'];  echo '<span class="mdb_search_time"><a href="#" class="syslink" onclick="commonCls.sendView(\'';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '\', {action:\'multidatabase_view_main_detail\', content_id:';  echo ((is_array($_tmp=$this->_tpl_vars['item']['content_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo ', multidatabase_id:';  echo ((is_array($_tmp=$this->_tpl_vars['action']['multidatabase_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '}); return false;">';  echo ((is_array($_tmp=$this->_tpl_vars['item']['insert_time'])) ? $this->_run_mod_handler('timezone_date_format', true, $_tmp, ((is_array($_tmp=$this->_tpl_vars['lang']['_full_date_format'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))) : timezone_date_format($_tmp, ((is_array($_tmp=$this->_tpl_vars['lang']['_full_date_format'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))));  echo '</a></span></div>';  endforeach; endif; unset($_from);  echo '';  else:  echo '';  echo $this->_tpl_vars['lang']['mdb_search_result_no_match'];  echo '';  endif;  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 '<div class="align-right">';  $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "multidatabase_view_main_search_page.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
  echo '</div>';  endif;  echo '</div><div class="hr"></div><div id="mdb_search_condition';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '">';  $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "multidatabase_view_main_search_condition.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
  echo '</div>';  $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "../multidatabase_script.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
  echo '<script class="nc_script" type="text/javascript">mdbCls["';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '"].initCalendar();</script>'; ?>