예제 #1
0
 /**
  * Returns the editor for viewing ...
  * @param unknown_type $member
  */
 public function getEditorHtml(array $member)
 {
     /* Fetch member data */
     $member = IPSMember::buildDisplayData(IPSMember::load($member['member_id'], 'all'));
     $p_w = "";
     $p_h = "";
     $cur_photo = "";
     $rand = urlencode(microtime());
     $data = array('currentPhoto' => array('tag' => ''), 'custom' => array('tag' => ''), 'gravatar' => array('tag' => ''), 'twitter' => array('tag' => ''));
     /* Photo type */
     $data['type'] = $member['pp_photo_type'] = $this->getPhotoType($member);
     /* Got gravatar? */
     $member['pp_gravatar'] = $member['pp_gravatar'] ? $member['pp_gravatar'] : $member['email'];
     /* Quick permission check */
     if (!IPSMember::canUploadPhoto($member, TRUE)) {
         return false;
     }
     /* Set the current photo */
     $data['currentPhoto']['tag'] = IPSMember::buildProfilePhoto($member, 'full', IPS_MEMBER_PHOTO_NO_CACHE);
     /* Set up custom */
     $data['custom']['tag'] = $member['pp_photo_type'] != 'custom' ? IPSMember::buildNoPhoto($member, 'thumb', false, true) : "<img src='" . $member['pp_thumb_photo'] . '?__rand=' . $rand . "' width='" . $member['pp_thumb_width'] . "' height='" . $member['pp_thumb_height'] . "' />";
     /* Set up Gravatar */
     $data['gravatar']['tag'] = "<img src='http://www.gravatar.com/avatar/" . md5($member['pp_gravatar']) . "?s=100' alt='' />";
     /* Twitter linked? */
     if (IPSLib::twitter_enabled() && $member['twitter_token'] && $member['twitter_secret']) {
         $classToLoad = IPSLib::loadLibrary(IPS_ROOT_PATH . 'sources/classes/twitter/connect.php', 'twitter_connect');
         $twitter = new $classToLoad($this->registry, $member['twitter_token'], $member['twitter_secret']);
         $userData = $twitter->fetchUserData();
         if ($userData['profile_image_url']) {
             $data['twitter']['tag'] = "<img src='" . str_replace('_normal.', '.', $userData['profile_image_url']) . "' />";
         }
     }
     /* Facebook linked? */
     if (IPSLib::fbc_enabled() && $member['fb_uid']) {
         $classToLoad = IPSLib::loadLibrary(IPS_ROOT_PATH . 'sources/classes/facebook/connect.php', 'facebook_connect');
         $facebook = new $classToLoad($this->registry);
         /* Now get the linked user */
         $linkedMemberData = IPSMember::load(intval($member['fb_uid']), 'all', 'fb_uid');
         $userData = $facebook->fetchUserData();
         if ($userData['pic_big']) {
             $data['facebook']['tag'] = "<img src='" . $userData['pic_big'] . "' />";
         } else {
             if ($userData['pic']) {
                 $data['facebook']['tag'] = "<img src='" . $userData['pic'] . "' />";
             }
         }
     }
     $this->uploadFormMax = 5000 * 1024;
     return $this->registry->getClass('output')->getTemplate('profile')->photoEditor($data, $member);
 }
예제 #2
0
 function userSmallPhoto($member = array())
 {
     $IPBHTML = "";
     if (IPSLib::locationHasHooks('skin_global', $this->_funcHooks['userSmallPhoto'])) {
         $count_82ad645103bd9793e710479e9fd6131b = is_array($this->functionData['userSmallPhoto']) ? count($this->functionData['userSmallPhoto']) : 0;
         $this->functionData['userSmallPhoto'][$count_82ad645103bd9793e710479e9fd6131b]['member'] = $member;
     }
     $IPBHTML .= "" . ($member['member_id'] && ($this->memberData['g_is_supmod'] || $this->memberData['g_mem_info'] && !IPSMember::isInactive($member)) ? "\n\t<a href='" . $this->registry->getClass('output')->formatUrl($this->registry->getClass('output')->buildUrl("showuser={$member['member_id']}", "public", ''), "{$member['members_seo_name']}", "showuser") . "' class='ipsUserPhotoLink left'>\n" : "\n\t<div class='left'>\n") . "\n" . ($member['member_id'] ? "<img src='{$member['pp_small_photo']}' alt='" . ($member['alt'] ? "{$member['alt']}" : "{$this->lang->words['photo']}") . "' class='ipsUserPhoto " . (empty($member['_customClass']) ? "ipsUserPhoto_mini" : "{$member['_customClass']}") . "' />" : "\n\t" . IPSMember::buildNoPhoto(0, 'mini') . "\n") . "\n" . ($member['member_id'] && ($this->memberData['g_is_supmod'] || $this->memberData['g_mem_info'] && !IPSMember::isInactive($member)) ? "\n\t</a>\n" : "\n\t</div>\n") . "";
     return $IPBHTML;
 }
예제 #3
0
 /**
  * Post output class setup
  * 
  * @return	@e void
  */
 public static function postOutput()
 {
     if (!self::$data_store['member_id']) {
         self::$data_store = IPSMember::buildNoPhoto(self::$data_store);
     }
 }
예제 #4
0
 function __f__429bfb10574c73d38d4f1b0d0333b61a($notifications, $error = '', $pages = '')
 {
     $_ips___x_retval = '';
     $__iteratorCount = 0;
     foreach ($notifications as $notification) {
         $__iteratorCount++;
         $_ips___x_retval .= "\n\t\t\t\t<tr class='" . IPSLib::next($this->registry->templateStriping["notify"]) . " " . (!$notification['notify_read'] ? "unread" : "") . "'>\n\t\t\t\t\t<td class=\"col_n_icon altrow short\">" . ($notification['notify_read'] ? "" . $this->registry->getClass('output')->getReplacement("t_read_dot") . "" : "" . $this->registry->getClass('output')->getReplacement("t_unread_dot") . "") . "</td>\n\t\t\t\t\t<td class='col_n_photo short'>\n\t\t\t\t\t\t" . ($notification['member']['member_id'] ? "\n\t\t\t\t\t\t\t<a href='" . $this->registry->getClass('output')->formatUrl($this->registry->getClass('output')->buildUrl("showuser={$notification['member']['member_id']}", "public", ''), "{$notification['member']['members_seo_name']}", "showuser") . "' class='ipsUserPhotoLink'>\n\t\t\t\t\t\t\t\t<img src='{$notification['member']['pp_thumb_photo']}' class='ipsUserPhoto ipsUserPhoto_mini' />\n\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t" : "\n\t\t\t\t\t\t\t" . IPSMember::buildNoPhoto(0, 'mini') . "\n\t\t\t\t\t\t") . "\n\t\t\t\t\t</td>\n\t\t\t\t\t<td>\n\t\t\t\t\t\t<h4>" . (strpos($notification['notify_title'], '<a href') === false ? "<a href='" . $this->registry->getClass('output')->formatUrl($this->registry->getClass('output')->buildUrl("app=core&amp;module=usercp&amp;tab=core&amp;area=viewNotification&amp;do=view&amp;view={$notification['notify_id']}", "public", ''), "", "") . "'>" : "") . "\n\t\t\t\t\t\t{$notification['notify_title']}\n\t\t\t\t\t\t" . (strpos($notification['notify_title'], '<a href') === false ? "</a>" : "") . "\n\t\t\t\t\t\t</h4>\n\t\t\t\t\t</td>\n\t\t\t\t\t<td class=\"col_n_date desc\"><a href='" . $this->registry->getClass('output')->formatUrl($this->registry->getClass('output')->buildUrl("app=core&amp;module=usercp&amp;tab=core&amp;area=viewNotification&amp;do=view&amp;view={$notification['notify_id']}", "public", ''), "", "") . "' title='{$this->lang->words['view_notification_logentry']}'>{$this->lang->words['th_sent']} " . IPSText::htmlspecialchars($this->registry->getClass('class_localization')->getDate($notification['notify_sent'], "long", 0)) . "</a></td>\n\t\t\t\t\t<td class=\"short col_n_mod\"><input class='input_check checkall' type=\"checkbox\" name=\"notifications[]\" value=\"{$notification['notify_id']}\" /></td>\n\t\t\t\t</tr>\n\t\t\t\n";
     }
     $_ips___x_retval .= '';
     unset($__iteratorCount);
     return $_ips___x_retval;
 }
