Advertisement
Guest User

Help mysql

a guest
Jun 14th, 2013
24
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 90.36 KB | None | 0 0
  1. INSERT INTO `skin_cache` (`cache_id`, `cache_updated`, `cache_type`, `cache_set_id`, `cache_key_1`, `cache_value_1`, `cache_key_2`, `cache_value_2`, `cache_value_3`, `cache_content`, `cache_key_3`, `cache_key_4`, `cache_value_4`, `cache_key_5`, `cache_value_5`, `cache_key_6`, `cache_value_6`) VALUES (29536,1314265064,'phptemplate',51,'group','skin_forum','','','','class skin_forum_51 {\n\n/**\r\n* Construct\r\n*/\r\nfunction __construct( ipsRegistry $registry )\r\n{\r\n /* Make object */\r\n $this->registry = $registry;\r\n $this->DB = $this->registry->DB();\r\n $this->settings =& $this->registry->fetchSettings();\r\n $this->request =& $this->registry->fetchRequest();\r\n $this->lang = $this->registry->getClass(\'class_localization\');\r\n $this->member = $this->registry->member();\r\n $this->memberData =& $this->registry->member()->fetchMemberData();\r\n $this->cache = $this->registry->cache();\r\n $this->caches =& $this->registry->cache()->fetchCaches();\r\n \n\n$this->_funcHooks = array();\n$this->_funcHooks[\'forumAttachments\'] = array(\'guestthumb\',\'attachments\',\'guestthumb\');\n$this->_funcHooks[\'forumIndexTemplate\'] = array(\'showSubForumsLit\',\'sub_subforums\',\'showsubforums\',\'seequeuedicon\',\'hideDateUrl\',\'lastPosterID\',\'lastPosterName\',\'hideLastInfo\',\'isredirect\',\'forums\',\'subforumdata\',\'subforums\',\'topicsismod\',\'announcedates\',\'announcements\',\'haslastpage\',\'pages\',\'queuedtopic\',\'hasmodlinks\',\'islink\',\'tidRestore\',\'issupermod\',\'ispinned\',\'islink\',\'closedtopic\',\'opentopic\',\'topicmoderator\',\'topicIsDeleted\',\'topicreported\',\'gotonewpost\',\'topichasattach\',\'istracking\',\'multipages\',\'showReason\',\'description\',\'topicDeletedReason\',\'queuedposts\',\'queuedpostsImg\',\'deletedPostsImg\',\'replylang\',\'mmtidon\',\'mmicon\',\'adCodeColSpan\',\'adCodeCheck\',\'topics\',\'mm\',\'aumemberid\',\'aumidend\',\'auaddcomma\',\'activeusers\',\'moderatorpopup\',\'moderatorscomma\',\'moderators\',\'rulesinline\',\'ruleslink\',\'hassubforums\',\'usercanpost\',\'stopwatching\',\'watchismember\',\'topicsismod\',\'endannouncements\',\'hasannouncements\',\'notopicsspan\',\'hastopics\',\'mmdata\',\'moderationform\',\'forumjump\',\'bottomusercanpost\',\'hasactiveusers\',\'showactiveusers\',\'hasmoderators\',\'showtopics\');\n$this->_funcHooks[\'likeSummaryContents\'] = array(\'likeOnlyMembers\');\n$this->_funcHooks[\'topic\'] = array(\'haslastpage\',\'pages\',\'queuedtopic\',\'hasmodlinks\',\'showReason\',\'topicDeletedReason\',\'topicUnapproved\',\'hasPrefix\',\'hasTags\',\'multipages\',\'queuedpostsImg\',\'deletedPostsImg\',\'isHot\',\'replylang\',\'isLink\',\'mmtidon\',\'tidRestore\',\'issupermod\',\'ispinned\',\'islink\',\'closedtopic\',\'opentopic\',\'islink2\',\'topicmoderator\',\'topicIsDeleted\',\'mmicon\',\'adCodeColSpan\',\'adCodeCheck\');\n$this->_funcHooks[\'topic_rating_image\'] = array(\'ratinggood\',\'ratings\');\n$this->_funcHooks[\'topicPrefixWrap\'] = array(\'prefix\');\n\n\n}\n\n/* -- forumAttachments --*/\nfunction forumAttachments($title, $rows, $pages) {\n$IPBHTML = \"\";\nif( IPSLib::locationHasHooks( \'skin_forum\', $this->_funcHooks[\'forumAttachments\'] ) )\r\n{\r\n$count_dba7c2139a1c81dea92d44c831de27d7 = is_array($this->functionData[\'forumAttachments\']) ? count($this->functionData[\'forumAttachments\']) : 0;\n$this->functionData[\'forumAttachments\'][$count_dba7c2139a1c81dea92d44c831de27d7][\'title\'] = $title;\n$this->functionData[\'forumAttachments\'][$count_dba7c2139a1c81dea92d44c831de27d7][\'rows\'] = $rows;\n$this->functionData[\'forumAttachments\'][$count_dba7c2139a1c81dea92d44c831de27d7][\'pages\'] = $pages;\n}\n\nif ( ! isset( $this->registry->templateStriping[\'attachies\'] ) ) {\n$this->registry->templateStriping[\'attachies\'] = array( FALSE, \"row1\",\"row2\");\n}\n$IPBHTML .= \"\" . (($this->request[\'module\']==\'ajax\') ? (\"<h3>{$this->lang->words[\'attach_page_title\']}: $title</h3>\n \" . (($pages) ? (\"\n <div class=\'topic_controls\' style=\'padding-top: 4px;\'>{$pages}</div>\n \") : (\"\")) . \"\") : (\"\" . (($pages) ? (\"\n <div class=\'topic_controls\'>{$pages}</div>\n \") : (\"\")) . \"\n <h3 class=\'maintitle\'>{$this->lang->words[\'attach_page_title\']}: $title</h3>\")) . \"\n<table class=\'ipb_table\'>\n <tr class=\'header\'>\n \" . (($this->memberData[\'member_id\'] || $this->settings[\'guests_img\']) ? (\"\n <th>&nbsp;</th>\n \") : (\"\")) . \"\n <th>{$this->lang->words[\'attach_title\']}</th>\n <th>{$this->lang->words[\'attach_size\']}</th>\n <th>{$this->lang->words[\'attach_post\']}</th>\n </tr>\n \" . ((count($rows)) ? (\"\".$this->__f__a87c9308dbbe149cc7cc9b176a6d0a7f($title,$rows,$pages).\" \") : (\"\")) . \"\n</table>\n\" . (($pages) ? (\"\n <br />\n <div class=\'topic_controls\'>{$pages}</div>\n\") : (\"\")) . \"\";\nreturn $IPBHTML;\n}\n\n\nfunction __f__a87c9308dbbe149cc7cc9b176a6d0a7f($title, $rows, $pages)\r\n{\r\n $_ips___x_retval = \'\';\r\n $__iteratorCount = 0;\r\n foreach( $rows as $data )\r\n {\r\n \r\n $__iteratorCount++;\r\n $_ips___x_retval .= \"\n <tr class=\'\" . IPSLib::next( $this->registry->templateStriping[\"attachies\"] ) . \"\' id=\\\"{$data[\'attach_id\']}\\\">\n \" . (($this->memberData[\'member_id\'] || $this->settings[\'guests_img\']) ? (\"\n <td class=\\\"altrow short\\\">\n <img src=\\\"{$this->settings[\'mime_img\']}/{$data[\'image\']}\\\" alt=\\\"{$this->lang->words[\'attached_file\']}\\\" />\n </td>\n \") : (\"\")) . \"\n <td>\n <a href=\\\"\" . $this->registry->getClass(\'output\')->formatUrl( $this->registry->getClass(\'output\')->buildUrl( \"app=core&amp;module=attach&amp;section=attach&amp;attach_rel_module=post&amp;attach_id={$data[\'attach_id\']}\", \"public\",\'\' ), \"\", \"\" ) . \"\\\" title=\\\"{$data[\'attach_file\']}\\\">{$data[\'short_name\']}</a><br />\n <span class=\\\"desc\\\">( {$this->lang->words[\'attach_hits\']}: {$data[\'attach_hits\']} )<br />( {$this->lang->words[\'attach_post_date\']} {$data[\'attach_date\']} )</span>\n </td>\n <td class=\\\"altrow short\\\">{$data[\'real_size\']}</td>\n <td class=\'short\'><a href=\\\"\" . $this->registry->getClass(\'output\')->formatUrl( $this->registry->getClass(\'output\')->buildUrl( \"app=forums&amp;module=forums&amp;section=findpost&amp;pid={$data[\'pid\']}\", \"public\",\'\' ), \"\", \"\" ) . \"\\\" title=\\\"{$this->lang->words[\'view_post\']}\\\">{$data[\'pid\']}</a></td>\n </tr>\n \n\";\r\n }\r\n $_ips___x_retval .= \'\';\r\n unset( $__iteratorCount );\r\n return $_ips___x_retval;\r\n}\n\n/* -- forumIndexTemplate --*/\nfunction forumIndexTemplate($forum_data, $announce_data, $topic_data, $other_data, $multi_mod_data, $sub_forum_data, $footer_filter, $active_user_data, $mod_data, $inforum=1) {\n$IPBHTML = \"\";\nif( IPSLib::locationHasHooks( \'skin_forum\', $this->_funcHooks[\'forumIndexTemplate\'] ) )\r\n{\r\n$count_433259f597243b6e76df41cb377454f9 = is_array($this->functionData[\'forumIndexTemplate\']) ? count($this->functionData[\'forumIndexTemplate\']) : 0;\n$this->functionData[\'forumIndexTemplate\'][$count_433259f597243b6e76df41cb377454f9][\'forum_data\'] = $forum_data;\n$this->functionData[\'forumIndexTemplate\'][$count_433259f597243b6e76df41cb377454f9][\'announce_data\'] = $announce_data;\n$this->functionData[\'forumIndexTemplate\'][$count_433259f597243b6e76df41cb377454f9][\'topic_data\'] = $topic_data;\n$this->functionData[\'forumIndexTemplate\'][$count_433259f597243b6e76df41cb377454f9][\'other_data\'] = $other_data;\n$this->functionData[\'forumIndexTemplate\'][$count_433259f597243b6e76df41cb377454f9][\'multi_mod_data\'] = $multi_mod_data;\n$this->functionData[\'forumIndexTemplate\'][$count_433259f597243b6e76df41cb377454f9][\'sub_forum_data\'] = $sub_forum_data;\n$this->functionData[\'forumIndexTemplate\'][$count_433259f597243b6e76df41cb377454f9][\'footer_filter\'] = $footer_filter;\n$this->functionData[\'forumIndexTemplate\'][$count_433259f597243b6e76df41cb377454f9][\'active_user_data\'] = $active_user_data;\n$this->functionData[\'forumIndexTemplate\'][$count_433259f597243b6e76df41cb377454f9][\'mod_data\'] = $mod_data;\n$this->functionData[\'forumIndexTemplate\'][$count_433259f597243b6e76df41cb377454f9][\'inforum\'] = $inforum;\n}\n\nif ( ! isset( $this->registry->templateStriping[\'forumTable\'] ) ) {\n$this->registry->templateStriping[\'forumTable\'] = array( FALSE, \"row1\",\"row2\");\n}\n$IPBHTML .= \"\" . $this->registry->getClass(\'output\')->addJSModule(\"forums\", \"0\" ) . \"\n<script type=\\\"text/javascript\\\">\n//<![CDATA[\n //Search Setup\n ipb.vars[\'search_type\'] = \'forum\';\n ipb.vars[\'search_type_id\'] = {$this->request[\'showforum\']};\n ipb.templates[\'topic_rename\'] = new Template(\\\"<input type=\'text\' id=\'#{inputid}\' value=\'#{value}\' class=\'input_text\' maxlength=\'{$this->settings[\'topic_title_max_len\']}\' /> <input type=\'submit\' value=\'{$this->lang->words[\'rename_topic_update\']}\' class=\'input_submit\' id=\'#{submitid}\' /> <a href=\'#\' id=\'#{cancelid}\' class=\'cancel\' title=\'{$this->lang->words[\'cancel\']}\'>{$this->lang->words[\'cancel\']}</a>\\\");\n ipb.global.boardMarkers = ({\n \'f_cat_unread\': \\\"\" . $this->registry->getClass(\'output\')->getReplacement(\"f_cat_read\") . \"\\\",\n \'f_unread\': \\\"\" . $this->registry->getClass(\'output\')->getReplacement(\"f_read\") . \"\\\",\n \'f_pass_unread\': \\\"\" . $this->registry->getClass(\'output\')->getReplacement(\"f_pass_read\") . \"\\\"\n });\n var markerURL = \\\"\" . $this->registry->getClass(\'output\')->formatUrl( $this->registry->getClass(\'output\')->buildUrl( \"app=forums&module=ajax&section=markasread\", \"public\",\'\' ), \"\", \"\" ) . \"\\\"; // Ajax URL so don\'t use &amp;\n \n // Delete stuff set up\n ipb.forums.deleteUrls[\'hardDelete\'] = new Template(\\\"\" . $this->registry->getClass(\'output\')->formatUrl( $this->registry->getClass(\'output\')->buildUrl( \"app=forums&amp;module=moderate&amp;section=moderate&amp;f={$forum_data[\'id\']}&amp;st={$this->request[\'st\']}&amp;auth_key={$this->member->form_hash}&amp;do=08&amp;t=#{tid}\", \"public\",\'\' ), \"\", \"\" ) . \"\\\");\n ipb.forums.deleteUrls[\'softDelete\'] = new Template(\\\"\" . $this->registry->getClass(\'output\')->formatUrl( $this->registry->getClass(\'output\')->buildUrl( \"app=forums&amp;module=moderate&amp;section=moderate&amp;f={$forum_data[\'id\']}&amp;st={$this->request[\'st\']}&amp;auth_key={$this->member->form_hash}&amp;do=sdelete&amp;t=#{tid}\", \"public\",\'\' ), \"\", \"\" ) . \"\\\");\n \n // Add perm data\n ipb.forums.deletePerms = { \'canDelete\' : \" . intval($this->memberData[\'g_is_supmod\'] == 1 || $this->memberData[\'forumsModeratorData\'][ $forum_data[\'id\'] ][\'delete_topic\']) . \", \'canSoftDelete\' : \" . intval($forum_data[\'permissions\'][\'TopicSoftDelete\']) . \" };\n//]]>\n</script>\n\n\" . (($forum_data[\'show_rules\'] == 2) ? (\"\n<div class=\'message unspecific forum_rules\'>\n<h3>{$forum_data[\'rules_title\']}</h3>\n{$forum_data[\'rules_text\']}\n</div>\n\") : (\"\")) . \"\n\" . (($forum_data[\'show_rules\'] == 1) ? (\"\n<div class=\'message unspecific forum_rules\'>\n <a href=\'\" . $this->registry->getClass(\'output\')->formatUrl( $this->registry->getClass(\'output\')->buildUrl( \"app=forums&amp;module=forums&amp;section=rules&amp;f={$forum_data[\'id\']}\", \"public\",\'\' ), \"\", \"\" ) . \"\' title=\'{$this->lang->words[\'view_forum_rules\']}\'><strong>{$forum_data[\'rules_title\']}</strong></a>\n</div>\n\") : (\"\")) . \"\n<!-- __-SUBFORUMS-__ -->\n\" . ((is_array( $sub_forum_data ) AND count( $sub_forum_data )) ? (\"\n <div class=\'category_block block_wrap\'>\n <h3 class=\'maintitle\'><span>{$forum_data[\'name\']} {$this->lang->words[\'sub_forum_title\']}</span></h3>\n <table class=\'ipb_table\' summary=\\\"{$this->lang->words[\'cat_subforums\']} \'{$forum_data[\'name\']}\'\\\">\n <tr class=\'header\'>\n <th scope=\'col\' class=\'col_c_icon\'>&nbsp;</th>\n <th scope=\'col\' class=\'col_c_forum\'>{$this->lang->words[\'cat_name\']}</th>\n <th scope=\'col\' class=\'col_c_stats stats\'>{$this->lang->words[\'topics\']}</th>\n <th scope=\'col\' class=\'col_c_stats stats\'>{$this->lang->words[\'replies\']}</th>\n <th scope=\'col\' class=\'col_c_post\'>{$this->lang->words[\'last_post_info\']}</th>\n </tr>\n <!-- / CAT HEADER -->\n \n \".$this->__f__a7d2f53ec1ec613d650a5a4cf831d0ab($forum_data,$announce_data,$topic_data,$other_data,$multi_mod_data,$sub_forum_data,$footer_filter,$active_user_data,$mod_data,$inforum).\" </table>\n </div>\n <br />\n\") : (\"\")) . \"\n\" . (($forum_data[\'sub_can_post\']) ? (\"<div class=\'topic_controls\'>\n {$forum_data[\'SHOW_PAGES\']}\n \n <ul class=\'topic_buttons\'>\n \" . (($forum_data[\'_user_can_post\']) ? (\"\n <li><a href=\'\" . $this->registry->getClass(\'output\')->formatUrl( $this->registry->getClass(\'output\')->buildUrl( \"module=post&amp;section=post&amp;do=new_post&amp;f={$forum_data[\'id\']}\", \"publicWithApp\",\'\' ), \"\", \"\" ) . \"\' title=\'{$this->lang->words[\'topic_start\']}\' accesskey=\'s\'><img src=\'{$this->settings[\'img_url\']}/page_white_add.png\' alt=\'{$this->lang->words[\'topic_start\']}\' /> {$this->lang->words[\'topic_start\']}</a></li>\n \") : (\"\n <li class=\'disabled\'><span>{$this->lang->words[\'forum_no_start_topic\']}</span></li>\n \")) . \"\n \" . (($this->memberData[\'member_id\']) ? (\"\" . (($this->settings[\'cpu_watch_update\'] AND ( is_array( $this->memberData[\'_cache\'] ) AND is_array( $this->memberData[\'_cache\'][\'watchedForums\'] ) AND in_array( $forum_data[\'id\'], $this->memberData[\'_cache\'][\'watchedForums\'] ) )) ? (\"\n <li><a href=\'\" . $this->registry->getClass(\'output\')->formatUrl( $this->registry->getClass(\'output\')->buildUrl( \"app=core&amp;module=usercp&amp;tab=forums&amp;area=updateWatchForums&amp;do=saveIt&amp;authKey={$this->member->form_hash}&amp;forumIDs[{$forum_data[\'id\']}]=1&amp;trackchoice=unsubscribe&amp;forumReturn={$forum_data[\'id\']}\", \"public\",\'\' ), \"\", \"\" ) . \"\' title=\'{$this->lang->words[\'ft_title\']}\'>\" . $this->registry->getClass(\'output\')->getReplacement(\"watch_forum_on\") . \" {$this->lang->words[\'ft_title_stop\']}</a></li>\n \") : (\"\n <li><a href=\'\" . $this->registry->getClass(\'output\')->formatUrl( $this->registry->getClass(\'output\')->buildUrl( \"app=core&amp;module=usercp&amp;tab=forums&amp;area=watch&amp;do=watch&amp;watch=forum&amp;fid={$forum_data[\'id\']}\", \"public\",\'\' ), \"\", \"\" ) . \"\' title=\'{$this->lang->words[\'ft_title\']}\'>\" . $this->registry->getClass(\'output\')->getReplacement(\"watch_forum_off\") . \" {$this->lang->words[\'ft_title\']}</a></li>\n \")) . \"\") : (\"\")) . \"\n </ul>\n </div>\n <div class=\'category_block block_wrap\'>\n <table class=\'ipb_table topic_list\' summary=\'{$this->lang->words[\'forum_topic_list\']} \\\"{$forum_data[\'name\']}\\\"\' id=\'forum_table\'>\n <caption class=\'maintitle\'>\n <span class=\'main_forum_title\'>{$forum_data[\'name\']}</span><span class=\'desc\'><a href=\'\" . $this->registry->getClass(\'output\')->formatUrl( $this->registry->getClass(\'output\')->buildUrl( \"app=forums&amp;module=forums&amp;section=markasread&amp;marktype=forum&amp;forumid={$forum_data[\'id\']}&amp;returntoforumid={$forum_data[\'id\']}\", \"public\",\'\' ), \"\", \"\" ) . \"\' title=\'{$this->lang->words[\'mark_as_read\']}\'>({$this->lang->words[\'mark_as_read\']})</a></span></caption>\n <tr class=\'header\'>\n <th scope=\'col\' class=\'col_f_icon\'>&nbsp;</th>\n <th scope=\'col\' class=\'col_f_topic\'>{$this->lang->words[\'forum_topic\']}</th>\n <th scope=\'col\' class=\'col_f_starter short\'>{$this->lang->words[\'forum_started_by\']}</th>\n <th scope=\'col\' class=\'col_f_views stats\'>{$this->lang->words[\'forum_stats\']}</th>\n <th scope=\'col\' class=\'col_f_post\'>{$this->lang->words[\'forum_last_post_info\']}</th>\n \" . (($this->memberData[\'is_mod\'] == 1) ? (\"\n <th scope=\'col\' class=\'col_f_mod short\'><input type=\'checkbox\' id=\'tmod_all\' class=\'input_check\' title=\'{$this->lang->words[\'topic_select_all\']}\' value=\'1\' /></th>\n \") : (\"\")) . \"\n </tr> \n <!-- ANNOUNCEMENTS -->\n \" . ((is_array( $announce_data ) AND count( $announce_data )) ? (\"\".$this->__f__ee80942c138f8185540224eb52094b2a($forum_data,$announce_data,$topic_data,$other_data,$multi_mod_data,$sub_forum_data,$footer_filter,$active_user_data,$mod_data,$inforum).\" <tr class=\'subhead altbar\'>\n <th scope=\'col\' colspan=\'\" . (($this->memberData[\'is_mod\'] == 1) ? (\"6\") : (\"5\")) . \"\'>\n {$this->lang->words[\'forum_topic_list\']}\n </th>\n </tr>\") : (\"\")) . \"\n \n <!-- BEGIN TOPICS -->\n \" . ((is_array( $topic_data ) AND count( $topic_data )) ? (\"\n \".$this->__f__3e400d510c7f40e058f1bb2072dda41c($forum_data,$announce_data,$topic_data,$other_data,$multi_mod_data,$sub_forum_data,$footer_filter,$active_user_data,$mod_data,$inforum).\" \") : (\"<tr> \n \" . (($this->memberData[\'is_mod\'] == 1) ? (\"\n <td colspan=\'6\' class=\'no_messages\'>\n \") : (\"\n <td colspan=\'5\' class=\'no_messages\'>\n \")) . \"\n {$this->lang->words[\'no_topics\']}\n </td>\n </tr>\")) . \"\n </table>\n \" . (($this->memberData[\'is_mod\'] == 1) ? (\"<div id=\'topic_mod\' class=\'moderation_bar rounded with_action clear\'>\n <!-- SKINNOTE: Check delete -->\n <form id=\'modform\' method=\\\"post\\\" action=\\\"\" . $this->registry->getClass(\'output\')->formatUrl( $this->registry->getClass(\'output\')->buildUrl( \"\", \"public\",\'\' ), \"\", \"\" ) . \"\\\">\n <fieldset>\n <input type=\\\"hidden\\\" name=\\\"app\\\" value=\\\"forums\\\" />\n <input type=\\\"hidden\\\" name=\\\"module\\\" value=\\\"moderate\\\" />\n <input type=\\\"hidden\\\" name=\\\"section\\\" value=\\\"moderate\\\" />\n <input type=\\\"hidden\\\" name=\\\"do\\\" value=\\\"topicchoice\\\" />\n <input type=\\\"hidden\\\" name=\\\"st\\\" value=\\\"{$this->request[\'st\']}\\\" />\n <input type=\\\"hidden\\\" name=\\\"f\\\" value=\\\"{$forum_data[\'id\']}\\\" />\n <input type=\\\"hidden\\\" name=\\\"auth_key\\\" value=\\\"{$this->member->form_hash}\\\" />\n <input type=\\\"hidden\\\" name=\\\"modfilter\\\" value=\\\"{$this->request[\'modfilter\']}\\\" />\n <input type=\\\"hidden\\\" value=\\\"{$this->request[\'selectedtids\']}\\\" id=\'selectedtids\' name=\\\"selectedtids\\\" />\n \n <input type=\'button\' id=\'forum_mod_options\' value=\'{$this->lang->words[\'forum_management\']}\' class=\'input_submit alt left ipbmenu\' />\n <ul class=\'ipbmenu_content\' id=\'forum_mod_options_menucontent\'>\n <li><a href=\'\" . $this->registry->getClass(\'output\')->formatUrl( $this->registry->getClass(\'output\')->buildUrl( \"app=forums&amp;module=moderate&amp;section=moderate&amp;do=prune_start&amp;f={$forum_data[\'id\']}&amp;auth_key={$this->member->form_hash}\", \"public\",\'\' ), \"\", \"\" ) . \"\' title=\'{$this->lang->words[\'mod_prumemovetopics\']}\'>{$this->lang->words[\'mod_prumemovetopics\']}</a></li>\n <li><a href=\'\" . $this->registry->getClass(\'output\')->formatUrl( $this->registry->getClass(\'output\')->buildUrl( \"app=forums&amp;module=moderate&amp;section=moderate&amp;do=resync&amp;f={$forum_data[\'id\']}&amp;auth_key={$this->member->form_hash}\", \"public\",\'\' ), \"\", \"\" ) . \"\' title=\'{$this->lang->words[\'mod_resync\']}\'>{$this->lang->words[\'mod_resync\']}</a></li>\n <li><a href=\'\" . $this->registry->getClass(\'output\')->formatUrl( $this->registry->getClass(\'output\')->buildUrl( \"showforum={$forum_data[\'id\']}&amp;modfilter=invisible_topics\", \"public\",\'\' ), \"{$forum_data[\'name_seo\']}\", \"showforum\" ) . \"\' title=\'{$this->lang->words[\'mod_hidden\']}\'>{$this->lang->words[\'mod_hidden\']}</a></li>\n <li><a href=\'\" . $this->registry->getClass(\'output\')->formatUrl( $this->registry->getClass(\'output\')->buildUrl( \"showforum={$forum_data[\'id\']}&amp;modfilter=invisible_posts\", \"public\",\'\' ), \"{$forum_data[\'name_seo\']}\", \"showforum\" ) . \"\' title=\'{$this->lang->words[\'mod_hidden_posts\']}\'>{$this->lang->words[\'mod_hidden_posts\']}</a></li>\n </ul>\n \n <select name=\\\"tact\\\" id=\'mod_tact\'>\n <option value=\\\"close\\\">{$this->lang->words[\'cpt_close\']}</option>\n <option value=\\\"open\\\">{$this->lang->words[\'cpt_open\']}</option>\n <option value=\\\"pin\\\">{$this->lang->words[\'cpt_pin\']}</option>\n <option value=\\\"unpin\\\">{$this->lang->words[\'cpt_unpin\']}</option>\n <option value=\\\"move\\\">{$this->lang->words[\'cpt_move\']}</option>\n <option value=\\\"merge\\\">{$this->lang->words[\'cpt_merge\']}</option>\n <option value=\\\"delete\\\">{$this->lang->words[\'cpt_delete\']}</option>\n \" . (($this->registry->class_forums->can_Un_SoftDeleteTopics( $forum_data[\'id\'], array() )) ? (\"<option value=\\\"sundelete\\\">{$this->lang->words[\'cpt_undelete\']}</option>\") : (\"\")) . \"\n <option value=\\\"approve\\\">{$this->lang->words[\'cpt_approve\']}</option>\n <option value=\\\"unapprove\\\">{$this->lang->words[\'cpt_unapprove\']}</option>\n \" . (($forum_data[\'queued_topics\'] AND $this->registry->class_forums->canQueuePosts( $forum_data[\'id\'] )) ? (\"\n <option value=\\\"t_approve\\\">\" . sprintf( $this->lang->words[\'nmo_t_approve\'], $forum_data[\'queued_topics\']) . \"</option>\n \") : (\"\")) . \"\" . (($forum_data[\'queued_topics\'] AND $this->registry->class_forums->canHardDeleteTopics( $forum_data[\'id\'], array() )) ? (\"\n <option value=\\\"t_delete_approve\\\">\" . sprintf( $this->lang->words[\'nmo_t_delete_approve\'], $forum_data[\'queued_topics\']) . \"</option>\n \") : (\"\")) . \"\" . (($forum_data[\'permissions\'][\'TopicSoftDeleteRestore\'] AND $forum_data[\'deleted_topics\']) ? (\"\n <option value=\\\"t_restore\\\">\" . sprintf( $this->lang->words[\'nmo_t_restore\'], $forum_data[\'deleted_topics\']) . \"</option>\n \") : (\"\")) . \"\" . (($forum_data[\'deleted_topics\'] AND $this->registry->class_forums->canHardDeleteTopics( $forum_data[\'id\'], array() )) ? (\"\n <option value=\\\"t_delete_softed\\\">\" . sprintf( $this->lang->words[\'nmo_t_delete_softed\'], $forum_data[\'deleted_topics\']) . \"</option>\n \") : (\"\")) . \"\n \" . ((is_array( $multi_mod_data ) AND count( $multi_mod_data )) ? (\"\n <option value=\\\"-1\\\">------------------------------</option>\n <option value=\\\"-1\\\">{$this->lang->words[\'mm_title\']}</option>\n <option value=\\\"-1\\\">------------------------------</option>\n \".$this->__f__58090a6fac8d8c918d16058eb944b808($forum_data,$announce_data,$topic_data,$other_data,$multi_mod_data,$sub_forum_data,$footer_filter,$active_user_data,$mod_data,$inforum).\" \") : (\"\")) . \"\n </select>&nbsp;\n <input type=\\\"submit\\\" name=\\\"gobutton\\\" value=\\\"{$this->lang->words[\'f_go\']}\\\" class=\\\"input_submit alt\\\" id=\'mod_submit\' />\n </fieldset>\n </form>\n <script type=\'text/javascript\'>\n $(\'modform\').observe(\'submit\', ipb.forums.submitModForm);\n $(\'mod_tact\').observe(\'change\', ipb.forums.updateTopicModButton);\n </script>\n </div>\") : (\"\")) . \"\n <div id=\'forum_filter\' class=\'filter_bar rounded\'>\n <span id=\'show_filters\' class=\'clickable\' style=\'display: none\'>{$this->lang->words[\'filter_options\']}</span>\n <form id=\'filter_form\' action=\\\"\" . $this->registry->getClass(\'output\')->formatUrl( $this->registry->getClass(\'output\')->buildUrl( \"showforum={$forum_data[\'id\']}&amp;st={$this->request[\'st\']}&amp;changefilters=1\", \"public\",\'\' ), \"{$forum_data[\'name_seo\']}\", \"showforum\" ) . \"\\\" method=\\\"post\\\">\n <fieldset>\n <label for=\'topic_filter\'>{$this->lang->words[\'filter_type\']}</label> <select name=\\\"topicfilter\\\" id=\'topic_filter\' class=\'input_select\'>{$footer_filter[\'topic_filter\']}</select>\n <label for=\'sort_by\'>{$this->lang->words[\'filter_sort\']}</label> <select name=\\\"sort_key\\\" id=\'sort_by\' class=\'input_select\'>{$footer_filter[\'sort_by\']}</select>\n <label for=\'direction\'>{$this->lang->words[\'filter_direction\']}</label> <select name=\\\"sort_by\\\" id=\'direction\' class=\'input_select\'>{$footer_filter[\'sort_order\']}</select>\n <label for=\'time_frame\'>{$this->lang->words[\'filter_time\']}</label> <select name=\\\"prune_day\\\" id=\'time_frame\' class=\'input_select\'>{$footer_filter[\'sort_prune\']}</select>\n <input type=\'checkbox\' value=\'1\' name=\'remember\' class=\'input_check\' id=\'remember_filter\' /> <label for=\'remember_filter\'>{$this->lang->words[\'remember_options\']}</label>\n <input type=\\\"submit\\\" value=\\\"{$this->lang->words[\'sort_submit\']}\\\" class=\\\"input_submit alt\\\" />\n </fieldset>\n </form>\n <script type=\'text/javascript\'>\n if( $(\'filter_form\' ) ){\n $(\'filter_form\').hide();\n $(\'show_filters\').show();\n }\n </script>\n </div>\n \" . (($forum_data[\'FORUM_JUMP\']) ? (\"\n <div class=\'moderation_bar rounded\'>\n <!--<form method=\'post\' action=\'{$this->settings[\'base_url\']}app=core&amp;module=search&amp;do=quick_search&amp;search_app=forums\' id=\'context_search\' class=\'left\'>\n <fieldset>\n <input type=\'hidden\' name=\'type\' value=\'forum\' />\n <input type=\'hidden\' name=\'type_id\' value=\'{$forum_data[\'id\']}\' />\n <label for=\'forum_search\'>{$this->lang->words[\'search_forum\']}</label>\n <input type=\'text\' id=\'forum_search\' name=\'search_term\' class=\'input_text\' size=\'20\' tabindex=\'8\' />\n <input type=\'submit\' class=\'input_submit alt\' value=\'{$this->lang->words[\'jmp_go\']}\' />\n </fieldset>\n </form>-->\n \n {$forum_data[\'FORUM_JUMP\']}\n </div>\n \") : (\"\")) . \"\n </div>\n \n \n \n <div class=\'topic_controls\'>\n {$forum_data[\'SHOW_PAGES\']}\n \n <ul class=\'topic_buttons\'>\n \" . (($forum_data[\'_user_can_post\']) ? (\"\n <li><a href=\'\" . $this->registry->getClass(\'output\')->formatUrl( $this->registry->getClass(\'output\')->buildUrl( \"module=post&amp;section=post&amp;do=new_post&amp;f={$forum_data[\'id\']}\", \"publicWithApp\",\'\' ), \"\", \"\" ) . \"\' title=\'{$this->lang->words[\'topic_start\']}\'><img src=\'{$this->settings[\'img_url\']}/page_white_add.png\' alt=\'{$this->lang->words[\'topic_start\']} Icon\' /> {$this->lang->words[\'topic_start\']}</a></li>\n \") : (\"\n <li class=\'disabled\'><span>{$this->lang->words[\'forum_no_start_topic\']}</span></li>\n \")) . \"\n </ul>\n </div>\n \n \n <div id=\'forum_footer\' class=\'statistics general_box clear clearfix\'>\n <div id=\'forum_legend\' class=\'right\'>\n <h2>{$this->lang->words[\'forum_legend\']}</h2>\n <dl>\n <dt class=\'clear\'>\" . $this->registry->getClass(\'output\')->getReplacement(\"t_unread\") . \"</dt>\n <dd>{$this->lang->words[\'pm_open_new\']}</dd>\n <dt>\" . $this->registry->getClass(\'output\')->getReplacement(\"t_read\") . \"</dt>\n <dd>{$this->lang->words[\'pm_open_no\']}</dd>\n <dt class=\'clear\'>\" . $this->registry->getClass(\'output\')->getReplacement(\"t_hot_unread\") . \"</dt>\n <dd>{$this->lang->words[\'pm_hot_new\']}</dd>\n <dt>\" . $this->registry->getClass(\'output\')->getReplacement(\"t_hot_read\") . \"</dt>\n <dd>{$this->lang->words[\'pm_hot_no\']}</dd>\n <dt class=\'clear\'>\" . $this->registry->getClass(\'output\')->getReplacement(\"t_poll_unread\") . \"</dt>\n <dd>{$this->lang->words[\'pm_poll\']}</dd>\n <dt>\" . $this->registry->getClass(\'output\')->getReplacement(\"t_poll_read\") . \"</dt>\n <dd>{$this->lang->words[\'pm_poll_no\']}</dd>\n <dt class=\'clear\'>\" . $this->registry->getClass(\'output\')->getReplacement(\"t_closed\") . \"</dt>\n <dd>{$this->lang->words[\'pm_locked\']}</dd>\n <dt>\" . $this->registry->getClass(\'output\')->getReplacement(\"t_moved\") . \"</dt>\n <dd>{$this->lang->words[\'pm_moved\']}</dd>\n </dl>\n </div> \n \" . ((!$this->settings[\'no_au_forum\']) ? (\"<div id=\'forum_active_users\' class=\'active_users stats_list\'>\n <h2>\n \" . sprintf( $this->lang->words[\'active_users_title\'], ($active_user_data[\'members\'] + $active_user_data[\'guests\'] + $active_user_data[\'anon\'] ) ) . \"<br />\n <span class=\'desc\'>\" . sprintf( $this->lang->words[\'active_users_detail\'], $active_user_data[\'members\'], $active_user_data[\'guests\'], $active_user_data[\'anon\'] ) . \"</span>\n </h2>\n <ul>\n \" . ((is_array( $active_user_data[\'names\'] ) AND count( $active_user_data[\'names\'] )) ? (\"\n \".$this->__f__2b8fe642bcbf7fe6fbf2b386cdbedf31($forum_data,$announce_data,$topic_data,$other_data,$multi_mod_data,$sub_forum_data,$footer_filter,$active_user_data,$mod_data,$inforum).\" \") : (\"\")) . \"\n </ul>\n </div>\") : (\"\")) . \"\n \" . ((is_array( $mod_data ) AND count( $mod_data )) ? (\"\n <div id=\'forum_led_by\' class=\'active_users stats_list\'>\n <h2>{$this->lang->words[\'forum_led_by\']}</h2>\n <ul>\n \".$this->__f__0b5355b2290ff9c299ed06665156d5b3($forum_data,$announce_data,$topic_data,$other_data,$multi_mod_data,$sub_forum_data,$footer_filter,$active_user_data,$mod_data,$inforum).\" </ul>\n </div>\n \") : (\"\")) . \"\n </div>\n <br class=\'clear\' />\") : (\"\")) . \"\n<div id=\'delPopUp\' style=\'display:none\'>\n <h3 class=\'bar\'>{$this->lang->words[\'dlt_title\']}</h3>\n <div class=\'general_box\'>\n <form action=\'#{removeUrl}\' method=\'POST\'>\n <strong>{$this->lang->words[\'dlt_remove_from_view\']}</strong>\n <p class=\'desc\'>{$this->lang->words[\'dlt_remove_from_view_desc\']}</p>\n <p style=\'padding:4px 0px 4px 0px\'>{$this->lang->words[\'dlt_reason\']} <input type=\'text\' name=\'deleteReason\' id=\'delPop_reason\' value=\'\' style=\'width:65%\' /> <input type=\'submit\' class=\'input_submit\' value=\'{$this->lang->words[\'dlt_remove\']}\' /></p>\n </form>\n <div style=\'#{permaDelete}padding-top:5px\'>\n <strong>{$this->lang->words[\'dlt_delete_from_topic\']}</strong>\n <p class=\'desc\'>{$this->lang->words[\'dlt_delete_from_topic_desc\']}</p>\n <p style=\'padding:4px 0px 4px 0px\'><input type=\'button\' class=\'input_submit\' onclick=\\\"window.location=\'#{permaUrl}\';\\\" value=\'{$this->lang->words[\'dlt_delete_now\']}\' /></p>\n </div>\n </div>\n</div>\";\nreturn $IPBHTML;\n}\n\n\nfunction __f__f37914ef3c1024dd35ad604d8512d3fe($forum_data, $announce_data, $topic_data, $other_data, $multi_mod_data, $sub_forum_data, $footer_filter, $active_user_data, $mod_data, $inforum=1,$_data=\'\',$forum_id=\'\',$forum_data=\'\')\r\n{\r\n $_ips___x_retval = \'\';\r\n $__iteratorCount = 0;\r\n foreach( $forum_data[\'subforums\'] as $__id => $__data )\r\n {\r\n \r\n $__iteratorCount++;\r\n $_ips___x_retval .= \"\n \" . (($__data[3]) ? (\"<li class=\'newposts\'>\") : (\"<li>\")) . \"<a href=\\\"\" . $this->registry->getClass(\'output\')->formatUrl( $this->registry->getClass(\'output\')->buildUrl( \"showforum={$__data[0]}\", \"public\",\'\' ), \"{$__data[2]}\", \"showforum\" ) . \"\\\" title=\'{$this->lang->words[\'go_to_forum\']}\'>{$__data[1]}</a></li>\n \n\";\r\n }\r\n $_ips___x_retval .= \'\';\r\n unset( $__iteratorCount );\r\n return $_ips___x_retval;\r\n}\n\nfunction __f__57b55e7e530ffb6f8c97ab216423bda6($forum_data, $announce_data, $topic_data, $other_data, $multi_mod_data, $sub_forum_data, $footer_filter, $active_user_data, $mod_data, $inforum=1,$_data=\'\')\r\n{\r\n $_ips___x_retval = \'\';\r\n $__iteratorCount = 0;\r\n foreach( $_data[\'forum_data\'] as $forum_id => $forum_data )\r\n {\r\n \r\n $__iteratorCount++;\r\n $_ips___x_retval .= \"\n \" . (($forum_data[\'redirect_on\']) ? (\"\n <tr class=\'\" . IPSLib::next( $this->registry->templateStriping[\"catTable\"] ) . \" redirect_forum\'>\n <td class=\'altrow\'>\" . $this->registry->getClass(\'output\')->getReplacement(\"f_redirect\") . \"</td>\n <td>\n <h4><a href=\\\"\" . $this->registry->getClass(\'output\')->formatUrl( $this->registry->getClass(\'output\')->buildUrl( \"showforum={$forum_data[\'id\']}\", \"public\",\'\' ), \"{$forum_data[\'name_seo\']}\", \"showforum\" ) . \"\\\" title=\'{$this->lang->words[\'goto_forum\']}\'>{$forum_data[\'name\']}</a></h4>\n <p class=\'desc\'>{$forum_data[\'description\']}</p>\n </td>\n <td colspan=\'3\'>\n {$this->lang->words[\'rd_hits\']}: {$forum_data[\'redirect_hits\']}\n </td>\n </tr>\n \") : (\"<tr class=\'\" . IPSLib::next( $this->registry->templateStriping[\"catTable\"] ) . \"\'>\n <td class=\'altrow\'>\n <a id=\'forum_img_{$forum_data[\'id\']}\' href=\\\"\" . $this->registry->getClass(\'output\')->formatUrl( $this->registry->getClass(\'output\')->buildUrl( \"app=forums&amp;module=forums&amp;section=markasread&amp;marktype=forum&amp;forumid={$forum_data[\'id\']}&amp;returntoforumid={$this->request[\'f\']}\", \"public\",\'\' ), \"\", \"\" ) . \"\\\" title=\\\"{$this->lang->words[\'bi_markread\']}\\\" class=\'forum_marker\'>\n\n\" . (($forum_data[\'icon\'] != \'\' AND $forum_data[\'icon\'] !=\'0\') ? (\"\n <center><img src=\'{$this->settings[\'board_url\']}/public/forumicons/{$forum_data[\'icon\']}.png\' /></center>\n \") : (\" \n \" . $this->registry->getClass(\'output\')->getReplacement(\"{$forum_data[\'img_new_post\']}\") . \"\n \")) . \"\n </a>\n \n \n <script type=\'text/javascript\'>\n ipb.global.registerMarker( \'forum_img_{$forum_data[\'id\']}\', \\\"{$forum_data[\'img_new_post\']}\\\", markerURL + \\\"&forumid={$forum_data[\'id\']}\\\" );\n </script>\n </td>\n <td>\n <h4><a href=\\\"\" . $this->registry->getClass(\'output\')->formatUrl( $this->registry->getClass(\'output\')->buildUrl( \"showforum={$forum_data[\'id\']}\", \"public\",\'\' ), \"{$forum_data[\'name_seo\']}\", \"showforum\" ) . \"\\\" title=\'{$this->lang->words[\'goto_forum\']}\'>{$forum_data[\'name\']}</a></h4>\n <p class=\'desc\'>{$forum_data[\'description\']}</p>\n \n \" . (($forum_data[\'show_subforums\'] AND count( $forum_data[\'subforums\'] ) AND $forum_data[\'show_subforums\']) ? (\"\n <h5 class=\'hide\'>{$this->lang->words[\'subforums\']}</h5>\n <ol class=\'subforums\' id=\'subforums_{$forum_data[\'id\']}\'>\n \".$this->__f__f37914ef3c1024dd35ad604d8512d3fe($forum_data,$announce_data,$topic_data,$other_data,$multi_mod_data,$sub_forum_data,$footer_filter,$active_user_data,$mod_data,$inforum,$_data,$forum_id,$forum_data).\" </ol>\n \") : (\"\")) . \"\n <!-- Skinnote: Clean up queued stuff -->\n \" . (($forum_data[\'_has_queued_and_can_see_icon\']) ? (\"\n <em class=\'moderated\'><a href=\'\" . $this->registry->getClass(\'output\')->formatUrl( $this->registry->getClass(\'output\')->buildUrl( \"showforum={$forum_data[\'id\']}&amp;modfilter=all\", \"public\",\'\' ), \"{$forum_data[\'name_seo\']}\", \"showforum\" ) . \"\' title=\'{$this->lang->words[\'view_unapproved\']}\'>\" . sprintf( $this->lang->words[\'f_queued\'], $forum_data[\'queued_topics\'], $forum_data[\'queued_posts\']) . \"</a></em>\n \") : (\"\")) . \"\n </td>\n <td class=\'altrow stats\'>\n <ul>\n <li>{$forum_data[\'topics\']}</li>\n </ul>\n </td>\n <td class=\'altrow stats\'>\n <ul>\n <li>{$forum_data[\'posts\']}</li>\n </ul>\n </td>\n <td>\n <ul class=\'last_post\'>\n \" . (($forum_data[\'hide_last_info\']) ? (\"\n <li>{$this->lang->words[\'f_protected\']}</li>\n \") : (\"<li><strong>{$forum_data[\'last_topic_title\']}</strong></li>\n <li><div class=\\\"smalltext\\\">\" . (($forum_data[\'_hide_last_date\']) ? (\"\n \" . $this->registry->getClass(\'class_localization\')->getDate($forum_data[\'last_post\'],\"LONG\", 0) . \"\n \") : (\"\n <a href=\'\" . $this->registry->getClass(\'output\')->formatUrl( $this->registry->getClass(\'output\')->buildUrl( \"showtopic={$forum_data[\'last_id\']}&amp;view=getlastpost\", \"public\",\'\' ), \"{$forum_data[\'seo_last_title\']}\", \"showtopic\" ) . \"\' title=\'{$this->lang->words[\'view_last_post\']}\'>\" . $this->registry->getClass(\'class_localization\')->getDate($forum_data[\'last_post\'],\"LONG\", 0) . \"</a>\n \")) . \"\n {$this->lang->words[\'by\']}\n \" . ((isset($forum_data[\'last_poster_name\']) AND $forum_data[\'last_poster_name\']) ? (\"\" . (($forum_data[\'last_poster_id\']) ? (\"\n <a href=\'\" . $this->registry->getClass(\'output\')->formatUrl( $this->registry->getClass(\'output\')->buildUrl( \"showuser={$forum_data[\'last_poster_id\']}\", \"public\",\'\' ), \"{$forum_data[\'seo_last_name\']}\", \"showuser\" ) . \"\' title=\'{$this->lang->words[\'view_profile\']}\'>{$forum_data[\'last_poster_name\']}</a>\" . ( method_exists( $this->registry->getClass(\'output\')->getTemplate(\'global\'), \'user_popup\' ) ? $this->registry->getClass(\'output\')->getTemplate(\'global\')->user_popup($forum_data[\'last_poster_id\'], $forum_data[\'seo_last_name\']) : \'\' ) . \"\n \") : (\"\n {$this->settings[\'guest_name_pre\']}{$forum_data[\'last_poster_name\']}{$this->settings[\'guest_name_suf\']}\n \")) . \"\") : (\"\n {$this->lang->words[\'f_none\']}\n \")) . \"\n\n <div class=\\\"stats_arrow\\\"><a href=\'\" . $this->registry->getClass(\'output\')->formatUrl( $this->registry->getClass(\'output\')->buildUrl( \"showtopic={$forum_data[\'last_id\']}&amp;view=getlastpost\", \"public\",\'\' ), \"{$forum_data[\'seo_last_title\']}\", \"showtopic\" ) . \"\' title=\'{$this->lang->words[\'view_last_post\']}\'>\" . $this->registry->getClass(\'output\')->getReplacement(\"f_lastpost\") . \"</a></div>\n </div></li>\")) . \"\n </ul>\n </td>\n </tr>\")) . \"\n \n\";\r\n }\r\n $_ips___x_retval .= \'\';\r\n unset( $__iteratorCount );\r\n return $_ips___x_retval;\r\n}\n\nfunction __f__a7d2f53ec1ec613d650a5a4cf831d0ab($forum_data, $announce_data, $topic_data, $other_data, $multi_mod_data, $sub_forum_data, $footer_filter, $active_user_data, $mod_data, $inforum=1)\r\n{\r\n $_ips___x_retval = \'\';\r\n $__iteratorCount = 0;\r\n foreach( $sub_forum_data as $_data )\r\n {\r\n \nif ( ! isset( $this->registry->templateStriping[\'catTable\'] ) ) {\n$this->registry->templateStriping[\'catTable\'] = array( FALSE, \"row1\",\"row2\");\n}\n\r\n $__iteratorCount++;\r\n $_ips___x_retval .= \"\n \" . ((is_array( $_data[\'forum_data\'] ) AND count( $_data[\'forum_data\'] )) ? (\"\n \".$this->__f__57b55e7e530ffb6f8c97ab216423bda6($forum_data,$announce_data,$topic_data,$other_data,$multi_mod_data,$sub_forum_data,$footer_filter,$active_user_data,$mod_data,$inforum,$_data).\" \") : (\"\")) . \"\n \n\";\r\n }\r\n $_ips___x_retval .= \'\';\r\n unset( $__iteratorCount );\r\n return $_ips___x_retval;\r\n}\n\nfunction __f__ee80942c138f8185540224eb52094b2a($forum_data, $announce_data, $topic_data, $other_data, $multi_mod_data, $sub_forum_data, $footer_filter, $active_user_data, $mod_data, $inforum=1)\r\n{\r\n $_ips___x_retval = \'\';\r\n $__iteratorCount = 0;\r\n foreach( $announce_data as $aid => $adata )\r\n {\r\n \r\n $__iteratorCount++;\r\n $_ips___x_retval .= \"\n <tr class=\'row2 announcement\' id=\'arow_{$adata[\'announce_id\']}\'>\n <td class=\'short altrow\'>\" . $this->registry->getClass(\'output\')->getReplacement(\"t_announcement\") . \"</td>\n \" . (($this->memberData[\'is_mod\'] == 1) ? (\"\n <td colspan=\'5\'>\n \") : (\"\n <td colspan=\'4\'>\n \")) . \"\n <span class=\'topic_prefix\'>{$this->lang->words[\'announce_row\']}</span>&nbsp;\n <a href=\\\"\" . $this->registry->getClass(\'output\')->formatUrl( $this->registry->getClass(\'output\')->buildUrl( \"showannouncement={$adata[\'announce_id\']}&amp;f={$forum_data[\'id\']}\", \"public\",\'\' ), \"%%{$adata[\'announce_title\']}%%\", \"showannouncement\" ) . \"\\\" title=\'{$this->lang->words[\'view_announcement\']}\'>{$adata[\'announce_title\']}</a><br />\n <span class=\'desc\'>{$this->lang->words[\'posted_by\']} <strong><a href=\\\"\" . $this->registry->getClass(\'output\')->formatUrl( $this->registry->getClass(\'output\')->buildUrl( \"showuser={$adata[\'member_id\']}\", \"public\",\'\' ), \"{$adata[\'members_seo_name\']}\", \"showuser\" ) . \"\\\" title=\'{$this->lang->words[\'view_profile\']}\'>{$adata[\'member_name\']}</a> \" . ( method_exists( $this->registry->getClass(\'output\')->getTemplate(\'global\'), \'user_popup\' ) ? $this->registry->getClass(\'output\')->getTemplate(\'global\')->user_popup($adata[\'member_id\'], $adata[\'members_seo_name\']) : \'\' ) . \"</strong>\n \" . (($adata[\'announce_start\'] AND $adata[\'announce_start\'] != \'--\') ? (\", {$adata[\'announce_start\']}\") : (\"\")) . \"\n </span>\n </td>\n </tr>\n \n\";\r\n }\r\n $_ips___x_retval .= \'\';\r\n unset( $__iteratorCount );\r\n return $_ips___x_retval;\r\n}\n\nfunction __f__8365e5561d4b1789c7420f194a139cb4($forum_data, $announce_data, $topic_data, $other_data, $multi_mod_data, $sub_forum_data, $footer_filter, $active_user_data, $mod_data, $inforum=1,$tid=\'\',$data=\'\')\r\n{\r\n $_ips___x_retval = \'\';\r\n $__iteratorCount = 0;\r\n foreach( $data[\'pages\'] as $page )\r\n {\r\n \r\n $__iteratorCount++;\r\n $_ips___x_retval .= \"\n \" . (($page[\'last\']) ? (\"\n <li><a href=\\\"\" . $this->registry->getClass(\'output\')->formatUrl( $this->registry->getClass(\'output\')->buildUrl( \"showtopic={$data[\'tid\']}&amp;st={$page[\'st\']}\", \"public\",\'\' ), \"{$data[\'title_seo\']}\", \"showtopic\" ) . \"\\\" title=\'{$this->lang->words[\'topic_goto_page\']} {$page[\'page\']}\'>{$page[\'page\']} {$this->lang->words[\'_rarr\']}</a></li>\n \") : (\"\n <li><a href=\\\"\" . $this->registry->getClass(\'output\')->formatUrl( $this->registry->getClass(\'output\')->buildUrl( \"showtopic={$data[\'tid\']}&amp;st={$page[\'st\']}\", \"public\",\'\' ), \"{$data[\'title_seo\']}\", \"showtopic\" ) . \"\\\" title=\'{$this->lang->words[\'topic_goto_page\']} {$page[\'page\']}\'>{$page[\'page\']}</a></li>\n \")) . \"\n \n\";\r\n }\r\n $_ips___x_retval .= \'\';\r\n unset( $__iteratorCount );\r\n return $_ips___x_retval;\r\n}\n\nfunction __f__3e400d510c7f40e058f1bb2072dda41c($forum_data, $announce_data, $topic_data, $other_data, $multi_mod_data, $sub_forum_data, $footer_filter, $active_user_data, $mod_data, $inforum=1)\r\n{\r\n $_ips___x_retval = \'\';\r\n $__iteratorCount = 0;\r\n foreach( $topic_data as $tid => $data )\r\n {\r\n \r\n $__iteratorCount++;\r\n $_ips___x_retval .= \"\n \" . ((($this->memberData[\'is_mod\'] AND ! $data[\'approved\']) OR $data[\'_isDeleted\']) ? (\"\n <tr class=\'\" . IPSLib::next( $this->registry->templateStriping[\"forumTable\"] ) . \" moderated\' id=\'trow_{$data[\'tid\']}\'>\n \") : (\"\n <tr class=\'\" . IPSLib::next( $this->registry->templateStriping[\"forumTable\"] ) . \"\' id=\'trow_{$data[\'tid\']}\'>\n \")) . \"\n <td class=\'short altrow\'>\" . $this->registry->getClass(\'output\')->getReplacement(\"{$data[\'folder_img\']}\") . \"</td>\n <td class=\'__topic __tid{$data[\'tid\']}\" . (($this->memberData[\'is_mod\'] == 1 || $forum_data[\'permissions\'][\'TopicSoftDelete\']) ? (\" with_mod_links\") : (\"\")) . \"\'>\n \" . (($data[\'state\'] != \'link\') ? (\"<span class=\'topic_preview right\'>\" . ( method_exists( $this->registry->getClass(\'output\')->getTemplate(\'global\'), \'topic_popup\' ) ? $this->registry->getClass(\'output\')->getTemplate(\'global\')->topic_popup($data[\'tid\']) : \'\' ) . \"</span>\") : (\"\")) . \"\n \" . (($data[\'_isDeleted\']) ? (\"<ul class=\'topic_moderation right rounded\'>\n \" . (($forum_data[\'permissions\'][\'TopicSoftDeleteRestore\']) ? (\"\n <li class=\'t_restore\'><a href=\'\" . $this->registry->getClass(\'output\')->formatUrl( $this->registry->getClass(\'output\')->buildUrl( \"app=forums&amp;module=moderate&amp;section=moderate&amp;f={$forum_data[\'id\']}&amp;t={$data[\'tid\']}&amp;st={$this->request[\'st\']}&amp;auth_key={$this->member->form_hash}&amp;do=sundelete\", \"public\",\'\' ), \"\", \"\" ) . \"\' title=\'{$this->lang->words[\'dlt_restore_topic\']}\'><img src=\'{$this->settings[\'img_url\']}/arrow_rotate_clockwise.png\' alt=\'{$this->lang->words[\'dlt_restore_topic\']}\' title=\'{$this->lang->words[\'dlt_restore_topic\']}\' /></a></li>\n \") : (\"\")) . \"\n \" . (($this->memberData[\'g_is_supmod\'] == 1 || $this->memberData[\'forumsModeratorData\'][ $forum_data[\'id\'] ][\'delete_topic\']) ? (\"\n <li class=\'t_restore\'><a href=\'\" . $this->registry->getClass(\'output\')->formatUrl( $this->registry->getClass(\'output\')->buildUrl( \"app=forums&amp;module=moderate&amp;section=moderate&amp;f={$forum_data[\'id\']}&amp;st={$this->request[\'st\']}&amp;t={$data[\'real_tid\']}&amp;auth_key={$this->member->form_hash}&amp;do=03\", \"public\",\'\' ), \"\", \"\" ) . \"\' title=\'{$this->lang->words[\'dlt_delete_topic\']}\'><img src=\'{$this->settings[\'img_url\']}/delete.png\' alt=\'{$this->lang->words[\'dlt_delete_topic\']}\' title=\'{$this->lang->words[\'dlt_delete_topic\']}\' /></a></li>\n \") : (\"\")) . \"\n </ul>\") : (\"\" . (($this->memberData[\'is_mod\'] == 1 || $forum_data[\'permissions\'][\'TopicSoftDelete\']) ? (\"<ul class=\'topic_moderation right rounded\'>\n <li class=\'t_rename\'><a href=\'\" . $this->registry->getClass(\'output\')->formatUrl( $this->registry->getClass(\'output\')->buildUrl( \"app=forums&amp;module=moderate&amp;section=moderate&amp;f={$forum_data[\'id\']}&amp;t={$data[\'tid\']}&amp;auth_key={$this->member->form_hash}&amp;do=05\", \"public\",\'\' ), \"\", \"\" ) . \"\' title=\'{$this->lang->words[\'topic_rename\']}\'><img src=\'{$this->settings[\'img_url\']}/textfield_rename.png\' alt=\'{$this->lang->words[\'topic_rename\']}\' title=\'{$this->lang->words[\'topic_rename\']}\' /></a></li>\n \" . (($this->memberData[\'g_is_supmod\'] == 1 || $this->memberData[\'forumsModeratorData\'][ $forum_data[\'id\'] ][\'delete_topic\'] || $forum_data[\'permissions\'][\'TopicSoftDelete\']) ? (\"\n <li class=\'t_delete\'><a id=\'t_deletelink_{$data[\'tid\']}\' href=\'\" . $this->registry->getClass(\'output\')->formatUrl( $this->registry->getClass(\'output\')->buildUrl( \"app=forums&amp;module=moderate&amp;section=moderate&amp;f={$forum_data[\'id\']}&amp;st={$this->request[\'st\']}&amp;t={$data[\'real_tid\']}&amp;auth_key={$this->member->form_hash}&amp;do=03\", \"public\",\'\' ), \"\", \"\" ) . \"\' title=\'{$this->lang->words[\'topic_delete\']}\'><img src=\'{$this->settings[\'img_url\']}/delete.png\' alt=\'{$this->lang->words[\'topic_delete\']}\' title=\'{$this->lang->words[\'topic_delete\']}\' /></a></li>\n \") : (\"\")) . \"\n \" . (($data[\'state\'] != \'link\') ? (\"\" . (($data[\'pinned\'] && ($this->memberData[\'g_is_supmod\'] OR $this->memberData[\'forumsModeratorData\'][ $forum_data[\'id\'] ][\'pin_topic\'])) ? (\"\n <li class=\'t_pin\'><a href=\'\" . $this->registry->getClass(\'output\')->formatUrl( $this->registry->getClass(\'output\')->buildUrl( \"app=forums&amp;module=moderate&amp;section=moderate&amp;f={$forum_data[\'id\']}&amp;t={$data[\'tid\']}&amp;st={$this->request[\'st\']}&amp;auth_key={$this->member->form_hash}&amp;do=16&amp;from=forum\", \"public\",\'\' ), \"\", \"\" ) . \"\' title=\'{$this->lang->words[\'topic_unpin\']}\'><img src=\'{$this->settings[\'img_url\']}/award_delete.png\' alt=\'{$this->lang->words[\'topic_unpin\']} icon\' title=\'{$this->lang->words[\'topic_unpin\']}\' /></a></li>\n \") : (\"\" . (($this->memberData[\'g_is_supmod\'] OR $this->memberData[\'forumsModeratorData\'][ $forum_data[\'id\'] ][\'unpin_topic\']) ? (\"\n <li class=\'t_pin\'><a href=\'\" . $this->registry->getClass(\'output\')->formatUrl( $this->registry->getClass(\'output\')->buildUrl( \"app=forums&amp;module=moderate&amp;section=moderate&amp;f={$forum_data[\'id\']}&amp;t={$data[\'tid\']}&amp;st={$this->request[\'st\']}&amp;auth_key={$this->member->form_hash}&amp;do=15&amp;from=forum\", \"public\",\'\' ), \"\", \"\" ) . \"\' title=\'{$this->lang->words[\'topic_pin\']}\'><img src=\'{$this->settings[\'img_url\']}/award.png\' alt=\'{$this->lang->words[\'topic_pin\']} icon\' title=\'{$this->lang->words[\'topic_pin\']}\' /></a></li>\n \") : (\"\")) . \"\")) . \"\") : (\"\")) . \"\n \" . (($data[\'state\'] == \'closed\' && $other_data[\'can_open_topics\']) ? (\"\n <li class=\'t_lock\'><a href=\'\" . $this->registry->getClass(\'output\')->formatUrl( $this->registry->getClass(\'output\')->buildUrl( \"app=forums&amp;module=moderate&amp;section=moderate&amp;f={$forum_data[\'id\']}&amp;t={$data[\'tid\']}&amp;st={$this->request[\'st\']}&amp;auth_key={$this->member->form_hash}&amp;do=01\", \"public\",\'\' ), \"\", \"\" ) . \"\' title=\'{$this->lang->words[\'topic_open\']}\'><img src=\'{$this->settings[\'img_url\']}/lock_open.png\' alt=\'{$this->lang->words[\'topic_open\']} icon\' title=\'{$this->lang->words[\'topic_open\']}\' /></a></li>\n \") : (\"\")) . \"\n \" . (($data[\'state\'] == \'open\' && $other_data[\'can_close_topics\']) ? (\"\n <li class=\'t_lock\'><a href=\'\" . $this->registry->getClass(\'output\')->formatUrl( $this->registry->getClass(\'output\')->buildUrl( \"app=forums&amp;module=moderate&amp;section=moderate&amp;f={$forum_data[\'id\']}&amp;t={$data[\'tid\']}&amp;st={$this->request[\'st\']}&amp;auth_key={$this->member->form_hash}&amp;do=00&amp;_from=forum\", \"public\",\'\' ), \"\", \"\" ) . \"\' title=\'{$this->lang->words[\'topic_close\']}\'><img src=\'{$this->settings[\'img_url\']}/lock.png\' alt=\'{$this->lang->words[\'topic_close\']} icon\' title=\'{$this->lang->words[\'topic_close\']}\' /></a></li>\n \") : (\"\")) . \"\n </ul>\") : (\"\")) . \"\")) . \"\n \n {$data[\'prefix\']}\n \" . ((isset( $this->memberData[\'_cache\'][\'report_temp\'][\'post_marker\'][\'topic\'][$data[\'tid\']][\'gfx\'] ) AND $this->memberData[\'_cache\'][\'report_temp\'][\'post_marker\'][\'topic\'][$data[\'tid\']][\'gfx\'] > 0) ? (\"\n <a href=\\\"\" . $this->registry->getClass(\'output\')->formatUrl( $this->registry->getClass(\'output\')->buildUrl( \"app=core&amp;module=reports&amp;section=reports&amp;do=findfirst&amp;tid={$data[\'tid\']}&amp;cid={$this->memberData[\'_cache\'][\'report_temp\'][\'post_marker\'][\'topic\'][$data[\'tid\']][\'info\'][\'com_id\']}\", \"public\",\'\' ), \"\", \"\" ) . \"\\\"> <img src=\\\"{$this->settings[\'img_url\']}/reports/post_alert_{$this->memberData[\'_cache\'][\'report_temp\'][\'post_marker\'][\'topic\'][$data[\'tid\']][\'gfx\']}.png\\\" alt=\'\' title=\'{$this->lang->words[\'view_reported_posts\']}\' /> </a>\n \") : (\"\")) . \"\n \" . (($data[\'go_new_post\'] === true) ? (\"<a href=\'\" . $this->registry->getClass(\'output\')->formatUrl( $this->registry->getClass(\'output\')->buildUrl( \"showtopic={$data[\'tid\']}&amp;view=getnewpost\", \"public\",\'\' ), \"{$data[\'title_seo\']}\", \"showtopic\" ) . \"\' title=\'{$this->lang->words[\'first_unread_post\']}\'>\" . $this->registry->getClass(\'output\')->getReplacement(\"f_newpost\") . \"</a>\") : (\"\")) . \" \n \" . (($data[\'topic_hasattach\']) ? (\"\n <a href=\\\"\" . $this->registry->getClass(\'output\')->formatUrl( $this->registry->getClass(\'output\')->buildUrl( \"app=forums&amp;module=forums&amp;section=attach&amp;tid={$data[\'tid\']}\", \"public\",\'\' ), \"\", \"\" ) . \"\\\" title=\\\"\" . intval($data[\'topic_hasattach\']) . \" {$this->lang->words[\'topic_attach\']}\\\" onclick=\\\"return ipb.forums.retrieveAttachments( {$data[\'tid\']} );\\\">\" . $this->registry->getClass(\'output\')->getReplacement(\"t_attach\") . \"</a>\n \") : (\"\")) . \"\n \" . ((! empty($data[\'trackingTopic\'])) ? (\"\" . $this->registry->getClass(\'output\')->getReplacement(\"watch_small\") . \"\") : (\"\")) . \"\n <a id=\\\"tid-link-{$data[\'tid\']}\\\" href=\\\"\" . $this->registry->getClass(\'output\')->formatUrl( $this->registry->getClass(\'output\')->buildUrl( \"showtopic={$data[\'tid\']}\", \"public\",\'\' ), \"{$data[\'title_seo\']}\", \"showtopic\" ) . \"\\\" title=\'{$this->lang->words[\'topic_started_on\']} {$data[\'start_date\']}\' class=\'topic_title\'>{$data[\'title\']}</a>\n {$data[\'_rate_img\']}\n \" . ((isset( $data[\'pages\'] ) AND is_array( $data[\'pages\'] ) AND count( $data[\'pages\'] )) ? (\"\n <ul class=\'mini_pagination\'>\n \".$this->__f__8365e5561d4b1789c7420f194a139cb4($forum_data,$announce_data,$topic_data,$other_data,$multi_mod_data,$sub_forum_data,$footer_filter,$active_user_data,$mod_data,$inforum,$tid,$data).\" </ul>\n \") : (\"\")) . \"\n \" . (($data[\'_isDeleted\']) ? (\"<div class=\'desc\'>\n {$this->lang->words[\'tdb__forumindex\']} <a href=\'\" . $this->registry->getClass(\'output\')->formatUrl( $this->registry->getClass(\'output\')->buildUrl( \"showuser={$other_data[\'sdData\'][ $data[\'tid\'] ][\'sdl_obj_member_id\']}\", \"public\",\'\' ), \"{$other_data[\'sdData\'][ $data[\'tid\'] ][\'members_seo_name\']}\", \"showuser\" ) . \"\'>{$other_data[\'sdData\'][ $data[\'tid\'] ][\'members_display_name\']}</a>\" . ( method_exists( $this->registry->getClass(\'output\')->getTemplate(\'global\'), \'user_popup\' ) ? $this->registry->getClass(\'output\')->getTemplate(\'global\')->user_popup($other_data[\'sdData\'][ $data[\'tid\'] ][\'member_id\'], $other_data[\'sdData\'][ $data[\'tid\'] ][\'members_seo_name\']) : \'\' ) . \" {$this->lang->words[\'on\']} \" . $this->registry->getClass(\'class_localization\')->getDate($other_data[\'sdData\'][ $data[\'tid\'] ][\'sdl_obj_date\'],\"long\", 0) . \".\n \" . (($forum_data[\'permissions\'][\'SoftDeleteReason\']) ? (\"\" . (($other_data[\'sdData\'][ $data[\'tid\'] ][\'sdl_obj_reason\']) ? (\"{$other_data[\'sdData\'][ $data[\'tid\'] ][\'sdl_obj_reason\']}\") : (\"{$this->lang->words[\'tdb__noreasongi\']}\")) . \"\") : (\"\")) . \"\n </div>\") : (\"\" . (($data[\'description\']) ? (\"<br /><span class=\'desc\'>{$data[\'description\']}</span>\") : (\"\")) . \"\")) . \"\n </td>\n <td class=\'short altrow\'>{$data[\'starter\']}\" . ( method_exists( $this->registry->getClass(\'output\')->getTemplate(\'global\'), \'user_popup\' ) ? $this->registry->getClass(\'output\')->getTemplate(\'global\')->user_popup($data[\'starter_id\'], $data[\'seo_first_name\']) : \'\' ) . \"</td>\n <td class=\'stats\" . ((($this->memberData[\'is_mod\'] AND $data[\'_hasqueued\']) OR ($forum_data[\'permissions\'][\'PostSoftDeleteSee\'] AND $data[\'topic_deleted_posts\'])) ? (\" moderated\") : (\"\")) . \"\'>\n <ul>\n <li>\n \" . ((($this->memberData[\'is_mod\'] AND $data[\'_hasqueued\'])) ? (\"\n <a href=\'\" . $this->registry->getClass(\'output\')->formatUrl( $this->registry->getClass(\'output\')->buildUrl( \"showtopic={$data[\'tid\']}&amp;modfilter=invisible_posts\", \"public\",\'\' ), \"{$data[\'title_seo\']}\", \"showtopic\" ) . \"\' title=\'{$this->lang->words[\'view_uapproved_posts\']}\'><img src=\'{$this->settings[\'img_url\']}/bullet_error.png\' alt=\'Icon\' /></a>\n \") : (\"\")) . \"\n \" . ((($forum_data[\'permissions\'][\'PostSoftDeleteSee\'] AND $data[\'topic_deleted_posts\'])) ? (\"\n <a href=\'\" . $this->registry->getClass(\'output\')->formatUrl( $this->registry->getClass(\'output\')->buildUrl( \"showtopic={$data[\'tid\']}&amp;modfilter=deleted_posts\", \"public\",\'\' ), \"{$data[\'title_seo\']}\", \"showtopic\" ) . \"\' title=\'{$this->lang->words[\'view_deleted_posts\']}\'><img src=\'{$this->settings[\'img_url\']}/bullet_delete.png\' alt=\'Icon\' /></a>\n \") : (\"\")) . \"\n {$data[\'posts\']} \" . ((intval($data[\'_posts\']) == 1) ? (\"{$this->lang->words[\'reply\']}\") : (\"{$this->lang->words[\'replies\']}\")) . \"\n </li>\n \n \n <li class=\'views desc\'>{$data[\'views\']} {$this->lang->words[\'views\']}</li>\n </ul>\n </td>\n <td class=\'altrow\'>\n <ul class=\'last_post\'>\n <li>\n <a href=\'\" . $this->registry->getClass(\'output\')->formatUrl( $this->registry->getClass(\'output\')->buildUrl( \"showtopic={$data[\'tid\']}&amp;view=getlastpost\", \"public\",\'\' ), \"{$data[\'title_seo\']}\", \"showtopic\" ) . \"\' title=\'{$this->lang->words[\'goto_last_post\']}\'>\" . $this->registry->getClass(\'output\')->getReplacement(\"f_lastpost\") . \"</a> <a href=\'\" . $this->registry->getClass(\'output\')->formatUrl( $this->registry->getClass(\'output\')->buildUrl( \"showtopic={$data[\'tid\']}&amp;view=getlastpost\", \"public\",\'\' ), \"{$data[\'title_seo\']}\", \"showtopic\" ) . \"\' title=\'{$this->lang->words[\'goto_last_post\']}\'>\" . $this->registry->getClass(\'class_localization\')->getDate($data[\'last_post\'],\"SHORT\", 0) . \"</a>\n </li>\n <li>{$this->lang->words[\'forum_by\']} {$data[\'last_poster\']}\" . ( method_exists( $this->registry->getClass(\'output\')->getTemplate(\'global\'), \'user_popup\' ) ? $this->registry->getClass(\'output\')->getTemplate(\'global\')->user_popup($data[\'last_poster_id\'], $data[\'seo_last_name\']) : \'\' ) . \"</li>\n </ul>\n </td>\n \" . (($this->memberData[\'is_mod\'] == 1 and $inforum == 1) ? (\"<td class=\'short\'>\n \" . (($data[\'tidon\'] == 0) ? (\"\n <input type=\'checkbox\' class=\'input_check topic_mod\' id=\'tmod_{$data[\'real_tid\']}\' />\n \") : (\"\n <input type=\'checkbox\' class=\'input_check topic_mod\' id=\'tmod_{$data[\'real_tid\']}\' checked=\'checked\' />\n \")) . \"\n </td>\") : (\"\")) . \"\n </tr>\n \n \" . (($data[\'_adCode\']) ? (\"<tr>\n <th scope=\'col\' colspan=\'\" . (($this->memberData[\'is_mod\'] == 1) ? (\"6\") : (\"5\")) . \"\'>\n {$data[\'_adCode\']}\n </th>\n </tr>\") : (\"\")) . \"\n \n\";\r\n }\r\n $_ips___x_retval .= \'\';\r\n unset( $__iteratorCount );\r\n return $_ips___x_retval;\r\n}\n\nfunction __f__58090a6fac8d8c918d16058eb944b808($forum_data, $announce_data, $topic_data, $other_data, $multi_mod_data, $sub_forum_data, $footer_filter, $active_user_data, $mod_data, $inforum=1)\r\n{\r\n $_ips___x_retval = \'\';\r\n $__iteratorCount = 0;\r\n foreach( $multi_mod_data as $mm_data )\r\n {\r\n \r\n $__iteratorCount++;\r\n $_ips___x_retval .= \"\n <option value=\\\"t_{$mm_data[0]}\\\">-- {$mm_data[1]}</option>\n \n\";\r\n }\r\n $_ips___x_retval .= \'\';\r\n unset( $__iteratorCount );\r\n return $_ips___x_retval;\r\n}\n\nfunction __f__2b8fe642bcbf7fe6fbf2b386cdbedf31($forum_data, $announce_data, $topic_data, $other_data, $multi_mod_data, $sub_forum_data, $footer_filter, $active_user_data, $mod_data, $inforum=1)\r\n{\r\n $_ips___x_retval = \'\';\r\n $__iteratorCount = 0;\r\n foreach( $active_user_data[\'names\'] as $p => $r )\r\n {\r\n \r\n $__iteratorCount++;\r\n $_ips___x_retval .= \"\n <li>{$r[\'p_start\']}\" . (($r[\'id\']) ? (\"<a href=\'\" . $this->registry->getClass(\'output\')->formatUrl( $this->registry->getClass(\'output\')->buildUrl( \"showuser={$r[\'id\']}\", \"public\",\'\' ), \"{$r[\'seo\']}\", \"showuser\" ) . \"\' title=\'{$r[\'p_title\']}\'>\") : (\"\")) . \"{$r[\'name\']}\" . (($r[\'id\']) ? (\"</a>\") : (\"\")) . \"{$r[\'p_end\']}\" . (($p + 1 != count( $active_user_data[\'names\'] )) ? (\",\") : (\"\")) . \"</li>\n \n\";\r\n }\r\n $_ips___x_retval .= \'\';\r\n unset( $__iteratorCount );\r\n return $_ips___x_retval;\r\n}\n\nfunction __f__0b5355b2290ff9c299ed06665156d5b3($forum_data, $announce_data, $topic_data, $other_data, $multi_mod_data, $sub_forum_data, $footer_filter, $active_user_data, $mod_data, $inforum=1)\r\n{\r\n $_ips___x_retval = \'\';\r\n $__iteratorCount = 0;\r\n foreach( $mod_data as $p => $r )\r\n {\r\n \r\n $__iteratorCount++;\r\n $_ips___x_retval .= \"\n <li><a href=\'{$r[0]}\' title=\'{$this->lang->words[\'view_profile\']}\'>{$r[1]}</a>\" . (($r[2]) ? (\"\" . ( method_exists( $this->registry->getClass(\'output\')->getTemplate(\'global\'), \'user_popup\' ) ? $this->registry->getClass(\'output\')->getTemplate(\'global\')->user_popup($r[2], IPSText::makeSeoTitle( $r[1] )) : \'\' ) . \"\") : (\"\")) . \"\" . (($p + 1 != count( $mod_data )) ? (\",\") : (\"\")) . \"</li>\n \n\";\r\n }\r\n $_ips___x_retval .= \'\';\r\n unset( $__iteratorCount );\r\n return $_ips___x_retval;\r\n}\n\n/* -- forumPasswordLogIn --*/\nfunction forumPasswordLogIn($fid=\"\") {\n$IPBHTML = \"\";\n$IPBHTML .= \"<form action=\\\"\" . $this->registry->getClass(\'output\')->formatUrl( $this->registry->getClass(\'output\')->buildUrl( \"showforum={$fid}\", \"public\",\'\' ), \"\", \"\" ) . \"\\\" method=\\\"post\\\" style=\'width: 60%; margin: 0 auto;\'>\n <input type=\\\"hidden\\\" name=\\\"L\\\" value=\\\"1\\\" />\n \n <h1 class=\'ipsType_pagetitle\'>{$this->lang->words[\'need_password\']}</h1>\n <div class=\'ipsType_pagedesc\'>{$this->lang->words[\'need_password_txt\']}</div>\n \n <br />\n \n <div>\n <fieldset>\n <br />\n <ul class=\'ipsForm ipsForm_horizontal\'>\n <li class=\'ipsField\'>\n <label for=\'forum_pass\' class=\'ipsField_title\'>{$this->lang->words[\'enter_pass\']}</label>\n <p class=\'ipsField_content\'>\n <input type=\\\"password\\\" size=\\\"40\\\" name=\\\"f_password\\\" id=\'forum_pass\' class=\'input_text\' />\n </p>\n </li>\n </ul>\n <br />\n </fieldset>\n <fieldset class=\'submit\'>\n <input type=\\\"submit\\\" value=\\\"{$this->lang->words[\'f_pass_submit\']}\\\" class=\\\"input_submit\\\" /> {$this->lang->words[\'or\']} <a href=\'{$this->settings[\'board_url\']}\' title=\'{$this->lang->words[\'cancel\']}\' class=\'cancel\'>{$this->lang->words[\'cancel\']}</a>\n </fieldset>\n </div>\n</form>\";\nreturn $IPBHTML;\n}\n\n/* -- likeSummary --*/\nfunction likeSummary($data, $relId, $opts) {\n$IPBHTML = \"\";\n$IPBHTML .= \"\" . $this->registry->getClass(\'output\')->addJSModule(\"like\", \"0\" ) . \"\n<div class=\'__like right\' data-app=\\\"{$data[\'app\']}\\\" data-area=\\\"{$data[\'area\']}\\\" data-relid=\\\"{$relId}\\\" data-isfave=\\\"{$data[\'iLike\']}\\\">\n \" . ( method_exists( $this->registry->getClass(\'output\')->getTemplate(\'forum\'), \'likeSummaryContents\' ) ? $this->registry->getClass(\'output\')->getTemplate(\'forum\')->likeSummaryContents($data, $relId, $opts) : \'\' ) . \"\n</div>\n<script type=\\\"text/javascript\\\">\n var FAVE_TEMPLATE = new Template( \\\"<h3>\" . sprintf( $this->lang->words[\'unset_fave_title\'], $this->lang->words[\'like_ucfirst_un\' . $data[\'vernacular\'] ]) . \"</h3><div class=\'ipsPad\'><span class=\'desc\'>\" . sprintf( $this->lang->words[\'unset_fave_words\'], $this->lang->words[\'like_un\' . $data[\'vernacular\'] ]) . \"</span><br /><p class=\'ipsForm_center\'><input type=\'button\' value=\'\" . sprintf( $this->lang->words[\'unset_button\'], $this->lang->words[\'like_ucfirst_un\' . $data[\'vernacular\'] ]) . \"\' class=\'input_submit _funset\' /></p></div>\\\");\n</script>\";\nreturn $IPBHTML;\n}\n\n/* -- likeSummaryContents --*/\nfunction likeSummaryContents($data, $relId, $opts=array()) {\n$IPBHTML = \"\";\nif( IPSLib::locationHasHooks( \'skin_forum\', $this->_funcHooks[\'likeSummaryContents\'] ) )\r\n{\r\n$count_e815597b588284573eb735dd70dabc69 = is_array($this->functionData[\'likeSummaryContents\']) ? count($this->functionData[\'likeSummaryContents\']) : 0;\n$this->functionData[\'likeSummaryContents\'][$count_e815597b588284573eb735dd70dabc69][\'data\'] = $data;\n$this->functionData[\'likeSummaryContents\'][$count_e815597b588284573eb735dd70dabc69][\'relId\'] = $relId;\n$this->functionData[\'likeSummaryContents\'][$count_e815597b588284573eb735dd70dabc69][\'opts\'] = $opts;\n}\n$IPBHTML .= \"<span class=\'ipsButton_extra right \" . (($data[\'totalCount\']) ? (\"_fmore clickable\") : (\"\")) . \"\' title=\'\" . sprintf( $this->lang->words[\'like_totalcount_\' . $data[\'vernacular\'] ], $data[\'totalCount\'] ) . \"\' data-tooltip=\\\"\" . sprintf( $this->lang->words[\'like_totalcount_\' . $data[\'vernacular\'] ], $data[\'totalCount\'] ) . \"\\\"><img src=\'{$this->settings[\'img_url\']}/icon_users.png\' /> <strong>{$data[\'totalCount\']}</strong></span>\n\" . (($this->memberData[\'member_id\']) ? (\"<a href=\'#\' title=\\\"\" . (($data[\'iLike\']) ? (\"\" . sprintf( $this->lang->words[\'fave_tt_on\'], $this->lang->words[\'like_ucfirst_un\' . $data[\'vernacular\'] ]) . \"\") : (\"\" . sprintf( $this->lang->words[\'fave_tt_off\'], $this->lang->words[\'like_ucfirst_\' . $data[\'vernacular\'] ]) . \"\")) . \"\\\" class=\'ftoggle ipsButton_secondary\'>\" . (($data[\'iLike\']) ? (\"\" . sprintf( $this->lang->words[\'unset_fave_button\'], $this->lang->words[\'like_ucfirst_un\' . $data[\'vernacular\'] ]) . \"\") : (\"\" . sprintf( $this->lang->words[\'set_fave_button\'], $this->lang->words[\'like_ucfirst_\' . $data[\'vernacular\'] ]) . \"\")) . \"</a>\") : (\"\")) . \"\";\nreturn $IPBHTML;\n}\n\n/* -- show_rules --*/\nfunction show_rules($rules=\"\") {\n$IPBHTML = \"\";\n$IPBHTML .= \"<h2 class=\'ipsType_pagetitle\'>{$rules[\'title\']}</h2>\n<div class=\'row2 ipsPad\' style=\'line-height: 1.6\'>\n {$rules[\'body\']}\n</div>\n<fieldset class=\'submit\'>\n <a href=\\\"\" . $this->registry->getClass(\'output\')->formatUrl( $this->registry->getClass(\'output\')->buildUrl( \"showforum={$rules[\'fid\']}\", \"public\",\'\' ), \"{$rules[\'fseo\']}\", \"showforum\" ) . \"\\\">{$this->lang->words[\'back_to_forum\']}</a>\n</fieldset>\";\nreturn $IPBHTML;\n}\n\n/* -- topic --*/\nfunction topic($data, $forum_data, $other_data, $inforum) {\n$IPBHTML = \"\";\nif( IPSLib::locationHasHooks( \'skin_forum\', $this->_funcHooks[\'topic\'] ) )\r\n{\r\n$count_4ce0cff7c31690b81cfebeb0b77bb454 = is_array($this->functionData[\'topic\']) ? count($this->functionData[\'topic\']) : 0;\n$this->functionData[\'topic\'][$count_4ce0cff7c31690b81cfebeb0b77bb454][\'data\'] = $data;\n$this->functionData[\'topic\'][$count_4ce0cff7c31690b81cfebeb0b77bb454][\'forum_data\'] = $forum_data;\n$this->functionData[\'topic\'][$count_4ce0cff7c31690b81cfebeb0b77bb454][\'other_data\'] = $other_data;\n$this->functionData[\'topic\'][$count_4ce0cff7c31690b81cfebeb0b77bb454][\'inforum\'] = $inforum;\n}\n$IPBHTML .= \"\" . ((($this->memberData[\'is_mod\'] AND ! $data[\'approved\']) OR $data[\'_isDeleted\']) ? (\"\n<tr class=\'__topic expandable moderated\' id=\'trow_{$data[\'tid\']}\' data-tid=\\\"{$data[\'tid\']}\\\">\n\") : (\"<tr class=\'__topic \" . ((!$data[\'folder_img\'][\'is_read\']) ? (\"unread\") : (\"\")) . \" expandable\' id=\'trow_{$data[\'tid\']}\' data-tid=\\\"{$data[\'tid\']}\\\">\")) . \"\n <td class=\'col_f_icon altrow short\'>\n \" . ( method_exists( $this->registry->getClass(\'output\')->getTemplate(\'global_other\'), \'generateTopicIcon\' ) ? $this->registry->getClass(\'output\')->getTemplate(\'global_other\')->generateTopicIcon($data[\'folder_img\'], isset($data[\'_unreadUrl\']) ? $data[\'_unreadUrl\'] : \'\') : \'\' ) . \"\n </td>\n <td class=\'col_f_content \" . (($this->memberData[\'is_mod\'] == 1 || $forum_data[\'permissions\'][\'TopicSoftDelete\']) ? (\" with_mod_links\") : (\"\")) . \"\'>\n \" . (($data[\'_isDeleted\']) ? (\"<span class=\'ipsBadge ipsBadge_red\' data-tooltip=\\\"\" . sprintf( $this->lang->words[\'tdb__forumindex\'], $other_data[\'sdData\'][ $data[\'tid\'] ][\'members_display_name\'] ) . \" \" . $this->registry->getClass(\'class_localization\')->getDate($other_data[\'sdData\'][ $data[\'tid\'] ][\'sdl_obj_date\'],\"long\", 0) . \"\n \" . (($forum_data[\'permissions\'][\'SoftDeleteReason\']) ? (\"<br /><span>\" . (($other_data[\'sdData\'][ $data[\'tid\'] ][\'sdl_obj_reason\']) ? (\"{$other_data[\'sdData\'][ $data[\'tid\'] ][\'sdl_obj_reason\']}\") : (\"{$this->lang->words[\'tdb__noreasongi\']}\")) . \"</span>\") : (\"\")) . \"\n \\\">{$this->lang->words[\'f_deleted_badge\']}</span>\") : (\"\")) . \"\n \" . (($data[\'approved\'] == 0) ? (\"\n <span class=\'ipsBadge ipsBadge_orange\'>{$this->lang->words[\'f_queued_badge\']}</span>\n \") : (\"\")) . \"\n \" . ((!empty($data[\'tags\'][\'formatted\'][\'prefix\'])) ? (\"\n {$data[\'tags\'][\'formatted\'][\'prefix\']}\n \") : (\"\")) . \"\n <h4>{$data[\'prefix\']}<a id=\\\"tid-link-{$data[\'tid\']}\\\" href=\\\"{$data[\'_url\']}\\\" title=\'{$this->lang->words[\'topic_started_on\']} \" . $this->registry->getClass(\'class_localization\')->getDate($data[\'start_date\'],\"LONG\", 0) . \"\' class=\'topic_title\'>{$data[\'title\']}</a></h4>\n <br />\n <span class=\'desc lighter blend_links\'>\n \" . sprintf( $this->lang->words[\'topic_started_by\'], $data[\'starter\'] ) . \" \" . $this->registry->getClass(\'class_localization\')->getDate($data[\'start_date\'],\"DATE\", 0) . \"\n \" . ((isset($data[\'tags\']) AND $data[\'tags\']) ? (\"\n &nbsp; <img src=\'{$this->settings[\'img_url\']}/icon_tag.png\' /> {$data[\'tags\'][\'formatted\'][\'truncatedWithLinks\']}\n \") : (\"\")) . \"\n </span>\n \" . ((isset( $data[\'pages\'] ) AND is_array( $data[\'pages\'] ) AND count( $data[\'pages\'] )) ? (\"\n <ul class=\'mini_pagination\'>\n \".$this->__f__4667f053a2b21ceb1c87870fe9b8b384($data,$forum_data,$other_data,$inforum).\" </ul>\n \") : (\"\")) . \"\n </td>\n <td class=\'col_f_preview __topic_preview\'>\n \" . (($this->registry->permissions->check( \'read\', $forum_data )) ? (\"\n <a href=\'{$data[\'_url\']}\' class=\'expander closed\' title=\'{$this->lang->words[\'view_topic_preview\']}\'>&nbsp;</a>\n \") : (\"\")) . \"\n </td>\n <td class=\'col_f_views desc blend_links\'>\n <ul>\n <li>\n \" . ((($this->memberData[\'is_mod\'] AND $data[\'_hasqueued\'])) ? (\"\n <a href=\'\" . $this->registry->getClass(\'output\')->formatUrl( $this->registry->getClass(\'output\')->buildUrl( \"showtopic={$data[\'tid\']}&amp;modfilter=invisible_posts\", \"public\",\'\' ), \"{$data[\'title_seo\']}\", \"showtopic\" ) . \"\' title=\'{$this->lang->words[\'view_uapproved_posts\']}\' data-tooltip=\\\"\" . sprintf( $this->lang->words[\'topic_queued_count\'], $data[\'topic_queuedposts\'] ) . \"\\\"><img src=\'{$this->settings[\'img_url\']}/bullet_error.png\' alt=\'\' /></a>\n \") : (\"\")) . \"\n \" . ((($forum_data[\'permissions\'][\'PostSoftDeleteSee\'] AND $data[\'topic_deleted_posts\'])) ? (\"\n <a href=\'\" . $this->registry->getClass(\'output\')->formatUrl( $this->registry->getClass(\'output\')->buildUrl( \"showtopic={$data[\'tid\']}&amp;modfilter=deleted_posts\", \"public\",\'\' ), \"{$data[\'title_seo\']}\", \"showtopic\" ) . \"\' title=\'{$this->lang->words[\'view_deleted_posts\']}\'><img src=\'{$this->settings[\'img_url\']}/bullet_delete.png\' alt=\'\' /></a>\n \") : (\"\")) . \"\n \" . (($data[\'state\'] != \'link\') ? (\"\" . (($data[\'folder_img\'][\'is_hot\']) ? (\"\n <span class=\'ipsBadge ipsBadge_orange\'>{$this->lang->words[\'topic_is_hot\']}</span>&nbsp;\n \") : (\"\")) . \"\n <a href=\\\"\" . $this->registry->getClass(\'output\')->formatUrl( $this->registry->getClass(\'output\')->buildUrl( \"app=forums&amp;module=extras&amp;section=stats&amp;do=who&amp;t={$data[\'tid\']}\", \"public\",\'\' ), \"\", \"\" ) . \"\\\" onclick=\\\"return ipb.forums.retrieveWhoPosted( {$data[\'tid\']} );\\\">\" . $this->registry->getClass(\'class_localization\')->formatNumber( $data[\'posts\'] ) . \" \" . ((intval($data[\'posts\']) == 1) ? (\"{$this->lang->words[\'reply\']}\") : (\"{$this->lang->words[\'replies\']}\")) . \"</a>\") : (\"\")) . \"\n </li>\n <li class=\'views desc\'>\" . $this->registry->getClass(\'class_localization\')->formatNumber( $data[\'views\'] ) . \" {$this->lang->words[\'views\']}</li>\n </ul>\n </td>\n <td class=\'col_f_post\'>\n <a href=\'\" . $this->registry->getClass(\'output\')->formatUrl( $this->registry->getClass(\'output\')->buildUrl( \"showuser={$data[\'last_poster_id\']}\", \"public\",\'\' ), \"{$data[\'seo_last_name\']}\", \"showuser\" ) . \"\' class=\'ipsUserPhotoLink left\'>\n <img src=\'{$data[\'pp_small_photo\']}\' class=\'ipsUserPhoto ipsUserPhoto_mini\' />\n </a>\n <ul class=\'last_post ipsType_small\'>\n <li>{$data[\'last_poster\']}</li>\n <li>\n <a href=\'\" . $this->registry->getClass(\'output\')->formatUrl( $this->registry->getClass(\'output\')->buildUrl( \"showtopic={$data[\'tid\']}&amp;view=getlastpost\", \"public\",\'\' ), \"{$data[\'title_seo\']}\", \"showtopic\" ) . \"\' title=\'{$this->lang->words[\'goto_last_post\']}\'>\" . $this->registry->getClass(\'class_localization\')->getDate($data[\'last_post\'],\"DATE\", 0) . \"</a>\n </li> \n </ul>\n </td>\n \" . (($this->memberData[\'is_mod\'] == 1 and $inforum == 1) ? (\"<td class=\'col_f_mod short\'>\n <a href=\'#\' class=\'ipsModMenu\' id=\'topic_mod_{$data[\'real_tid\']}\' title=\'{$this->lang->words[\'mod_actions\']}\'>&nbsp;</a>\n \" . (($data[\'tidon\'] == 0) ? (\"\n <input type=\'checkbox\' class=\'input_check topic_mod\' id=\'tmod_{$data[\'real_tid\']}\' />\n \") : (\"\n <input type=\'checkbox\' class=\'input_check topic_mod\' id=\'tmod_{$data[\'real_tid\']}\' checked=\'checked\' />\n \")) . \"\n \" . (($data[\'_isDeleted\']) ? (\"<ul id=\'topic_mod_{$data[\'real_tid\']}_menucontent\' class=\'ipbmenu_content\' style=\'display: none\'>\n \" . (($forum_data[\'permissions\'][\'TopicSoftDeleteRestore\']) ? (\"\n <li class=\'t_restore\'><a href=\'\" . $this->registry->getClass(\'output\')->formatUrl( $this->registry->getClass(\'output\')->buildUrl( \"app=forums&amp;module=moderate&amp;section=moderate&amp;f={$forum_data[\'id\']}&amp;t={$data[\'tid\']}&amp;st={$this->request[\'st\']}&amp;auth_key={$this->member->form_hash}&amp;do=sundelete\", \"public\",\'\' ), \"\", \"\" ) . \"\' title=\'{$this->lang->words[\'dlt_restore_topic\']}\'><img src=\'{$this->settings[\'img_url\']}/arrow_rotate_clockwise.png\' alt=\'{$this->lang->words[\'dlt_restore_topic\']}\' title=\'{$this->lang->words[\'dlt_restore_topic\']}\' class=\'icon\' /> {$this->lang->words[\'dlt_restore_topic\']}</a></li>\n \") : (\"\")) . \"\n \" . (($this->memberData[\'g_is_supmod\'] == 1 || $this->memberData[\'forumsModeratorData\'][ $forum_data[\'id\'] ][\'delete_topic\']) ? (\"\n <li class=\'t_restore\'><a href=\'\" . $this->registry->getClass(\'output\')->formatUrl( $this->registry->getClass(\'output\')->buildUrl( \"app=forums&amp;module=moderate&amp;section=moderate&amp;f={$forum_data[\'id\']}&amp;st={$this->request[\'st\']}&amp;t={$data[\'real_tid\']}&amp;auth_key={$this->member->form_hash}&amp;do=03\", \"public\",\'\' ), \"\", \"\" ) . \"\' title=\'{$this->lang->words[\'dlt_delete_topic\']}\'><img src=\'{$this->settings[\'img_url\']}/delete.png\' alt=\'{$this->lang->words[\'dlt_delete_topic\']}\' title=\'{$this->lang->words[\'dlt_delete_topic\']}\' class=\'icon\' /> {$this->lang->words[\'dlt_delete_topic\']}</a></li>\n \") : (\"\")) . \"\n </ul>\") : (\"\" . (($this->memberData[\'is_mod\'] == 1 || $forum_data[\'permissions\'][\'TopicSoftDelete\']) ? (\"<ul id=\'topic_mod_{$data[\'real_tid\']}_menucontent\' class=\'ipbmenu_content\' style=\'display: none\'>\n <li><a class=\'t_rename\' href=\'\" . $this->registry->getClass(\'output\')->formatUrl( $this->registry->getClass(\'output\')->buildUrl( \"app=forums&amp;module=moderate&amp;section=moderate&amp;f={$forum_data[\'id\']}&amp;t={$data[\'tid\']}&amp;auth_key={$this->member->form_hash}&amp;do=05\", \"public\",\'\' ), \"\", \"\" ) . \"\' title=\'{$this->lang->words[\'topic_rename\']}\'><img src=\'{$this->settings[\'img_url\']}/textfield_rename.png\' alt=\'{$this->lang->words[\'topic_rename\']}\' title=\'{$this->lang->words[\'topic_rename\']}\' class=\'icon\' /> {$this->lang->words[\'topic_rename\']}</a></li>\n \" . (($this->memberData[\'g_is_supmod\'] == 1 || $this->memberData[\'forumsModeratorData\'][ $forum_data[\'id\'] ][\'delete_topic\'] || $forum_data[\'permissions\'][\'TopicSoftDelete\']) ? (\"\n <li><a class=\'t_delete\' id=\'t_deletelink_{$data[\'tid\']}\' href=\'\" . $this->registry->getClass(\'output\')->formatUrl( $this->registry->getClass(\'output\')->buildUrl( \"app=forums&amp;module=moderate&amp;section=moderate&amp;f={$forum_data[\'id\']}&amp;st={$this->request[\'st\']}&amp;t={$data[\'real_tid\']}&amp;auth_key={$this->member->form_hash}&amp;do=03\", \"public\",\'\' ), \"\", \"\" ) . \"\' title=\'{$this->lang->words[\'topic_delete\']}\'><img src=\'{$this->settings[\'img_url\']}/delete.png\' alt=\'{$this->lang->words[\'topic_delete\']}\' title=\'{$this->lang->words[\'topic_delete\']}\' class=\'icon\' /> {$this->lang->words[\'topic_delete\']}</a></li>\n \") : (\"\")) . \"\n \" . (($data[\'state\'] != \'link\') ? (\"\" . (($data[\'pinned\'] && ($this->memberData[\'g_is_supmod\'] OR $this->memberData[\'forumsModeratorData\'][ $forum_data[\'id\'] ][\'pin_topic\'])) ? (\"\n <li><a class=\'t_pin\' href=\'\" . $this->registry->getClass(\'output\')->formatUrl( $this->registry->getClass(\'output\')->buildUrl( \"app=forums&amp;module=moderate&amp;section=moderate&amp;f={$forum_data[\'id\']}&amp;t={$data[\'tid\']}&amp;st={$this->request[\'st\']}&amp;auth_key={$this->member->form_hash}&amp;do=16&amp;from=forum\", \"public\",\'\' ), \"\", \"\" ) . \"\' title=\'{$this->lang->words[\'topic_unpin\']}\'><img src=\'{$this->settings[\'img_url\']}/award_delete.png\' alt=\'{$this->lang->words[\'topic_unpin\']} icon\' title=\'{$this->lang->words[\'topic_unpin\']}\' class=\'icon\' /> {$this->lang->words[\'topic_unpin\']}</a></li>\n \") : (\"\" . (($this->memberData[\'g_is_supmod\'] OR $this->memberData[\'forumsModeratorData\'][ $forum_data[\'id\'] ][\'unpin_topic\']) ? (\"\n <li><a class=\'t_pin\' href=\'\" . $this->registry->getClass(\'output\')->formatUrl( $this->registry->getClass(\'output\')->buildUrl( \"app=forums&amp;module=moderate&amp;section=moderate&amp;f={$forum_data[\'id\']}&amp;t={$data[\'tid\']}&amp;st={$this->request[\'st\']}&amp;auth_key={$this->member->form_hash}&amp;do=15&amp;from=forum\", \"public\",\'\' ), \"\", \"\" ) . \"\' title=\'{$this->lang->words[\'topic_pin\']}\'><img src=\'{$this->settings[\'img_url\']}/award.png\' alt=\'{$this->lang->words[\'topic_pin\']} icon\' title=\'{$this->lang->words[\'topic_pin\']}\' class=\'icon\' /> {$this->lang->words[\'topic_pin\']}</a></li>\n \") : (\"\")) . \"\")) . \"\") : (\"\")) . \"\n \" . (($data[\'state\'] == \'closed\' && $other_data[\'can_open_topics\']) ? (\"\n <li><a class=\'t_lock\' href=\'\" . $this->registry->getClass(\'output\')->formatUrl( $this->registry->getClass(\'output\')->buildUrl( \"app=forums&amp;module=moderate&amp;section=moderate&amp;f={$forum_data[\'id\']}&amp;t={$data[\'tid\']}&amp;st={$this->request[\'st\']}&amp;auth_key={$this->member->form_hash}&amp;do=01\", \"public\",\'\' ), \"\", \"\" ) . \"\' title=\'{$this->lang->words[\'topic_open\']}\'><img src=\'{$this->settings[\'img_url\']}/lock_open.png\' alt=\'{$this->lang->words[\'topic_open\']}\' title=\'{$this->lang->words[\'topic_open\']}\' class=\'icon\' /> {$this->lang->words[\'topic_open\']}</a></li>\n \") : (\"\")) . \"\n \" . (($data[\'state\'] == \'open\' && $other_data[\'can_close_topics\']) ? (\"\n <li><a class=\'t_lock\' href=\'\" . $this->registry->getClass(\'output\')->formatUrl( $this->registry->getClass(\'output\')->buildUrl( \"app=forums&amp;module=moderate&amp;section=moderate&amp;f={$forum_data[\'id\']}&amp;t={$data[\'tid\']}&amp;st={$this->request[\'st\']}&amp;auth_key={$this->member->form_hash}&amp;do=00&amp;_from=forum\", \"public\",\'\' ), \"\", \"\" ) . \"\' title=\'{$this->lang->words[\'topic_close\']}\'><img src=\'{$this->settings[\'img_url\']}/lock.png\' alt=\'{$this->lang->words[\'topic_close\']}\' title=\'{$this->lang->words[\'topic_close\']}\' class=\'icon\' /> {$this->lang->words[\'topic_close\']}</a></li>\n \") : (\"\")) . \"\n \" . (($data[\'state\'] != \'link\' && $other_data[\'can_move_topics\']) ? (\"\n <li><a class=\'t_move\' href=\'\" . $this->registry->getClass(\'output\')->formatUrl( $this->registry->getClass(\'output\')->buildUrl( \"app=forums&amp;module=moderate&amp;section=moderate&amp;f={$forum_data[\'id\']}&amp;st={$this->request[\'st\']}&amp;auth_key={$this->member->form_hash}&amp;do=topicchoice&amp;tact=move&amp;selectedtids={$data[\'tid\']}\", \"public\",\'\' ), \"\", \"\" ) . \"\'><img src=\'{$this->settings[\'img_url\']}/page_white_go.png\' alt=\'{$this->lang->words[\'topic_close\']}\' title=\'{$this->lang->words[\'topic_close\']}\' class=\'icon\' /> {$this->lang->words[\'topic_move\']}</a></li>\n \") : (\"\")) . \"\n </ul>\") : (\"\")) . \"\")) . \"\n <script type=\'text/javascript\'>\n new ipb.Menu( $(\'topic_mod_{$data[\'real_tid\']}\'), $(\'topic_mod_{$data[\'real_tid\']}_menucontent\') );\n </script>\n </td>\") : (\"\")) . \"\n</tr>\n\" . ((isset($data[\'_adCode\']) AND $data[\'_adCode\']) ? (\"<tr>\n <th scope=\'col\' colspan=\'\" . (($this->memberData[\'is_mod\'] == 1) ? (\"6\") : (\"5\")) . \"\'>\n {$data[\'_adCode\']}\n </th>\n</tr>\") : (\"\")) . \"\";\nreturn $IPBHTML;\n}\n\n\nfunction __f__4667f053a2b21ceb1c87870fe9b8b384($data, $forum_data, $other_data, $inforum)\r\n{\r\n $_ips___x_retval = \'\';\r\n $__iteratorCount = 0;\r\n foreach( $data[\'pages\'] as $page )\r\n {\r\n \r\n $__iteratorCount++;\r\n $_ips___x_retval .= \"\n \" . (($page[\'last\']) ? (\"\n <li><a href=\\\"\" . $this->registry->getClass(\'output\')->formatUrl( $this->registry->getClass(\'output\')->buildUrl( \"showtopic={$data[\'tid\']}&amp;st={$page[\'st\']}\", \"public\",\'\' ), \"{$data[\'title_seo\']}\", \"showtopic\" ) . \"\\\" title=\'{$this->lang->words[\'topic_goto_page\']} {$page[\'page\']}\'>{$page[\'page\']} {$this->lang->words[\'_rarr\']}</a></li>\n \") : (\"\n <li><a href=\\\"\" . $this->registry->getClass(\'output\')->formatUrl( $this->registry->getClass(\'output\')->buildUrl( \"showtopic={$data[\'tid\']}&amp;st={$page[\'st\']}\", \"public\",\'\' ), \"{$data[\'title_seo\']}\", \"showtopic\" ) . \"\\\" title=\'{$this->lang->words[\'topic_goto_page\']} {$page[\'page\']}\'>{$page[\'page\']}</a></li>\n \")) . \"\n \n\";\r\n }\r\n $_ips___x_retval .= \'\';\r\n unset( $__iteratorCount );\r\n return $_ips___x_retval;\r\n}\n\n/* -- topic_rating_image --*/\nfunction topic_rating_image($rating_id=1) {\n$IPBHTML = \"\";\nif( IPSLib::locationHasHooks( \'skin_forum\', $this->_funcHooks[\'topic_rating_image\'] ) )\r\n{\r\n$count_9230546e05965b06f26665ef0ab50106 = is_array($this->functionData[\'topic_rating_image\']) ? count($this->functionData[\'topic_rating_image\']) : 0;\n$this->functionData[\'topic_rating_image\'][$count_9230546e05965b06f26665ef0ab50106][\'rating_id\'] = $rating_id;\n}\n$IPBHTML .= \"<span class=\'mini_rate\'>\".$this->__f__5796e68e2c535689079b48f4999873ed($rating_id).\"</span>\";\nreturn $IPBHTML;\n}\n\n\nfunction __f__5796e68e2c535689079b48f4999873ed($rating_id=1)\r\n{\r\n $_ips___x_retval = \'\';\r\n $__iteratorCount = 0;\r\n foreach( array(1,2,3,4,5) as $int )\r\n {\r\n \r\n $__iteratorCount++;\r\n $_ips___x_retval .= \"\n \" . (($rating_id >= $int) ? (\"\n \" . $this->registry->getClass(\'output\')->getReplacement(\"mini_rate_on\") . \"\n \") : (\"\n \" . $this->registry->getClass(\'output\')->getReplacement(\"mini_rate_off\") . \"\n \")) . \"\n\n\";\r\n }\r\n $_ips___x_retval .= \'\';\r\n unset( $__iteratorCount );\r\n return $_ips___x_retval;\r\n}\n\n/* -- topicPrefixWrap --*/\nfunction topicPrefixWrap($text) {\n$IPBHTML = \"\";\nif( IPSLib::locationHasHooks( \'skin_forum\', $this->_funcHooks[\'topicPrefixWrap\'] ) )\r\n{\r\n$count_6906ec376e461367de54e0fffdd50a6a = is_array($this->functionData[\'topicPrefixWrap\']) ? count($this->functionData[\'topicPrefixWrap\']) : 0;\n$this->functionData[\'topicPrefixWrap\'][$count_6906ec376e461367de54e0fffdd50a6a][\'text\'] = $text;\n}\n$IPBHTML .= \"\" . (($text) ? (\"\n <span class=\'ipsBadge ipsBadge_green\'>{$text}</span>&nbsp;\n\") : (\"\")) . \"\";\nreturn $IPBHTML;\n}\n\n\n}\n','','','','','','',''),(29537,1314265064,'phptemplate',51,'group','skin_fusionmenu','','','','class skin_fusionmenu_51 {\n\n/**\r\n* Construct\r\n*/\r\nfunction __construct( ipsRegistry $registry )\r\n{\r\n /* Make object */\r\n $this->registry = $registry;\r\n $this->DB = $this->registry->DB();\r\n $this->settings =& $this->registry->fetchSettings();\r\n $this->request =& $this->registry->fetchRequest();\r\n $this->lang = $this->registry->getClass(\'class_localization\');\r\n $this->member = $this->registry->member();\r\n $this->memberData =& $this->registry->member()->fetchMemberData();\r\n $this->cache = $this->registry->cache();\r\n $this->caches =& $this->registry->cache()->fetchCaches();\r\n \n\n$this->_funcHooks = array();\n$this->_funcHooks[\'dropdownMenu\'] = array(\'opennew\',\'hasicon\',\'submenus\',\'hasmenus\');\n$this->_funcHooks[\'globalMenubar\'] = array(\'rootopennew\',\'roothasicon\',\'hassubmenus\',\'menus\',\'hasmenus\');\n$this->_funcHooks[\'primaryNavigation\'] = array(\'isactive\',\'opennew\',\'hasicon\',\'menus\',\'hasmenus\');\n\n\n}\n\n/* -- dropdownMenu --*/\nfunction dropdownMenu($parentid=0,$submenus=array()) {\n$IPBHTML = \"\";\nif( IPSLib::locationHasHooks( \'skin_fusionmenu\', $this->_funcHooks[\'dropdownMenu\'] ) )\r\n{\r\n$count_f17eb7110e4ba06aead57911b3d837da = is_array($this->functionData[\'dropdownMenu\']) ? count($this->functionData[\'dropdownMenu\']) : 0;\n$this->functionData[\'dropdownMenu\'][$count_f17eb7110e4ba06aead57911b3d837da][\'parentid\'] = $parentid;\n$this->functionData[\'dropdownMenu\'][$count_f17eb7110e4ba06aead57911b3d837da][\'submenus\'] = $submenus;\n}\n$IPBHTML .= \"\" . ((is_array($submenus) AND count($submenus) > 0) ? (\"\n <ul id=\'nav_{$parentid}_menu\' class=\'main_menu\'>\n \".$this->__f__b9f3a2220fcad62f0cc0c158ccfb5702($parentid,$submenus).\"</ul>\n<script type=\'text/javascript\'>\n fd.menus[\'{$parentid}\'] = new fd.menu( $(\'nav_{$parentid}\'), $(\'nav_{$parentid}_menu\') );\n</script>\n\") : (\"\")) . \"\";\nreturn $IPBHTML;\n}\n\n\nfunction __f__b9f3a2220fcad62f0cc0c158ccfb5702($parentid=0,$submenus=array())\r\n{\r\n $_ips___x_retval = \'\';\r\n $__iteratorCount = 0;\r\n foreach( $submenus as $submenuid => $menuitem )\r\n {\r\n \r\n $__iteratorCount++;\r\n $_ips___x_retval .= \"\n <li><a href=\'{$menuitem[\'url\']}\' \" . (($menuitem[\'open_new_window\']) ? (\"onclick=\'window.open(this.href);return false;\'\") : (\"\")) . \" title=\'{$menuitem[\'description\']}\'>\" . (($menuitem[\'icon\'] != \'\') ? (\"<img src=\'{$menuitem[\'icon\']}\' alt=\'{$menuitem[\'title\']}\' />&nbsp;&nbsp;&nbsp;\") : (\"\")) . \"{$menuitem[\'title\']}</a></li>\n \n\";\r\n }\r\n $_ips___x_retval .= \'\';\r\n unset( $__iteratorCount );\r\n return $_ips___x_retval;\r\n}\n\n/* -- globalMenubar --*/\nfunction globalMenubar($menudata=array()) {\n$IPBHTML = \"\";\nif( IPSLib::locationHasHooks( \'skin_fusionmenu\', $this->_funcHooks[\'globalMenubar\'] ) )\r\n{\r\n$count_7a7d12ccbfb65d3a0fca6a29bb3ac75f = is_array($this->functionData[\'globalMenubar\']) ? count($this->functionData[\'globalMenubar\']) : 0;\n$this->functionData[\'globalMenubar\'][$count_7a7d12ccbfb65d3a0fca6a29bb3ac75f][\'menudata\'] = $menudata;\n}\n$IPBHTML .= \"\" . ((is_array($menudata) AND count($menudata) > 0) ? (\"\n <div id=\'masthead\'>\n <ul id=\'primary_navigation\'>\n \".$this->__f__2066ffbb7b4dd25d34709476008c35bd($menudata).\" \n </ul>\n </div>\n\") : (\"\")) . \"\";\nreturn $IPBHTML;\n}\n\n\nfunction __f__2066ffbb7b4dd25d34709476008c35bd($menudata=array())\r\n{\r\n $_ips___x_retval = \'\';\r\n $__iteratorCount = 0;\r\n foreach( $menudata as $menuid => $menu )\r\n {\r\n \r\n $__iteratorCount++;\r\n $_ips___x_retval .= \"\n <li id=\'nav_{$menu[\'display_id\']}\'>\n <a \" . (($menu[\'open_new_window\']) ? (\"onclick=\'window.open(this.href);return false;\'\") : (\"\")) . \" href=\'{$menu[\'url\']}\'>\" . (($menu[\'icon\'] != \'\') ? (\"<img src=\'{$menu[\'icon\']}\' alt=\'{$menu[\'title\']}\' />&nbsp;&nbsp;&nbsp;\") : (\"\")) . \"{$menu[\'title\']}</a>\n \" . ((is_array($menu[\'submenus\']) AND count($menu[\'submenus\']) > 0) ? (\"\n \" . ( method_exists( $this->registry->getClass(\'output\')->getTemplate(\'fusionmenu\'), \'dropdownMenu\' ) ? $this->registry->getClass(\'output\')->getTemplate(\'fusionmenu\')->dropdownMenu($menu[\'display_id\'], $menu[\'submenus\']) : \'\' ) . \"\n \") : (\"\")) . \"\n </li>\n \n\";\r\n }\r\n $_ips___x_retval .= \'\';\r\n unset( $__iteratorCount );\r\n return $_ips___x_retval;\r\n}\n\n/* -- primaryNavigation --*/\nfunction primaryNavigation($menudata=array()) {\n$IPBHTML = \"\";\nif( IPSLib::locationHasHooks( \'skin_fusionmenu\', $this->_funcHooks[\'primaryNavigation\'] ) )\r\n{\r\n$count_97b2c95ef2d6bd5e096df6df4548bcf8 = is_array($this->functionData[\'primaryNavigation\']) ? count($this->functionData[\'primaryNavigation\']) : 0;\n$this->functionData[\'primaryNavigation\'][$count_97b2c95ef2d6bd5e096df6df4548bcf8][\'menudata\'] = $menudata;\n}\n$IPBHTML .= \"\" . ((is_array($menudata) AND count($menudata) > 0) ? (\"\n \".$this->__f__f3d4be1dc616ba8ff0d29a04ac8d0c67($menudata).\"\") : (\"\")) . \"\";\nreturn $IPBHTML;\n}\n\n\nfunction __f__f3d4be1dc616ba8ff0d29a04ac8d0c67($menudata=array())\r\n{\r\n $_ips___x_retval = \'\';\r\n $__iteratorCount = 0;\r\n foreach( $menudata as $menuid => $menuitem )\r\n {\r\n \r\n $__iteratorCount++;\r\n $_ips___x_retval .= \"\n <li id=\\\"nav_{$menuitem[\'display_id\']}\\\" class=\\\"left \" . ((IPS_APP_COMPONENT == $menuitem[\'special_app\'] AND $this->settings[\'fusionmenu_activetrack\']) ? (\"active\") : (\"\")) . \"\\\"><a href=\'{$menuitem[\'url\']}\' \" . (($menuitem[\'open_new_window\']) ? (\"onclick=\'window.open(this.href);return false;\'\") : (\"\")) . \" title=\'{$menuitem[\'description\']}\'>\" . (($menuitem[\'icon\'] != \'\') ? (\"<img src=\'{$menuitem[\'icon\']}\' alt=\'{$menuitem[\'title\']}\' />&nbsp;&nbsp;&nbsp;\") : (\"\")) . \"{$menuitem[\'title\']}</a>\" . ( method_exists( $this->registry->getClass(\'output\')->getTemplate(\'fusionmenu\'), \'dropdownMenu\' ) ? $this->registry->getClass(\'output\')->getTemplate(\'fusionmenu\')->dropdownMenu($menuitem[\'display_id\'], $menuitem[\'submenus\']) : \'\' ) . \"</li>\n \n\";\r\n }\r\n $_ips___x_retval .= \'\';\r\n unset( $__iteratorCount );\r\n return $_ips___x_retval;\r\n}\n\n\n}\n','','','','','','',''),(29538,1314265064,'phptemplate',51,'group','skin_gallery_albums','','','',''class skin_gallery_albums_51 {\n\n/**\r\n* Construct\r\n*/\r\nfunction __construct( ipsRegistry $registry )\r\n{\r\n /* Make object */\r\n $this->registry = $registry;\r\n $this->DB = $this->registry->DB();\r\n $this->settings =& $this->registry->fetchSettings();\r\n $this->request =& $this->registry->fetchRequest();\r\n $this->lang = $this->registry->getClass(\'class_localization\');\r\n $this->member = $this->registry->member();\r\n $this->memberData =& $this->registry->member()->fetchMemberData();\r\n $this->cache = $this->registry->cache();\r\n $this->caches =& $this->registry->cache()->fetchCaches();\r\n \n\n$this->_funcHooks = array();\n$this->_funcHooks[\'albumFeatureView\'] = array(\'isUserViewList\',\'comments\',\'isOverviewView\',\'images\',\'isPrivate\',\'isUserViewStart\',\'hasRules\',
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement