<?php /* Smarty version 2.6.12, created on 2011-01-18 14:25:54
         compiled from bbs_view_main_body.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'bbs_view_main_body.html', 4, false),array('modifier', 'get_themes_image', 'bbs_view_main_body.html', 12, false),array('modifier', 'timezone_date_format', 'bbs_view_main_body.html', 27, false),array('modifier', 'sprintf', 'bbs_view_main_body.html', 31, false),array('modifier', 'wysiwig_convert_url', 'bbs_view_main_body.html', 39, false),array('modifier', 'get_modules_image', 'bbs_view_main_body.html', 71, false),)), $this); ?>
<?php echo '';  echo '<div class="align-right">';  if (( ((is_array($_tmp=$this->_tpl_vars['action']['short_url'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) != "" )):  echo '<a class="syslink bbs_fixed_link" href="';  $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "../../../../templates/main/abbreviate_url.html", 'smarty_include_vars' => array('short_url' => ((is_array($_tmp=$this->_tpl_vars['action']['short_url'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')))));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
  echo '">';  else:  echo '<a class="syslink bbs_fixed_link" href=".';  echo ((is_array($_tmp=@INDEX_FILE_NAME)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '?action=';  echo ((is_array($_tmp=@DEFAULT_ACTION)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '&amp;active_action=bbs_view_main_post&amp;post_id=';  echo ((is_array($_tmp=$this->_tpl_vars['action']['post']['post_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '&amp;block_id=';  echo ((is_array($_tmp=$this->_tpl_vars['block_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '#';  echo ((is_array($_tmp=$_SESSION['_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '">';  endif;  echo '';  echo $this->_tpl_vars['lang']['bbs_fixed_link'];  echo '</a><a href="#" class="link" onclick="commonCls.print($(\'bbs_print';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '\'));return false;"><img class="icon" src="';  echo ((is_array($_tmp="print.gif")) ? $this->_run_mod_handler('get_themes_image', true, $_tmp) : get_themes_image($_tmp));  echo '" title="';  echo $this->_tpl_vars['lang']['_print_icon'];  echo '" alt="';  echo $this->_tpl_vars['lang']['_print_icon'];  echo '" /></a></div><div id="bbs_print';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '"><div class="bbs_post_header"><div class="float-left">';  $this->assign('post', ($this->_tpl_vars['action']['post']));  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['action']['post']['insert_user_name'],'user_id' => ((is_array($_tmp=$this->_tpl_vars['action']['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['action']['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['action']['post']['vote_num'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))) : sprintf($_tmp, ((is_array($_tmp=$this->_tpl_vars['action']['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 id="bbs_body';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '" class="bbs_body" ';  if (((is_array($_tmp=$this->_tpl_vars['action']['post']['edit_authority'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))):  echo 'ondblclick="bbsCls[\'';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '\'].showEditPost()" onmouseover="commonCls.blockNotice(event, this);"';  endif;  echo '>';  echo ((is_array($_tmp=$this->_tpl_vars['action']['post']['body'])) ? $this->_run_mod_handler('wysiwig_convert_url', true, $_tmp) : wysiwig_convert_url($_tmp));  echo '</div><br class="float-clear" /></div>';  if (((is_array($_tmp=$this->_tpl_vars['action']['post']['activity'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == _ON):  echo '<div class="bbs_post_footer"><div class="float-left">';  if (((is_array($_tmp=$this->_tpl_vars['action']['post']['edit_authority'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))):  echo '<a class="syslink" href="#" onclick="bbsCls[\'';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '\'].showEditPost();return false;">';  echo $this->_tpl_vars['lang']['bbs_edit_post'];  echo '</a>';  echo $this->_tpl_vars['lang']['_separator'];  echo '<a class="syslink" href="#" onclick="bbsCls[\'';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '\'].deletePost(\'';  echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['lang']['bbs_post_delete_confirm'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'javascript') : smarty_modifier_escape($_tmp, 'javascript')))) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '\');return false;">';  echo $this->_tpl_vars['lang']['bbs_delete_post'];  echo '</a>';  endif;  echo '</div><div class="align-right">';  if (((is_array($_tmp=$this->_tpl_vars['action']['post']['vote_authority'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))):  echo '<a class="syslink bbs_vote" href="#" title="';  echo $this->_tpl_vars['lang']['bbs_vote_title'];  echo '" onclick="bbsCls[\'';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '\'].vote();return false;">';  echo $this->_tpl_vars['lang']['bbs_vote'];  echo '</a>';  endif;  echo '';  if (((is_array($_tmp=$this->_tpl_vars['action']['post']['reply_authority'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))):  echo '<span class="bbs_quote"><label for="bbs_quote';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '"><input id="bbs_quote';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '" class="valign-middle" type="checkbox" checked="checked" />';  echo $this->_tpl_vars['lang']['bbs_quote'];  echo '</label></span><a class="syslink bbs_reply" href="#" title="';  echo $this->_tpl_vars['lang']['bbs_reply_title'];  echo '" onclick="bbsCls[\'';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '\'].showPostArea();return false;"><img class="icon" src="';  echo ((is_array($_tmp="reply.gif")) ? $this->_run_mod_handler('get_modules_image', true, $_tmp) : get_modules_image($_tmp));  echo '" alt="" />';  echo $this->_tpl_vars['lang']['bbs_reply'];  echo '</a><input id="bbs_user_wrote';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '" type="hidden" value="';  echo ((is_array($_tmp=$this->_tpl_vars['lang']['bbs_user_wrote'])) ? $this->_run_mod_handler('sprintf', true, $_tmp, ((is_array($_tmp=$this->_tpl_vars['action']['post']['insert_user_name'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))) : sprintf($_tmp, ((is_array($_tmp=$this->_tpl_vars['action']['post']['insert_user_name'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))));  echo '" />';  endif;  echo '</div><br class="float-clear" /></div>';  if (((is_array($_tmp=$this->_tpl_vars['action']['post']['reply_authority'])) ? $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' => "bbs_view_main_form.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
  echo '';  endif;  echo '';  endif;  echo '<script class="nc_script" type="text/javascript">bbsCls["';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '"].bbs_id = "';  echo ((is_array($_tmp=$this->_tpl_vars['action']['post']['bbs_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '";bbsCls["';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '"].post_id = "';  echo ((is_array($_tmp=$this->_tpl_vars['action']['post']['post_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '";</script>'; ?>