예제 #5
0
 function topicViewTemplate($forum, $topic, $post_data, $displayData)
 {
     $IPBHTML = "";
     if (IPSLib::locationHasHooks('skin_topic', $this->_funcHooks['topicViewTemplate'])) {
         $count_c2d0483c01f253f726099ed929330517 = is_array($this->functionData['topicViewTemplate']) ? count($this->functionData['topicViewTemplate']) : 0;
         $this->functionData['topicViewTemplate'][$count_c2d0483c01f253f726099ed929330517]['forum'] = $forum;
         $this->functionData['topicViewTemplate'][$count_c2d0483c01f253f726099ed929330517]['topic'] = $topic;
         $this->functionData['topicViewTemplate'][$count_c2d0483c01f253f726099ed929330517]['post_data'] = $post_data;
         $this->functionData['topicViewTemplate'][$count_c2d0483c01f253f726099ed929330517]['displayData'] = $displayData;
     }
     $pluginEditorHook = IPSLib::loadLibrary(IPS_ROOT_PATH . 'sources/classes/editor/composite.php', 'classes_editor_composite');
     $editor = new $pluginEditorHook();
     $IPBHTML .= "" . ($forum['forum_allow_rating'] ? "\r\n" . $this->registry->getClass('output')->addJSModule("rating", "0") . "\r\n" : "") . "\r\n" . $this->registry->getClass('output')->addJSModule("topic", "0") . "\r\n<script type=\"text/javascript\">\r\n//<![CDATA[\r\n\tipb.topic.inSection    = 'topicview';\r\n\tipb.topic.topic_id     = {$topic['tid']};\r\n\tipb.topic.forum_id     = {$forum['id']};\r\n\tipb.topic.redirectPost = 1;\r\n\tipb.topic.start_id     = " . $this->registry->getClass('topics')->pageToSt(intval($this->request['page'])) . ";\r\n\tipb.topic.page_id      = " . intval($this->request['page']) . ";\r\n\tipb.topic.topPid       = 0;\r\n\tipb.topic.counts       = { postTotal: " . intval($topic['posts'] + 1) . ",\r\n\t\t\t\t\t\t\t  curStart:  ipb.topic.start_id,\r\n\t\t\t\t\t\t\t  perPage:   " . intval($this->settings['display_max_posts']) . " };\r\n\t//Search Setup\r\n\tipb.vars['search_type']\t\t\t= 'forum';\r\n\tipb.vars['search_type_id']\t\t= {$forum['id']};\r\n\tipb.vars['search_type_2']\t\t= 'topic';\r\n\tipb.vars['search_type_id_2']\t= {$topic['tid']};\r\n\t\r\n\t" . (!$this->member->is_not_human ? "\r\n\t// Delete stuff set up\r\n\tipb.topic.deleteUrls['hardDelete'] = new Template( ipb.vars['base_url'] + \"app=forums&module=moderate&section=moderate&do=04&f={$forum['id']}&t={$topic['tid']}&page={$this->request['page']}&auth_key={$this->member->form_hash}&p=#{pid}\" );\r\n\tipb.topic.deleteUrls['softDelete'] = new Template( ipb.vars['base_url'] + \"app=forums&module=moderate&section=moderate&do=postchoice&tact=sdelete&t={$topic['tid']}&f={$forum['id']}&auth_key={$this->member->form_hash}&selectedpids[#{pid}]=#{pid}&pid=#{pid}\" );\r\n\t" : "") . "\r\n\t\r\n\tipb.topic.modPerms\t  = [];\r\n\t" . ($this->memberData['g_is_supmod'] ? "\r\n\t\tipb.topic.modPerms['approve'] = 1;\r\n\t\tipb.topic.modPerms['delete'] = 1;\r\n\t\tipb.topic.modPerms['hide'] = 1;\r\n\t\tipb.topic.modPerms['unhide'] = 1;\r\n\t\tipb.topic.modPerms['merge'] = 1;\r\n\t\tipb.topic.modPerms['split'] = 1;\r\n\t\tipb.topic.modPerms['move'] = 1;\r\n\t" : "" . (isset($this->memberData['forumsModeratorData'][$forum['id']]) ? "\r\n\t\t\tipb.topic.modPerms['approve'] = {$this->memberData['forumsModeratorData'][$forum['id']]['post_q']};\r\n\t\t\tipb.topic.modPerms['delete'] = {$this->memberData['forumsModeratorData'][$forum['id']]['delete_post']};\r\n\t\t\tipb.topic.modPerms['hide'] = {$this->memberData['forumsModeratorData'][$forum['id']]['bw_mod_soft_delete']};\r\n\t\t\tipb.topic.modPerms['unhide'] = {$this->memberData['forumsModeratorData'][$forum['id']]['bw_mod_un_soft_delete']};\r\n\t\t\tipb.topic.modPerms['merge'] = {$this->memberData['forumsModeratorData'][$forum['id']]['split_merge']};\r\n\t\t\tipb.topic.modPerms['split'] = {$this->memberData['forumsModeratorData'][$forum['id']]['split_merge']};\r\n\t\t\tipb.topic.modPerms['move'] = {$this->memberData['forumsModeratorData'][$forum['id']]['split_merge']};\r\n\t\t" : "") . "") . "\r\n\t\r\n\tipb.templates['post_moderation'] = new Template(\"<div id='comment_moderate_box' class='ipsFloatingAction' style='display: none'><span class='desc'>{$this->lang->words['comment_action_count']} </span><select id='tactInPopup' class='input_select'><option value='approve'>{$this->lang->words['cpt_approve']}</option><option value='delete'>{$this->lang->words['cpt_hide']}</option><option value='sundelete'>{$this->lang->words['cpt_undelete']}</option><option value='deletedo'>{$this->lang->words['cpt_delete']}</option><option value='merge'>{$this->lang->words['cpt_merge']}</option><option value='split'>{$this->lang->words['cpt_split']}</option><option value='move'>{$this->lang->words['cpt_move']}</option></select>&nbsp;&nbsp;<input type='button' class='input_submit' id='submitModAction' value='{$this->lang->words['comments_act_go']}' /></div>\");\r\n\t\r\n//]]>\r\n</script>\r\n" . (!$this->settings['disable_lightbox'] ? "\r\n" . (method_exists($this->registry->getClass('output')->getTemplate('global'), 'include_lightbox') ? $this->registry->getClass('output')->getTemplate('global')->include_lightbox() : '') . "\r\n" : "") . "\r\n<div class=\"aud_pagetitle\">\r\n" . ($this->memberData['member_id'] ? "\r\n{$displayData['follow_data']}\r\n" : "") . "\r\n" . (method_exists($this->registry->getClass('output')->getTemplate('global'), 'userSmallPhoto') ? $this->registry->getClass('output')->getTemplate('global')->userSmallPhoto(array_merge($topic['_starter'], array('_customClass' => 'ipsUserPhoto_medium'))) : '') . "\r\n<div itemscope itemtype=\"http://schema.org/Article\" class='ipsBox_withphoto'>\r\n\r\n\t<h1 itemprop=\"name\" class='ipsType_pagetitle'>{$topic['title']}</h1>\r\n\t<div class='desc lighter blend_links'>\r\n\t\t {$this->lang->words['started_by']} <span itemprop=\"creator\">" . (method_exists($this->registry->getClass('output')->getTemplate('global'), 'userHoverCard') ? $this->registry->getClass('output')->getTemplate('global')->userHoverCard($topic['_starter']) : '') . "</span>, <span itemprop=\"dateCreated\" datetime=\"" . IPSText::htmlspecialchars($this->registry->getClass('class_localization')->getDate($topic['start_date'], "YMD", 1)) . "\">" . IPSText::htmlspecialchars($this->registry->getClass('class_localization')->getDate($topic['start_date'], "SHORT", 0)) . "</span>\r\n\t</div>\r\n" . ($forum['forum_allow_rating'] ? "<span itemprop=\"aggregateRating\" itemscope itemtype=\"http://schema.org/AggregateRating\" class='rating ipsType_smaller'>\r\n\t\t\t" . ($topic['_allow_rate'] ? "\r\n\t\t\t\t<strong>{$this->lang->words['js_rate_me']}</strong>&nbsp;&nbsp;\r\n\t\t\t" : "") . "" . ($topic['_allow_rate'] ? "\r\n\t\t\t\t<a href='" . $this->registry->getClass('output')->formatUrl($this->registry->getClass('output')->buildUrl("app=forums&amp;module=extras&amp;section=rating&amp;t={$topic['tid']}&amp;rating=1&amp;secure_key={$this->member->form_hash}", "public", ''), "", "") . "' id='topic_rate_1' title='{$this->lang->words['top_js_1star']}'>\r\n\t\t\t" : "") . "\r\n\t\t\t" . ($topic['_rate_int'] >= 1 ? "\r\n\t\t\t\t" . $this->registry->getClass('output')->getReplacement("rate_on") . "\r\n\t\t\t" : "\r\n\t\t\t\t" . $this->registry->getClass('output')->getReplacement("rate_off") . "\r\n\t\t\t") . "\r\n\t\t\t" . ($topic['_allow_rate'] ? "\r\n\t\t\t\t</a><a href='" . $this->registry->getClass('output')->formatUrl($this->registry->getClass('output')->buildUrl("app=forums&amp;module=extras&amp;section=rating&amp;t={$topic['tid']}&amp;rating=2&amp;secure_key={$this->member->form_hash}", "public", ''), "", "") . "' id='topic_rate_2' title='{$this->lang->words['top_js_2star']}'>\r\n\t\t\t" : "") . "\r\n\t\t\t" . ($topic['_rate_int'] >= 2 ? "\r\n\t\t\t\t" . $this->registry->getClass('output')->getReplacement("rate_on") . "\r\n\t\t\t" : "\r\n\t\t\t\t" . $this->registry->getClass('output')->getReplacement("rate_off") . "\r\n\t\t\t") . "\r\n\t\t\t" . ($topic['_allow_rate'] ? "\r\n\t\t\t\t</a><a href='" . $this->registry->getClass('output')->formatUrl($this->registry->getClass('output')->buildUrl("app=forums&amp;module=extras&amp;section=rating&amp;t={$topic['tid']}&amp;rating=3&amp;secure_key={$this->member->form_hash}", "public", ''), "", "") . "' id='topic_rate_3' title='{$this->lang->words['top_js_3star']}'>\r\n\t\t\t" : "") . "\r\n\t\t\t" . ($topic['_rate_int'] >= 3 ? "\r\n\t\t\t\t" . $this->registry->getClass('output')->getReplacement("rate_on") . "\r\n\t\t\t" : "\r\n\t\t\t\t" . $this->registry->getClass('output')->getReplacement("rate_off") . "\r\n\t\t\t") . "\r\n\t\t\t" . ($topic['_allow_rate'] ? "\r\n\t\t\t\t</a><a href='" . $this->registry->getClass('output')->formatUrl($this->registry->getClass('output')->buildUrl("app=forums&amp;module=extras&amp;section=rating&amp;t={$topic['tid']}&amp;rating=4&amp;secure_key={$this->member->form_hash}", "public", ''), "", "") . "' id='topic_rate_4' title='{$this->lang->words['top_js_4star']}'>\r\n\t\t\t" : "") . "\r\n\t\t\t" . ($topic['_rate_int'] >= 4 ? "\r\n\t\t\t\t" . $this->registry->getClass('output')->getReplacement("rate_on") . "\r\n\t\t\t" : "\r\n\t\t\t\t" . $this->registry->getClass('output')->getReplacement("rate_off") . "\r\n\t\t\t") . "\r\n\t\t\t" . ($topic['_allow_rate'] ? "\r\n\t\t\t\t</a><a href='" . $this->registry->getClass('output')->formatUrl($this->registry->getClass('output')->buildUrl("app=forums&amp;module=extras&amp;section=rating&amp;t={$topic['tid']}&amp;rating=5&amp;secure_key={$this->member->form_hash}", "public", ''), "", "") . "' id='topic_rate_5' title='{$this->lang->words['top_js_5star']}'>\r\n\t\t\t" : "") . "\r\n\t\t\t" . ($topic['_rate_int'] >= 5 ? "\r\n\t\t\t\t" . $this->registry->getClass('output')->getReplacement("rate_on") . "\r\n\t\t\t" : "\r\n\t\t\t\t" . $this->registry->getClass('output')->getReplacement("rate_off") . "\r\n\t\t\t") . "\r\n\t\t\t" . ($topic['_allow_rate'] ? "\r\n\t\t\t\t</a>\r\n\t\t\t" : "") . "\r\n\t\t\t<span id='rating_text'>\r\n\t\t\t\t" . ($topic['topic_rating_hits'] > 0 ? "\r\n\t\t\t\t\t<span itemprop=\"ratingCount\" id='rating_hits'>{$topic['topic_rating_hits']}</span> <span>{$this->lang->words['poll_s_votes']}</span>\r\n\t\t\t\t\t<meta itemprop=\"ratingValue\" content=\"" . floor($topic['_rate_int']) . "\" />\r\n\t\t\t\t" : "") . "\r\n\t\t\t</span>\r\n\t\t\t" . ($topic['_allow_rate'] ? "<script type='text/javascript'>\r\n\t\t\t\t//<![CDATA[\r\n\t\t\t\t\trating = new ipb.rating( 'topic_rate_', { \r\n\t\t\t\t\t\t\t\t\t\turl: ipb.vars['base_url'] + 'app=forums&module=ajax&section=topics&do=rateTopic&t={$topic['tid']}&md5check=' + ipb.vars['secure_hash'],\r\n\t\t\t\t\t\t\t\t\t\tcur_rating: {$topic['_rate_int']},\r\n\t\t\t\t\t\t\t\t\t\trated: " . ($topic['_rating_value'] != -1 ? "1" : "0") . ",\r\n\t\t\t\t\t\t\t\t\t\tallow_rate: {$topic['_allow_rate']},\r\n\t\t\t\t\t\t\t\t\t\tmulti_rate: 1,\r\n\t\t\t\t\t\t\t\t\t\tshow_rate_text: true\r\n\t\t\t\t\t\t\t\t\t  } );\r\n\t\t\t\t//]]>\r\n\t\t\t\t</script>" : "") . "\r\n\t\t</span>" : "") . "\r\n\t" . (is_array($topic['tags']) ? "\r\n\t\t{$topic['tags']['formatted']['parsedWithoutComma']}\r\n\t\t<br />\r\n\t" : "") . "\r\n\t<meta itemprop=\"interactionCount\" content=\"UserComments:" . intval($topic['posts'] + 1) . "\" />\r\n\r\n</div>\r\n</div>\r\n" . ($displayData['best_answer_post_data'] ? "<br />\r\n<div class='post post_block feature_box'>\r\n\t" . (($this->memberData['g_is_supmod'] or $this->memberData['g_mem_info'] && !IPSMember::isInactive($displayData['best_answer_post_data']['author'])) ? "\r\n\t<a itemprop=\"url\" href=\"" . $this->registry->getClass('output')->formatUrl($this->registry->getClass('output')->buildUrl("showuser={$displayData['best_answer_post_data']['author']['member_id']}", "public", ''), "{$displayData['best_answer_post_data']['author']['members_seo_name']}", "showuser") . "\" title=\"{$this->lang->words['view_profile']}: {$displayData['best_answer_post_data']['author']['members_display_name']}\" class='ipsUserPhotoLink'>\r\n\t" : "") . "\r\n\t<img itemprop=\"image\" src='{$displayData['best_answer_post_data']['author']['pp_thumb_photo']}' class='ipsUserPhoto ipsUserPhoto_medium left' />\r\n\t" . (($this->memberData['g_is_supmod'] or $this->memberData['g_mem_info'] && !IPSMember::isInactive($displayData['best_answer_post_data']['author'])) ? "\r\n\t</a>\r\n\t" : "") . "\r\n\t<div class=\"ipsBox_withphoto\">\r\n\t<p class='ipsType_sectiontitle'>\r\n\t\t<span class='ipsBadge ipsBadge_green'>{$this->lang->words['topic_best_answer']}</span>\r\n\t\t" . (method_exists($this->registry->getClass('output')->getTemplate('global'), 'userHoverCard') ? $this->registry->getClass('output')->getTemplate('global')->userHoverCard($displayData['best_answer_post_data']['author']) : '') . ",\r\n\t\t" . (isset($post_data[$displayData['best_answer_post_data']['post']['pid']]) ? "" . ($this->request['page'] ? "\r\n\t\t\t\t<a href='" . $this->registry->getClass('output')->formatUrl($this->registry->getClass('output')->buildUrl("showtopic={$topic['tid']}&amp;page={$this->request['page']}{$post_data[$displayData['best_answer_post_data']['post']['pid']]['post']['PermalinkUrlBit']}#entry{$displayData['best_answer_post_data']['post']['pid']}", "public", ''), "{$topic['title_seo']}", "showtopic") . "'>" . IPSText::htmlspecialchars($this->registry->getClass('class_localization')->getDate($displayData['best_answer_post_data']['post']['post_date'], "long", 0)) . "</a>\r\n\t\t\t" : "\r\n\t\t\t\t<a href='" . $this->registry->getClass('output')->formatUrl($this->registry->getClass('output')->buildUrl("showtopic={$topic['tid']}{$post_data[$displayData['best_answer_post_data']['post']['pid']]['post']['PermalinkUrlBit']}#entry{$displayData['best_answer_post_data']['post']['pid']}", "public", ''), "{$topic['title_seo']}", "showtopic") . "'>" . IPSText::htmlspecialchars($this->registry->getClass('class_localization')->getDate($displayData['best_answer_post_data']['post']['post_date'], "long", 0)) . "</a>\r\n\t\t\t") . "" : "\r\n\t\t\t<a href=\"" . $this->registry->getClass('output')->formatUrl($this->registry->getClass('output')->buildUrl("app=forums&amp;module=forums&amp;section=findpost&amp;pid={$displayData['best_answer_post_data']['post']['pid']}", "public", ''), "", "") . "\">" . IPSText::htmlspecialchars($this->registry->getClass('class_localization')->getDate($displayData['best_answer_post_data']['post']['post_date'], "long", 0)) . "</a>\r\n\t\t") . "\r\n\t</p>\r\n\t<p class='ipsPad_top desc'>\r\n\t\t{$displayData['best_answer_post_data']['post']['post']} \r\n\t</p>\r\n" . (isset($post_data[$displayData['best_answer_post_data']['post']['pid']]) ? "" . ($this->request['page'] ? "\r\n\t\t\t\t<a href='" . $this->registry->getClass('output')->formatUrl($this->registry->getClass('output')->buildUrl("showtopic={$topic['tid']}&amp;page={$this->request['page']}{$post_data[$displayData['best_answer_post_data']['post']['pid']]['post']['PermalinkUrlBit']}#entry{$displayData['best_answer_post_data']['post']['pid']}", "public", ''), "{$topic['title_seo']}", "showtopic") . "'>\r\n\t\t\t" : "\r\n\t\t\t\t<a href='" . $this->registry->getClass('output')->formatUrl($this->registry->getClass('output')->buildUrl("showtopic={$topic['tid']}{$post_data[$displayData['best_answer_post_data']['post']['pid']]['post']['PermalinkUrlBit']}#entry{$displayData['best_answer_post_data']['post']['pid']}", "public", ''), "{$topic['title_seo']}", "showtopic") . "'>\r\n\t\t\t") . "" : "\r\n\t\t\t<a href=\"" . $this->registry->getClass('output')->formatUrl($this->registry->getClass('output')->buildUrl("app=forums&amp;module=forums&amp;section=findpost&amp;pid={$displayData['best_answer_post_data']['post']['pid']}", "public", ''), "", "") . "\">\r\n\t\t") . "\r\n\t\t\t<span class='ipsBadge has_icon ipsBadge_lightgrey'>{$this->lang->words['answer_gotopost']} <img class='icon' src=\"{$this->settings['img_url']}/right_white_10px.png\"></span></a>\r\n\t</div>\r\n</div>" : "") . "\r\n" . ($topic['approved'] == -1 ? "<br />\r\n\t<div class='message error'>\r\n\t\t" . sprintf($this->lang->words['tdb__forumindex'], $this->registry->output->getTemplate('global')->userHoverCard($topic['sdData'])) . " " . IPSText::htmlspecialchars($this->registry->getClass('class_localization')->getDate($topic['sdData']['sdl_obj_date'], "long", 0)) . "\r\n\t\t" . ($this->registry->getClass('class_forums')->canSeeSoftDeleteReason($forum['id']) ? "<br /><span>" . ($topic['sdData']['sdl_obj_reason'] ? "{$topic['sdData']['sdl_obj_reason']}" : "{$this->lang->words['tdb__noreasongi']}") . "</span>" : "") . "\r\n\t\t<br /><br />\r\n\t\t" . ($this->memberData['g_is_supmod'] == 1 || $this->memberData['forumsModeratorData'][$forum['id']]['bw_mod_un_soft_delete_topic'] ? "\r\n\t\t\t<a href='" . $this->registry->getClass('output')->formatUrl($this->registry->getClass('output')->buildUrl("app=forums&amp;module=moderate&amp;section=moderate&amp;f={$forum['id']}&amp;t={$topic['tid']}&amp;page={$this->request['page']}&amp;auth_key={$this->member->form_hash}&amp;do=sundelete", "public", ''), "", "") . "' title='{$this->lang->words['dl_ths_restore']}' class='ipsButton_secondary'>{$this->lang->words['dl_ths_restore']}</a>\r\n\t\t" : "") . "\r\n\t\t" . ($this->memberData['g_is_supmod'] == 1 || $this->memberData['forumsModeratorData'][$forum['id']]['delete_topic'] ? "\r\n\t\t\t<a href='" . $this->registry->getClass('output')->formatUrl($this->registry->getClass('output')->buildUrl("app=forums&amp;module=moderate&amp;section=moderate&amp;f={$forum['id']}&amp;page={$this->request['page']}&amp;t={$topic['tid']}&amp;auth_key={$this->member->form_hash}&amp;do=08", "public", ''), "", "") . "' title='{$this->lang->words['dl_ths_delete']}' class='ipsButton_secondary important'>{$this->lang->words['dl_ths_delete']}</a>\r\n\t\t" : "") . "\r\n\t</div>" : "") . "\r\n" . ($topic['approved'] == 2 ? "\r\n\t<br />\r\n\t<div class='message error'>\r\n\t\t{$this->lang->words['topic_deleted']}\r\n\t\t<br /><br />\r\n\t\t<a href='" . $this->registry->getClass('output')->formatUrl($this->registry->getClass('output')->buildUrl("app=forums&amp;module=moderate&amp;section=moderate&amp;do=topic_restore&amp;t={$topic['tid']}&amp;f={$forum['id']}&amp;auth_key={$this->member->form_hash}", "public", ''), "", "") . "' title='{$this->lang->words['dl_ths_restore']}' class='ipsButton_secondary'>{$this->lang->words['restore_post']}</a>\r\n\t\t<a href='" . $this->registry->getClass('output')->formatUrl($this->registry->getClass('output')->buildUrl("app=forums&amp;module=moderate&amp;section=moderate&amp;do=09&amp;t={$topic['tid']}&amp;f={$forum['id']}&amp;auth_key={$this->member->form_hash}", "public", ''), "", "") . "' title='{$this->lang->words['dl_ths_delete']}' class='ipsButton_secondary'>{$this->lang->words['perm_delete_post']}</a>\r\n\t</div>\r\n" : "") . "\r\n<br />\r\n<div class='topic_controls'>\r\n\t{$topic['SHOW_PAGES']}\r\n\t" . ($topic['_isArchived'] ? "\r\n\t\t" . (method_exists($this->registry->getClass('output')->getTemplate('topic'), 'archiveStatusMessage') ? $this->registry->getClass('output')->getTemplate('topic')->archiveStatusMessage($topic, $forum) : '') . "\r\n\t" : "<ul class='topic_buttons'>\r\n\t\t\t" . ($displayData['reply_button']['image'] == 'locked' ? "<li class='important'>\r\n\t\t\t\t\t" . (isset($displayData['poll_data']['poll']['poll_only']) && $displayData['poll_data']['poll']['poll_only'] ? "" . ($displayData['reply_button']['url'] ? "\r\n\t\t\t\t\t\t\t<a href='{$displayData['reply_button']['url']}' accesskey='r'>" . $this->registry->getClass('output')->getReplacement("lock_icon") . " {$this->lang->words['top_poll_only_reply']}</a>\r\n\t\t\t\t\t\t" : "\r\n\t\t\t\t\t\t\t<span>" . $this->registry->getClass('output')->getReplacement("lock_icon") . " {$this->lang->words['top_poll_only']}</span>\r\n\t\t\t\t\t\t") . "" : "" . ($displayData['reply_button']['url'] ? "\r\n\t\t\t\t\t\t\t<a href='{$displayData['reply_button']['url']}' accesskey='r'>" . $this->registry->getClass('output')->getReplacement("lock_icon") . " {$this->lang->words['top_locked_reply']}</a>\r\n\t\t\t\t\t\t" : "\r\n\t\t\t\t\t\t\t<span>" . $this->registry->getClass('output')->getReplacement("lock_icon") . " {$this->lang->words['top_locked']}</span>\r\n\t\t\t\t\t\t") . "") . "\r\n\t\t\t\t</li>" : "" . ($displayData['reply_button']['image'] ? "" . ($displayData['reply_button']['url'] ? "\r\n\t\t\t\t\t\t<li><a href='{$displayData['reply_button']['url']}' title='{$this->lang->words['topic_add_reply']}' accesskey='r'>{$this->lang->words['topic_add_reply']}</a></li>\r\n\t\t\t\t\t" : "<li class='disabled'><span>" . (!$this->memberData['member_id'] ? "{$this->lang->words['topic_no_reply_guest']}" : "{$this->lang->words['top_cannot_reply']}") . "</span></li>") . "" : "") . "") . "\r\n\t\t\t" . (($topic['hasUnreadPosts'] and $topic['posts'] + 1 > $this->settings['display_max_posts']) ? "\r\n\t\t\t\t<li class='non_button'><a href='" . $this->registry->getClass('output')->formatUrl($this->registry->getClass('output')->buildUrl("showtopic={$topic['tid']}&amp;view=getnewpost", "public", ''), "{$topic['title_seo']}", "showtopic") . "' title='{$this->lang->words['first_unread_post']}'>{$this->lang->words['go_to_first_unread']}</a></li>\r\n\t\t\t" : "") . "\r\n\t\t\t" . (($displayData['mod_links'] and ($this->memberData['is_mod'] or $this->memberData['member_id'] == $topic['starter_id'])) ? "\r\n\t\t\t\t<li class='non_button'><a href='#' id='topic_mod_options' title='{$this->lang->words['topic_moderation']}'>{$this->lang->words['topic_moderation']}</a></li>\r\n\t\t\t" : "") . "\r\n\t\t</ul>") . "\r\n</div>\r\n" . (($displayData['mod_links'] and ($this->memberData['is_mod'] or $this->memberData['member_id'] == $topic['starter_id'])) ? "<ul class='ipbmenu_content' id='topic_mod_options_menucontent'  style='display:none'>\r\n\t" . $this->__f__22e606c3116c7b44ae2a61154d222f5f($forum, $topic, $post_data, $displayData) . "\t" . (($topic['topic_queuedposts'] and $this->registry->class_forums->canQueuePosts($forum['id'])) ? "\r\n\t\t<li><a href=\"" . $this->registry->getClass('output')->formatUrl($this->registry->getClass('output')->buildUrl("app=forums&amp;module=moderate&amp;section=moderate&amp;t={$topic['tid']}&amp;f={$topic['forum_id']}&amp;page={$this->request['page']}&amp;auth_key={$this->member->form_hash}&amp;_fromTopic=1&amp;do=p_approve", "public", ''), "", "") . "\">" . sprintf($this->lang->words['nmo_p_approve'], $topic['topic_queuedposts']) . "</a></li>\r\n\t" : "") . "" . (($topic['topic_queuedposts'] and $this->registry->class_forums->canHardDeletePosts($forum['id'], $topic)) ? "\r\n\t\t<li><a href=\"" . $this->registry->getClass('output')->formatUrl($this->registry->getClass('output')->buildUrl("app=forums&amp;module=moderate&amp;section=moderate&amp;t={$topic['tid']}&amp;f={$topic['forum_id']}&amp;page={$this->request['page']}&amp;auth_key={$this->member->form_hash}&amp;_fromTopic=1&amp;do=p_delete_approve", "public", ''), "", "") . "\">" . sprintf($this->lang->words['nmo_p_delete_approve'], $topic['topic_queuedposts']) . "</a></li>\r\n\t" : "") . "" . (($this->registry->class_forums->can_Un_SoftDeletePosts($forum['id']) and $topic['topic_deleted_posts']) ? "\r\n\t\t<li><a href=\"" . $this->registry->getClass('output')->formatUrl($this->registry->getClass('output')->buildUrl("app=forums&amp;module=moderate&amp;section=moderate&amp;t={$topic['tid']}&amp;f={$topic['forum_id']}&amp;page={$this->request['page']}&amp;auth_key={$this->member->form_hash}&amp;_fromTopic=1&amp;do=p_restore", "public", ''), "", "") . "\">" . sprintf($this->lang->words['nmo_p_restore'], $topic['topic_deleted_posts']) . "</a></li>\r\n\t" : "") . "" . (($topic['topic_deleted_posts'] and $this->registry->class_forums->canHardDeletePosts($forum['id'], $topic)) ? "\r\n\t\t<li><a href=\"" . $this->registry->getClass('output')->formatUrl($this->registry->getClass('output')->buildUrl("app=forums&amp;module=moderate&amp;section=moderate&amp;t={$topic['tid']}&amp;f={$topic['forum_id']}&amp;page={$this->request['page']}&amp;auth_key={$this->member->form_hash}&amp;_fromTopic=1&amp;do=p_delete_softed", "public", ''), "", "") . "\">" . sprintf($this->lang->words['nmo_p_delete_softed'], $topic['topic_deleted_posts']) . "</a></li>\t\r\n\t" : "") . "\r\n\t" . ((is_array($displayData['multi_mod']) and count($displayData['multi_mod'])) ? "\r\n\t\t" . $this->__f__0e3ef980bf6a36017bffa148b7b8a0a7($forum, $topic, $post_data, $displayData) . "\t" : "") . "\r\n</ul>\r\n<script type='text/javascript'>\r\n\tdocument.observe(\"dom:loaded\", function()\r\n\t{\r\n\t\tnew ipb.Menu( \$('topic_mod_options'), \$('topic_mod_options_menucontent') );\r\n\t} );\r\n</script>" : "") . "\r\n<div class='maintitle clear clearfix'>\r\n\t<span class='ipsType_small'>\r\n\t\t" . ($topic['posts'] ? "" . sprintf($topic['posts'] > 1 ? $this->lang->words['x_replies_to_topic'] : $this->lang->words['x_reply_to_topic'], $topic['posts']) . "" : "\r\n\t\t\t{$this->lang->words['no_replies_to_topic']}\r\n\t\t") . "\r\n\t</span>\r\n\t" . ($this->settings['reputation_enabled'] && $this->settings['reputation_point_types'] != 'like' && $this->settings['reputation_show_content'] && $this->memberData['member_id'] != 0 && is_array($this->caches['reputation_levels']) ? "<a href='#rep_filter_menucontent' id='rep_filter' class='right ipsType_smaller'>\r\n\t\t\t" . ($this->memberData['_members_cache']['rep_filter'] && $this->memberData['_members_cache']['rep_filter'] === '*' ? "\r\n\t\t\t\t{$this->lang->words['rep_f_viewing_all']}\r\n\t\t\t" : "\r\n\t\t\t\t" . sprintf($this->lang->words['rep_f_hiding'], $this->memberData['_members_cache']['rep_filter']) . "\r\n\t\t\t") . "\r\n\t\t\t<img src='{$this->settings['img_url']}/useropts_arrow.png' />\r\n\t\t</a>" : "") . "\t\r\n<span class=\"viewSwitch right\">\r\n<a href='#' id=\"viewSwitch_normal\" class=\"viewSwitch_active\"></a>\r\n<a href='#' id=\"viewSwitch_compact\"></a>\r\n</span>\r\n</div>\r\n" . ($this->settings['reputation_enabled'] && $this->settings['reputation_point_types'] != 'like' && $this->settings['reputation_show_content'] && $this->memberData['member_id'] != 0 && is_array($this->caches['reputation_levels']) ? "<ul id='rep_filter_menucontent' class='ipbmenu_content with_checks' style='display: none'>\r\n\t\t<li " . ((isset($this->memberData['_members_cache']['rep_filter']) and $this->memberData['_members_cache']['rep_filter'] === '*') ? "class='selected'" : "") . ">\r\n\t\t\t<a href='" . $this->registry->getClass('output')->formatUrl($this->registry->getClass('output')->buildUrl("app=forums&amp;module=forums&amp;section=topics&amp;rep_filter=update&amp;f={$topic['forum_id']}&amp;t={$topic['tid']}&amp;secure_key={$this->member->form_hash}&amp;page={$this->request['page']}&amp;rep_filter_set=*", "public", ''), "", "") . "'>{$this->lang->words['rep_f_all_posts']}</a>\r\n\t\t</li>\r\n\t\t" . (is_array($this->caches['reputation_levels']) ? "\r\n\t\t\t" . $this->__f__819a6dc15f373c8280e18a6a1ba0c040($forum, $topic, $post_data, $displayData) . "\t\t" : "") . "\r\n\t</ul>\r\n\t<script type='text/javascript'>\r\n\t\tnew ipb.Menu( \$('rep_filter'), \$('rep_filter_menucontent') );\r\n\t</script>" : "") . "\r\n<div class='topic hfeed clear clearfix'>\r\n\t\r\n\t{$displayData['poll_data']['html']}\r\n" . ((is_array($post_data) and count($post_data)) ? "\r\n\t<div class='ipsBox'>\r\n\t\t<div class='ipsBox_container' id='ips_Posts'>\r\n\t\t\t" . $this->__f__a05249cca02045a3f408667ab42c49bf($forum, $topic, $post_data, $displayData) . "\t\t</div>\r\n\t</div>\r\n" : "") . "\r\n<hr />\r\n<div class='topic_controls clear ipsPad_top_bottom_half'>\r\n\t" . ($topic['SHOW_PAGES'] ? "\r\n\t\t<div class='left'>{$topic['SHOW_PAGES']}</div>\r\n\t" : "") . "\r\n\t<div class='ipsPad_top_slimmer right'>\r\n\t\t" . (($displayData['mod_links'] and ($this->memberData['is_mod'] or $this->memberData['member_id'] == $topic['starter_id'])) ? "\r\n\t\t\t<a href='#' id='topic_mod_options_alt'  class=\"ipsType_small desc\" title='{$this->lang->words['topic_moderation']}'>{$this->lang->words['topic_moderation']}</a> &middot;\r\n\t\t" : "") . "\r\n\t\t<a href='" . $this->registry->getClass('output')->formatUrl($this->registry->getClass('output')->buildUrl("showforum={$forum['id']}", "public", ''), "{$forum['name_seo']}", "showforum") . "' class=\"ipsType_small desc\">" . sprintf($this->lang->words['go_back_to'], $forum['name']) . "</a>\r\n\t\t" . ($forum['_hasUnreadTopics'] ? "\r\n\t\t\t&middot; <a href='" . $this->registry->getClass('output')->formatUrl($this->registry->getClass('output')->buildUrl("showtopic={$topic['tid']}&amp;view=getnextunread", "public", ''), "{$topic['title_seo']}", "showtopicnextunread") . "' class=\"ipsType_small desc\">{$this->lang->words['goto_next_unread_topic']}</a>\r\n\t\t" : "") . "\r\n\t</div>\t\r\n</div>\r\n" . ($displayData['fast_reply'] && $displayData['reply_button']['url'] ? "<hr />\r\n<div class='ipsBox' id='fast_reply_wrapper'>\r\n\t<div class='ipsBox_container ipsPad'>\r\n\t\t<h1 class='ipsType_subtitle'>{$this->lang->words['topic_add_reply']}</h1>\r\n\t\t" . ($topic['state'] == 'closed' ? "<span class='error'>{$this->lang->words['locked_reply_fr']}</span><br />" : "") . "\r\n\t\t<br />\r\n\t\t" . ($this->memberData['member_id'] ? "\r\n\t\t\t<a href=\"" . $this->registry->getClass('output')->formatUrl($this->registry->getClass('output')->buildUrl("showuser={$this->memberData['member_id']}", "public", ''), "{$this->memberData['members_seo_name']}", "showuser") . "\" title='{$this->lang->words['your_profile']}' class='ipsUserPhotoLink left'><img src='{$this->memberData['pp_small_photo']}' alt=\"" . sprintf($this->lang->words['users_photo'], $this->memberData['members_display_name']) . "\" class='ipsUserPhoto ipsUserPhoto_medium' /></a>\r\n\t\t" : "\r\n\t\t\t<div class='left'>" . IPSMember::buildNoPhoto(0, 'small') . "</div>\r\n\t\t") . "\r\n\t\t<div class='ipsBox_withphoto clearfix'>\r\n\t\t\t<form action=\"" . $this->registry->getClass('output')->formatUrl($this->registry->getClass('output')->buildUrl("", "public", ''), "", "") . "\" method=\"post\" id='ips_fastReplyForm'>\r\n\t\t\t\t<input type=\"hidden\" name=\"app\" value=\"forums\" />\r\n\t\t\t\t<input type=\"hidden\" name=\"module\" value=\"post\" />\r\n\t\t\t\t<input type=\"hidden\" name=\"section\" value=\"post\" />\r\n\t\t\t\t<input type=\"hidden\" name=\"do\" value=\"reply_post_do\" />\r\n\t\t\t\t<input type=\"hidden\" name=\"f\" value=\"{$forum['id']}\" />\r\n\t\t\t\t<input type=\"hidden\" name=\"t\" value=\"{$topic['tid']}\" />\r\n\t\t\t\t<input type=\"hidden\" name=\"st\" value=\"{$this->request['st']}\" />\r\n\t\t\t\t<input type=\"hidden\" name=\"auth_key\" value=\"{$this->member->form_hash}\" />\r\n\t\t\t\t<input type=\"hidden\" name=\"fast_reply_used\" value=\"1\" />\r\n\t\t\t\t<input type=\"hidden\" name=\"enableemo\" value=\"yes\" />\r\n\t\t\t\t<input type=\"hidden\" name=\"enablesig\" value=\"yes\" />\r\n\t\t\t\t" . ($this->memberData['auto_track'] ? "\r\n\t\t\t\t\t<input type=\"hidden\" name=\"enabletrack\" value=\"1\" />\r\n\t\t\t\t" : "\r\n\t\t\t\t\t<input type=\"hidden\" name=\"enabletrack\" value=\"{$topic['_isLiked']}\" />\r\n\t\t\t\t") . "" . ((is_array($topic['_fastReplyStatusMessage']) and count($topic['_fastReplyStatusMessage']) and strlen($topic['_fastReplyStatusMessage'][0])) ? "\r\n\t\t\t\t\t<div class='message'>" . implode('<br />', $topic['_fastReplyStatusMessage']) . "</div>\r\n\t\t\t\t" : "") . "" . $editor->show('Post', array('type' => 'full', 'minimize' => 1, 'isTypingCallBack' => 'ipb.topic.isTypingCallBack', 'height' => 180, 'legacyMode' => 'off', 'autoSaveKey' => 'reply-' . $topic[tid], 'warnInfo' => 'fastReply', 'modAll' => $topic['_fastReplyModAll']), "") . "\r\n\t\t\t\t<br />\r\n\t\t\t\t\r\n\t\t\t\t<fieldset class='right' id='fast_reply_controls'>\r\n\t\t\t\t\t<input type='submit' name=\"submit\" class='input_submit' value='{$this->lang->words['qr_post']}' tabindex='50' accesskey='s' id='submit_post' />&nbsp;&nbsp;<input type='submit' name=\"preview\" class='input_submit alt' value='{$this->lang->words['qr_more_opts']}' tabindex='51' id='full_compose' />\t\t\t\r\n\t\t\t\t</fieldset>\r\n\t\t\t</form>\r\n\t\t</div>\r\n\t\t<div id='ips_HasReplies'></div>\r\n\t</div>\r\n</div>\r\n<script type='text/javascript'>\r\n\tipb.topic.fastReplyId\t= '{$this->settings['_lastEditorId']}';\r\n</script>" : "" . ($displayData['load_editor_js'] ? "\r\n\t\t" . (method_exists($this->registry->getClass('output')->getTemplate('editors'), 'editorLoadJs') ? $this->registry->getClass('output')->getTemplate('editors')->editorLoadJs(array('smilies' => $displayData['smilies'])) : '') . "\r\n\t" : "") . "") . "\r\n<!-- Close topic -->\r\n</div>\r\n<!-- BOTTOM BUTTONS -->\r\n" . ((!$forum['disable_sharelinks'] and $this->settings['sl_enable']) ? "\r\n\t<br />\r\n\t<div class='clear clearfix left'>\r\n\t\t" . IPSLib::shareLinks($topic['title'], $topic['posts'] > 300 ? array('skip' => array('print', 'download')) : array()) . "\r\n\t</div>\r\n\t<br />\r\n" : "") . "\r\n<!-- SAME TAGGED -->\r\n" . ((is_array($displayData['same_tagged']) and count($displayData['same_tagged'])) ? "\r\n\t<br />\r\n\t<div class='ipsBox'>\r\n\t\t<h3 class='maintitle'>" . sprintf($this->lang->words['topic_same_tagged_as'], $topic['tags']['formatted']['string']) . "</h3>\r\n\t\t<div class='ipsBox_container'>\r\n\t\t\t<table class='ipb_table topic_list'>\r\n\t\t\t" . $this->__f__26b4095dc75e552fb5bcb8bba6e0dc6e($forum, $topic, $post_data, $displayData) . "\t\t\t</table>\r\n\t\t</div>\r\n\t</div>\r\n" : "") . "\r\n<!-- ACTIVE USERS -->\r\n" . ((is_array($displayData['active_users']) and count($displayData['active_users'])) ? "<div id='topic_stats' class='statistics clear clearfix'>\r\n\t\t<div id='topic_active_users' class='active_users'>\r\n\t\t\t<h4 class='statistics_head'>" . sprintf($this->lang->words['active_users_title'], $displayData['active_users']['stats']['total']) . "</h4>\r\n\t\t\t<p class='statistics_brief desc'>" . sprintf($this->lang->words['active_users_detail'], $displayData['active_users']['stats']['members'], $displayData['active_users']['stats']['guests'], $displayData['active_users']['stats']['anon']) . "</p>\r\n\t\t\t" . ((is_array($displayData['active_users']['names']) and count($displayData['active_users']['names'])) ? "\r\n\t\t\t\t<br />\r\n\t\t\t\t<ul class='ipsList_inline'>\r\n\t\t\t\t\t" . implode(', ', $displayData['active_users']['names']) . "\r\n\t\t\t\t</ul>\r\n\t\t\t" : "") . "\r\n\t\t</div>\r\n\t</div>" : "") . "\r\n" . ($this->request['gopid'] ? "\r\n<script type='text/javascript'>\r\n\tvar gopid = \"{$this->request['gopid']}\".replace(/&amp;/g, '');\r\n\tipb.topic.scrollToPost( parseInt( gopid ) );\r\n</script>\r\n" : "") . "\r\n" . (method_exists($this->registry->getClass('output')->getTemplate('global'), 'include_highlighter') ? $this->registry->getClass('output')->getTemplate('global')->include_highlighter(1) : '') . "\r\n<div id='multiQuoteInsert' style='display: none;' class='ipsFloatingAction'>\r\n\t<span class='ipsButton no_width' id='mqbutton'>{$this->lang->words['mq_reply_quoted_posts']}</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href='#' id='multiQuoteClear' class='ipsType_smaller desc' title='{$this->lang->words['mq_clear_desc']}'>{$this->lang->words['mq_clear']}</a> &nbsp;&nbsp;&nbsp;\r\n</div>\r\n<form id=\"modform\" method=\"post\" action=\"" . $this->registry->getClass('output')->formatUrl($this->registry->getClass('output')->buildUrl("", "public", ''), "", "") . "\">\r\n\t<input type=\"hidden\" name=\"app\" value=\"forums\" />\r\n\t<input type=\"hidden\" name=\"module\" value=\"moderate\" />\r\n\t<input type=\"hidden\" name=\"section\" value=\"moderate\" />\r\n\t<input type=\"hidden\" name=\"do\" value=\"postchoice\" />\r\n\t<input type=\"hidden\" name=\"f\" value=\"{$topic['forum_id']}\" />\r\n\t<input type=\"hidden\" name=\"t\" value=\"{$topic['tid']}\" />\r\n\t<input type=\"hidden\" name=\"auth_key\" value=\"{$this->member->form_hash}\" />\r\n\t<input type=\"hidden\" name=\"st\" value=\"{$this->request['st']}\" />\r\n\t<input type=\"hidden\" value=\"{$this->request['selectedpids']}\" name=\"selectedpidsJS\" id='selectedpidsJS' />\r\n\t<input type=\"hidden\" name=\"tact\" id=\"tact\" value=\"\" />\r\n</form>";
     return $IPBHTML;
 }