<?php /* Smarty version 2.6.12, created on 2011-01-18 14:26:12
         compiled from pm_view_main_message_detail.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'pm_view_main_message_detail.html', 4, false),array('modifier', 'get_image_url', 'pm_view_main_message_detail.html', 14, false),array('modifier', 'get_themes_image', 'pm_view_main_message_detail.html', 40, false),array('modifier', 'get_modules_image', 'pm_view_main_message_detail.html', 68, false),array('modifier', 'wysiwig_convert_url', 'pm_view_main_message_detail.html', 110, false),)), $this); ?>
<?php echo '';  echo '<div class="pm_popup_body clearfix"><form id="pm_form';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '_';  echo ((is_array($_tmp=$this->_tpl_vars['action']['message']['receiver_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '" onsubmit="return false;" action="#"><input type="hidden" name="action" value="pm_action_main_message_operation" /><input type="hidden" name="search_flag" value="';  echo ((is_array($_tmp=$this->_tpl_vars['action']['search_flag'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '" /><input type="hidden" name="mailbox" value="';  echo ((is_array($_tmp=$this->_tpl_vars['action']['current_menu'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '" /><input type="hidden" id="receiver_id" name="receiver_id" value="';  echo ((is_array($_tmp=$this->_tpl_vars['action']['message']['receiver_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '" /><input type="hidden" name="page" value="';  echo ((is_array($_tmp=$this->_tpl_vars['action']['page'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '" /><input type="hidden" name="top_el_id" value="';  echo ((is_array($_tmp=$this->_tpl_vars['action']['top_el_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '" /><table class="pm_popup_base"><tr><td class="pm_popup_base_upperleft"><img src="';  echo ((is_array($_tmp="")) ? $this->_run_mod_handler('get_image_url', true, $_tmp) : get_image_url($_tmp));  echo '/images/common/blank.gif" alt="" title="" class="pm_base_upperleft" /></td><td class="pm_popup_base_upper"></td><td class="pm_popup_base_upperright"><img src="';  echo ((is_array($_tmp="")) ? $this->_run_mod_handler('get_image_url', true, $_tmp) : get_image_url($_tmp));  echo '/images/common/blank.gif" alt="" title="" class="pm_base_upperright" /></td></tr><tr><td class="pm_popup_base_left"></td><td class="pm_popup_base_content"><table class="widthmax"><tr><td class="pm_popup_hmenu_top_td"><ul class="pm_hmenu_ul pm_popup_detail_create_btn"><li class="pm_list_menu_li pm_popup_detail_del_btn">';  $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "pm_view_list_toolbar_delete.html", 'smarty_include_vars' => array('location' => 'detail','page' => ((is_array($_tmp=$this->_tpl_vars['action']['page'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')),'parent_id_name' => ((is_array($_tmp=$this->_tpl_vars['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 '</li><li class="pm_list_menu_li pm_list_operation">';  $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "pm_view_list_toolbar_operation.html", 'smarty_include_vars' => array('location' => 'detail','page' => ((is_array($_tmp=$this->_tpl_vars['action']['page'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')),'parent_id_name' => ((is_array($_tmp=$this->_tpl_vars['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 '</li><li class="pm_list_menu_li_right"><ul class="pm_hmenu_ul pm_list_create_btn"><li class="pm_list_menu_li"><a href="#" class="syslink pm_head" onclick="pmCls[\'';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '\'].showMessagePopup(\'';  echo ((is_array($_tmp=$this->_tpl_vars['action']['message']['receiver_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '\',\'';  echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['action']['message']['insert_user_name'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')))) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '\',event, \'';  echo ((is_array($_tmp=@PM_REPLY_MESSAGE)) ? $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 '\', \'';  echo ((is_array($_tmp=$this->_tpl_vars['action']['top_id_name'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '\');return false;"><div><img class="icon" src="';  echo ((is_array($_tmp="edit.gif")) ? $this->_run_mod_handler('get_themes_image', true, $_tmp) : get_themes_image($_tmp));  echo '" />&nbsp;';  echo $this->_tpl_vars['lang']['pm_reply_message'];  echo '</div></a></li></ul></li></ul></td></tr><tr><td class="pm_content">';  echo '<table class="widthmax pm_det"><tr><th class="pm_det_th pm_title_green bold">';  if (( ((is_array($_tmp=$this->_tpl_vars['action']['message']['mailbox'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == ((is_array($_tmp=@PM_LEFTMENU_OUTBOX)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) ) || ( ((is_array($_tmp=$this->_tpl_vars['action']['message']['mailbox'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == ((is_array($_tmp=@PM_LEFTMENU_STOREBOX)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) )):  echo '';  echo $this->_tpl_vars['lang']['pm_receiver'];  echo '';  else:  echo '';  echo $this->_tpl_vars['lang']['pm_sender'];  echo '';  endif;  echo '</th><td class="pm_det_td pm_det_sender">';  if (((is_array($_tmp=$this->_tpl_vars['action']['message']['importance_flag'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == ((is_array($_tmp=@PM_IMPORTANCE_FLAG)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))):  echo '<img class="pm_det_sender_img" src="';  echo ((is_array($_tmp="flag.gif")) ? $this->_run_mod_handler('get_modules_image', true, $_tmp) : get_modules_image($_tmp));  echo '" alt="" />';  endif;  echo '';  if (( ( ((is_array($_tmp=$this->_tpl_vars['action']['message']['mailbox'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == ((is_array($_tmp=@PM_LEFTMENU_OUTBOX)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) ) || ( ((is_array($_tmp=$this->_tpl_vars['action']['message']['mailbox'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == ((is_array($_tmp=@PM_LEFTMENU_STOREBOX)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) ) ) && ((is_array($_tmp=$this->_tpl_vars['action']['message']['send_all_flag'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))):  echo '';  echo $this->_tpl_vars['lang']['pm_all_members'];  echo '';  else:  echo '';  $_from = ((is_array($_tmp=$this->_tpl_vars['action']['message']['handles'])) ? $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['user_id'] => $this->_tpl_vars['user_data']):
 echo '';  $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "pm_view_handle.html", 'smarty_include_vars' => array('handle' => $this->_tpl_vars['user_data']['handle'],'user_id' => ((is_array($_tmp=$this->_tpl_vars['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 '';  if (! ((is_array($_tmp=$this->_tpl_vars['user_data']['end'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))):  echo ', ';  endif;  echo '';  endforeach; endif; unset($_from);  echo '';  endif;  echo '</td><td rowspan="4" class="pm_det_td pm_det_avatar" id="pm_form';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '_avatar"></td></tr><tr><th class="pm_det_th pm_title_green bold">';  echo $this->_tpl_vars['lang']['pm_subject'];  echo '</th><td class="pm_det_td pm_det_subject">';  if (((is_array($_tmp=$this->_tpl_vars['action']['message']['hasTag'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))):  echo '<img class="pm_det_subject_img" src="';  echo ((is_array($_tmp="tag.gif")) ? $this->_run_mod_handler('get_modules_image', true, $_tmp) : get_modules_image($_tmp));  echo '" alt="" />';  endif;  echo '';  if (((is_array($_tmp=$this->_tpl_vars['action']['message']['image_count'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) > 0):  echo '<img class="pm_det_subject_img" src="';  echo ((is_array($_tmp="image.gif")) ? $this->_run_mod_handler('get_modules_image', true, $_tmp) : get_modules_image($_tmp));  echo '" alt="" />';  endif;  echo '';  if (((is_array($_tmp=$this->_tpl_vars['action']['message']['file_count'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) > 0):  echo '<img class="pm_det_subject_img" src="';  echo ((is_array($_tmp="upload.gif")) ? $this->_run_mod_handler('get_modules_image', true, $_tmp) : get_modules_image($_tmp));  echo '" alt="" />';  endif;  echo '';  if (((is_array($_tmp=$this->_tpl_vars['action']['message']['subject'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))):  echo '';  echo ((is_array($_tmp=$this->_tpl_vars['action']['message']['subject'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '';  else:  echo '';  echo $this->_tpl_vars['lang']['pm_list_no_subject'];  echo '';  endif;  echo '</td></tr><tr><th class="pm_det_th pm_title_green bold">';  echo $this->_tpl_vars['lang']['pm_date'];  echo '</th><td class="pm_det_td pm_det_data">';  echo ((is_array($_tmp=$this->_tpl_vars['action']['message']['sent_time'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '</td></tr><tr><th class="pm_det_th pm_title_green bold">';  echo $this->_tpl_vars['lang']['pm_tag'];  echo '</th><td class="pm_det_td pm_det_tag">';  echo ((is_array($_tmp=$this->_tpl_vars['action']['message']['tags'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '</td></tr><tr><td colspan="3" class="pm_det_td pm_det_msg">';  echo ((is_array($_tmp=$this->_tpl_vars['action']['message']['body'])) ? $this->_run_mod_handler('wysiwig_convert_url', true, $_tmp) : wysiwig_convert_url($_tmp));  echo '</td></tr></table></td></tr><tr><td class="pm_popup_hmenu_bottom_td"><ul class="pm_hmenu_ul pm_popup_detail_create_btn"><li class="pm_list_menu_li pm_popup_detail_del_btn">';  $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "pm_view_list_toolbar_delete.html", 'smarty_include_vars' => array('location' => 'detail','page' => ((is_array($_tmp=$this->_tpl_vars['action']['page'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')),'parent_id_name' => ((is_array($_tmp=$this->_tpl_vars['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 '</li><li class="pm_list_menu_li pm_list_operation">';  $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "pm_view_list_toolbar_operation.html", 'smarty_include_vars' => array('location' => 'detail','page' => ((is_array($_tmp=$this->_tpl_vars['action']['page'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')),'parent_id_name' => ((is_array($_tmp=$this->_tpl_vars['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 '</li></ul></td></tr>';  if (((is_array($_tmp=$this->_tpl_vars['action']['active_action_name'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == 'pm_view_main_message_detail'):  echo '<tr><td class="pm_popup_hmenu_bottom_td align-center"><input class="btn-width lined_btn" type="button" value="';  echo $this->_tpl_vars['lang']['_back_to_list'];  echo '" onclick="pmCls[\'';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '\'].closeDetailsPopup(\'';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '\', \'';  echo ((is_array($_tmp=$this->_tpl_vars['action']['message']['receiver_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '\', \'';  echo ((is_array($_tmp=$this->_tpl_vars['action']['page_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '\');return false;" /></td></tr>';  endif;  echo '</table></td><td class="pm_popup_base_right"></td></tr><tr><td class="pm_popup_base_belowleft"></td><td class="pm_popup_base_below"></td><td class="pm_popup_base_belowright"></td></tr></table></form></div>';  $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "../pm_script.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
  echo '<script class="nc_script" type="text/javascript">';  if (( ( ((is_array($_tmp=$this->_tpl_vars['action']['message']['mailbox'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == ((is_array($_tmp=@PM_LEFTMENU_OUTBOX)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) ) || ( ((is_array($_tmp=$this->_tpl_vars['action']['message']['mailbox'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == ((is_array($_tmp=@PM_LEFTMENU_STOREBOX)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) ) ) && ((is_array($_tmp=$this->_tpl_vars['action']['message']['send_all_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 'pmCls["';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '"].updAvatarBox(true);';  else:  echo 'pmCls["';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '"].loadingAvater(\'pm_form';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '_avatar\', \'';  echo ((is_array($_tmp=$this->_tpl_vars['action']['message']['first_user_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '\');';  endif;  echo '</script>'; ?>