<?php /* Smarty version 2.6.12, created on 2011-01-18 14:25:55
         compiled from bbs_view_main_flat.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'bbs_view_main_flat.html', 3, false),array('modifier', 'get_modules_image', 'bbs_view_main_flat.html', 8, false),array('modifier', 'timezone_date_format', 'bbs_view_main_flat.html', 19, false),array('modifier', 'sprintf', 'bbs_view_main_flat.html', 23, false),array('modifier', 'wysiwig_convert_url', 'bbs_view_main_flat.html', 31, false),)), $this); ?>
<?php echo '';  echo '';  $_from = ((is_array($_tmp=$this->_tpl_vars['action']['posts'])) ? $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['post']):
 echo '<div class="bbs_flat';  if (((is_array($_tmp=$this->_tpl_vars['post']['parent_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) != '0'):  echo ' bbs_flat_child';  endif;  echo '"><div id="bbs_post_row';  echo ((is_array($_tmp=$this->_tpl_vars['post']['post_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '" class="bbs_post_header';  if (((is_array($_tmp=$this->_tpl_vars['post']['parent_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == '0'):  echo ' bbs_topic';  endif;  echo '';  if (((is_array($_tmp=$this->_tpl_vars['post']['read_flag'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == _ON):  echo ' bbs_read';  endif;  echo '"><div class="float-left">';  if (((is_array($_tmp=$this->_tpl_vars['post']['parent_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == '0'):  echo '<img class="icon" src="';  echo ((is_array($_tmp="topic.gif")) ? $this->_run_mod_handler('get_modules_image', true, $_tmp) : get_modules_image($_tmp));  echo '" alt="" />';  else:  echo '<img class="icon" src="';  echo ((is_array($_tmp="res.gif")) ? $this->_run_mod_handler('get_modules_image', true, $_tmp) : get_modules_image($_tmp));  echo '" alt="" />';  endif;  echo '';  $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "bbs_view_main_subject.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
  echo '</div><div class="align-right"><span class="bbs_user">';  $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "bbs_view_handle.html", 'smarty_include_vars' => array('handle' => $this->_tpl_vars['post']['insert_user_name'],'user_id' => ((is_array($_tmp=$this->_tpl_vars['post']['insert_user_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')))));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
  echo '</span><span class="bbs_date">';  echo ((is_array($_tmp=$this->_tpl_vars['post']['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 '</span><span class="bbs_note">';  if (((is_array($_tmp=$this->_tpl_vars['action']['bbs']['vote_flag'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == _ON):  echo '';  echo ((is_array($_tmp=$this->_tpl_vars['lang']['bbs_vote_unit'])) ? $this->_run_mod_handler('sprintf', true, $_tmp, ((is_array($_tmp=$this->_tpl_vars['post']['vote_num'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))) : sprintf($_tmp, ((is_array($_tmp=$this->_tpl_vars['post']['vote_num'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))));  echo '';  endif;  echo '</span></div><br class="float-clear" /></div><div class="bbs_body">';  echo ((is_array($_tmp=$this->_tpl_vars['post']['body'])) ? $this->_run_mod_handler('wysiwig_convert_url', true, $_tmp) : wysiwig_convert_url($_tmp));  echo '</div></div>';  endforeach; endif; unset($_from);  echo ''; ?>