Jump to content

hacker

წევრი
  • Content count

    87
  • Joined

  • Last visited

  • Days Won

    10

hacker last won the day on April 1 2016

hacker had the most liked content!

Community Reputation

25 ნორმალური

2 Followers

About hacker

  • Rank
    წევრი

Profile Information

  • სქესი
    Male

Recent Profile Visitors

2.448 profile views
  1. hacker

    IPB help

    Warning: Illegal string offset 'html' in /home/u346973693/public_html/cache/skin_cache/cacheid_8/skin_topic.php on line 923 აი ეს ფაილი რომელშიც ერორია (skin_topic.php) რისი ბრალია ? <?php /*--------------------------------------------------*/ /* FILE GENERATED BY INVISION POWER BOARD 3 */ /* CACHE FILE: Skin set id: 8 */ /* CACHE FILE: Generated: Wed, 26 Jun 2013 20:49:14 GMT */ /* DO NOT EDIT DIRECTLY - THE CHANGES WILL NOT BE */ /* WRITTEN TO THE DATABASE AUTOMATICALLY */ /*--------------------------------------------------*/ class skin_topic_8 { /** * Construct */ function __construct( ipsRegistry $registry ) { /* Make object */ $this->registry = $registry; $this->DB = $this->registry->DB(); $this->settings =& $this->registry->fetchSettings(); $this->request =& $this->registry->fetchRequest(); $this->lang = $this->registry->getClass('class_localization'); $this->member = $this->registry->member(); $this->memberData =& $this->registry->member()->fetchMemberData(); $this->cache = $this->registry->cache(); $this->caches =& $this->registry->cache()->fetchCaches(); $this->_funcHooks = array(); $this->_funcHooks['announcement_show'] = array('announceMember','canmanage','disablelightbox'); $this->_funcHooks['hookFacebookLike'] = array('checkAccess','fbAppIdPresent'); $this->_funcHooks['likeSummaryContents'] = array('likeOnlyMembers'); $this->_funcHooks['pollDisplay'] = array('lastVoter','poll_voters','hasVoters','viewVoters','votersJs','multiVote','showingResults','poll_choices','votedClass','noGuestVote','poll_questions','showPollResults','publicPollNotice','deleteVote','cast','viewVotersLink','alreadyDisplayVotes','displayVotes','youCreatedPoll','voteButtonVoted','voteButtonMid','voteButton','editPoll'); $this->_funcHooks['post'] = array('sDeleted','postQueued','noRep','posRep','negRep','repIgnored','userIgnoredLang','userIgnoredLangTwo','userIgnored','isNotIgnoring','postMid','postModSelected','postModCheckbox','postMember','accessModCP','postAdmin','postIp','repHighlight','postEditByReason','postEditBy','postSignature','multiquote','replyButton','canEdit','canDelete','approveUnapprove','approvePost','hasblog','postIsReported','canReportPost','reportedPostData','sDeletedNot','initIgnoredPost','adCodeCheck','sDeletedNotMQ'); $this->_funcHooks['quickEditPost'] = array('editReasonQe','editByQe'); $this->_funcHooks['show_attachment_title'] = array('attachType','attach'); $this->_funcHooks['Show_attachments'] = array('hasmime'); $this->_funcHooks['softDeletedPostBit'] = array('postMid','postModSelected','postModCheckbox','postMember','postAdmin','postIp','showReason','postEditByReason','postEditBy','postSignature','showPost','sdOptions'); $this->_funcHooks['topicViewTemplate'] = array('optRepFilterSelected','reputation_levels','post_data','mod_links','mm','auId','auEndId','lastActiveUser','active_users','allowRating','canDeleteUrls','disablelightbox','rate1','rate2','rate3','rate4','rate5','hasRates','jsHasRates','topicRating','hasTags','tbdRestore','tbdRestore','topicHasBeenDeleted','closedButtonLink','closedButtonLink','pollOnly','replyButtonLink','replyButton','closedButton','topicDescription','repFilterDefault','reputationFilter','optSelectStar','repFilterOptions','reputationFilter','weAreMod','startModForm','hasPosts','modButtonCount','showModOptionsinner','mmModOptions','showModOptions','modOptions','hasUnreadNext','modOptionsLink','isLockedFR','isMember','loadJsManually','fastReply','canShare','auNames','topicActiveUsers','scrollToPost'); } /* -- ajax__deletePost --*/ function ajax__deletePost() { $IPBHTML = ""; $IPBHTML .= "<h3>{$this->lang->words['dlp_title']}</h3> <div class='ipsBox'> <div class='ipsBox_container'> <h4 class='row2 ipsPad'><strong>{$this->lang->words['dlp_remove_from_view']}</strong></h4> <div class='ipsPad ipsForm_center'> {$this->lang->words['dlp_remove_from_view_desc']}<br /> <span class='desc lighter ipsType_smaller'>{$this->lang->words['dlp_remove_from_view_extra']}</span><br /><br /> <form action='#{removeUrl}' method='POST'> <input type='text' name='deleteReason' id='delPop_reason' value='' class='input_text' style='width: 60%' /> <input type='submit' class='input_submit' value='{$this->lang->words['dlp_remove']}' /> </form> </div> </div> " . (($this->registry->class_forums->canHardDeletePosts( $this->request['id'], $topic )) ? (" <div class='ipsPad ipsForm_center' style='font-size: 32px'> {$this->lang->words['dlp_or']} </div> <div class='ipsBox_container'> <h4 class='row2 ipsPad'><strong>{$this->lang->words['dlp_delete_from_topic']}</strong></h4> <div class='ipsPad ipsForm_center'> {$this->lang->words['dlp_delete_from_topic_desc']}</br /> <span class='desc lighter ipsType_smaller'>{$this->lang->words['dlp_delete_from_topic_extra']}</span><br /><br /> <input type='button' class='input_submit' onclick="window.location='#{permaUrl}';" value='{$this->lang->words['dlp_delete_now']}' /> </div> </div> ") : ("")) . " </div>"; return $IPBHTML; } /* -- ajaxSigCloseMenu --*/ function ajaxSigCloseMenu($post) { $IPBHTML = ""; $IPBHTML .= "<ul class='ipbmenu_content'> <li class='clearfix'> <a href='#' data-clicklaunch='ignoreUsersSig' data-scope='ipb.topic' data-id="{$post['member_id']}">" . sprintf( $this->lang->words['ignore_userx_signature'], $post['members_display_name'] ) . "</a> </li> <li class='clearfix'> <a href='#' data-clicklaunch='ignoreUsersSig' data-scope='ipb.topic' data-id="all">{$this->lang->words['ignore_all_signatures']}</a> </li> </ul>"; return $IPBHTML; } /* -- announcement_show --*/ function announcement_show($announce="",$author="") { $IPBHTML = ""; if( IPSLib::locationHasHooks( 'skin_topic', $this->_funcHooks['announcement_show'] ) ) { $count_2dbfb1fb4352cacbc11db1bc4c9887cd = is_array($this->functionData['announcement_show']) ? count($this->functionData['announcement_show']) : 0; $this->functionData['announcement_show'][$count_2dbfb1fb4352cacbc11db1bc4c9887cd]['announce'] = $announce; $this->functionData['announcement_show'][$count_2dbfb1fb4352cacbc11db1bc4c9887cd]['author'] = $author; } $IPBHTML .= "" . $this->registry->getClass('output')->addJSModule("topic", "0" ) . " " . $this->registry->getClass('output')->getReplacement("header_start") . "<h2 class='maintitle'>{$this->lang->words['announce_title']}: {$announce['announce_title']} <span class='right'>{$this->lang->words['posted_by']} " . (($author['member_id']) ? (" <span class="author vcard"><a class="url fn" href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "showuser={$author['member_id']}", "public",'' ), "{$author['members_seo_name']}", "showuser" ) . "'>{$author['members_display_name']}</a></span> ") : (" {$author['members_display_name']} ")) . "</span> </h2>" . $this->registry->getClass('output')->getReplacement("header_end") . " <div class='post_block first hentry announcement' id='announce_id_{$announce['announce_id']}'> <div class='post_wrap'> <br /> <div class='author_info'> " . ( method_exists( $this->registry->getClass('output')->getTemplate('global'), 'userInfoPane' ) ? $this->registry->getClass('output')->getTemplate('global')->userInfoPane($author, 'announcement', array()) : '' ) . " </div> <div class='post_body'> <div class='post entry-content'> {$announce['announce_post']} </div> <ul class='post_controls clear clearfix'> " . (($this->memberData['g_is_supmod'] == 1) ? (" <li class='post_edit'><a class='ipsButton_secondary' href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "app=core&amp;module=modcp&amp;tab=announcements&amp;fromapp=forums&amp;_do=edit&amp;announce_id={$announce['announce_id']}", "public",'' ), "", "" ) . "' title='{$this->lang->words['post_edit_announce']}' class='edit_post'>{$this->lang->words['post_edit_announce']}</a></li> ") : ("")) . " </ul> </div> </div> </div>" . $this->registry->getClass('output')->getReplacement("box_end") . " " . ((!$this->settings['disable_lightbox']) ? (" " . ( method_exists( $this->registry->getClass('output')->getTemplate('global'), 'include_lightbox' ) ? $this->registry->getClass('output')->getTemplate('global')->include_lightbox() : '' ) . " ") : ("")) . " " . ( method_exists( $this->registry->getClass('output')->getTemplate('global'), 'include_highlighter' ) ? $this->registry->getClass('output')->getTemplate('global')->include_highlighter(1) : '' ) . ""; return $IPBHTML; } /* -- hookFacebookLike --*/ function hookFacebookLike() { $IPBHTML = ""; if( IPSLib::locationHasHooks( 'skin_topic', $this->_funcHooks['hookFacebookLike'] ) ) { $count_1af18b95259af711253e0fbc2b829493 = is_array($this->functionData['hookFacebookLike']) ? count($this->functionData['hookFacebookLike']) : 0; } $IPBHTML .= "" . (($this->settings['fbc_appid']) ? ("" . (($this->registry->getClass('class_forums')->guestCanSeeTopic($this->request['f'], $this->settings['fbc_bot_group'])) ? (" <br /> <div class='left facebook-like'> <fb:like href="{$this->registry->getClass('output')->fetchRootDocUrl()}" layout="standard" show_faces="false" width="450" action="like" colorscheme="light" /> </div> <div id="fb-root"></div> <script> window.fbAsyncInit = function() { FB.init({appId: '{$this->settings['fbc_appid']}', status: true, cookie: true, xfbml: true}); }; (function() { var e = document.createElement('script'); e.async = true; e.src = document.location.protocol + '//connect.facebook.net/{$this->settings['fb_locale']}/all.js'; document.getElementById('fb-root').appendChild(e); }()); </script> ") : ("")) . "") : ("")) . ""; return $IPBHTML; } /* -- likeSummary --*/ function likeSummary($data, $relId, $opts) { $IPBHTML = ""; $IPBHTML .= "" . $this->registry->getClass('output')->addJSModule("like", "0" ) . " <div class='__like right' data-app="{$data['app']}" data-area="{$data['area']}" data-relid="{$relId}" data-isfave="{$data['iLike']}"> " . ( method_exists( $this->registry->getClass('output')->getTemplate('topic'), 'likeSummaryContents' ) ? $this->registry->getClass('output')->getTemplate('topic')->likeSummaryContents($data, $relId, $opts) : '' ) . " </div> <script type="text/javascript"> 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>"); </script>"; return $IPBHTML; } /* -- likeSummaryContents --*/ function likeSummaryContents($data, $relId, $opts=array()) { $IPBHTML = ""; if( IPSLib::locationHasHooks( 'skin_topic', $this->_funcHooks['likeSummaryContents'] ) ) { $count_fe811faa312f5bddd192f32e41a4d4fa = is_array($this->functionData['likeSummaryContents']) ? count($this->functionData['likeSummaryContents']) : 0; $this->functionData['likeSummaryContents'][$count_fe811faa312f5bddd192f32e41a4d4fa]['data'] = $data; $this->functionData['likeSummaryContents'][$count_fe811faa312f5bddd192f32e41a4d4fa]['relId'] = $relId; $this->functionData['likeSummaryContents'][$count_fe811faa312f5bddd192f32e41a4d4fa]['opts'] = $opts; } $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> " . (($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>") : ("")) . ""; return $IPBHTML; } /* -- pollDisplay --*/ function pollDisplay($poll, $topicData, $forumData, $pollData, $showResults, $editPoll=1) { $IPBHTML = ""; if( IPSLib::locationHasHooks( 'skin_topic', $this->_funcHooks['pollDisplay'] ) ) { $count_f6257afe1e8b162f374579ecf8d88015 = is_array($this->functionData['pollDisplay']) ? count($this->functionData['pollDisplay']) : 0; $this->functionData['pollDisplay'][$count_f6257afe1e8b162f374579ecf8d88015]['poll'] = $poll; $this->functionData['pollDisplay'][$count_f6257afe1e8b162f374579ecf8d88015]['topicData'] = $topicData; $this->functionData['pollDisplay'][$count_f6257afe1e8b162f374579ecf8d88015]['forumData'] = $forumData; $this->functionData['pollDisplay'][$count_f6257afe1e8b162f374579ecf8d88015]['pollData'] = $pollData; $this->functionData['pollDisplay'][$count_f6257afe1e8b162f374579ecf8d88015]['showResults'] = $showResults; $this->functionData['pollDisplay'][$count_f6257afe1e8b162f374579ecf8d88015]['editPoll'] = $editPoll; } $IPBHTML .= "<script type='text/javascript'> //<![CDATA[ ipb.templates['poll_voters'] = new Template("<h3 class='bar'>{$this->lang->words['poll_voted_for']} #{title}</h3><div class='ipsPad'>#{content}</div>"); //]]> </script> <div class='general_box alt poll' id='poll_{$poll['pid']}'> <form action="" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "app=forums&amp;module=extras&amp;section=vote&amp;t={$topicData['tid']}&amp;st={$this->request['st']}&amp;do=add&amp;secure_key={$this->member->form_hash}", "public",'' ), "", "" ) . "" name='pollForm' method="post"> <h3>{$this->lang->words['poll']} {$poll['poll_question']}" . (($showResults) ? (" <span class='desc'>({$poll['_totalVotes']} {$this->lang->words['poll_vote_casted']})</span>") : ("")) . "</h3> " . (($this->settings['poll_allow_public'] AND $poll['poll_view_voters'] AND ! $showResults) ? (" <div class='message unspecified'>{$this->lang->words['poll_public_notice']}</div> ") : ("")) . " ".$this->__f__5bd3e64f44acd1745f93102ad77627d9($poll,$topicData,$forumData,$pollData,$showResults,$editPoll)." <fieldset class='submit'> <legend>{$this->lang->words['poll_vote']}</legend> " . (($topicData['state'] != 'closed') ? ("" . (($this->memberData['member_id']) ? ("" . (($poll['_memberVoted']) ? ("" . (($this->settings['poll_allow_vdelete'] OR $this->memberData['g_is_supmod']) ? (" <a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "app=forums&amp;module=extras&amp;section=vote&amp;t={$topicData['tid']}&amp;st={$this->request['st']}&amp;do=delete&amp;secure_key={$this->member->form_hash}", "public",'' ), "", "" ) . "' title='{$this->lang->words['poll_delete_vote']}' id='poll_deletevote' class='input_submit alt'>{$this->lang->words['poll_delete_vote']}</a> ") : (" {$this->lang->words['poll_you_voted']} ")) . "") : ("" . ((($poll['starter_id'] == $this->memberData['member_id']) and ($this->settings['allow_creator_vote'] != 1)) ? (" {$this->lang->words['poll_you_created']} ") : ("<!-- VOTE Button --> " . (($this->request['mode'] != 'show') ? (" <input class='input_submit' type="submit" name="submit" value="{$this->lang->words['poll_add_vote']}" title="{$this->lang->words['tt_poll_vote']}" /> ") : ("")) . " <!-- SHOW Button --> " . (($this->settings['allow_result_view'] == 1) ? ("" . (($this->request['mode'] == 'show') ? ("" . ((! $poll_view_voters) ? (" <a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "showtopic={$topicData['tid']}&amp;st={$this->request['st']}", "public",'' ), "{$topicData['title_seo']}", "showtopic" ) . "' title='{$this->lang->words['tt_poll_svote']}' id='poll_nullvote' class='input_submit alt'>{$this->lang->words['pl_show_vote']}</a> ") : ("")) . "") : (" <a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "showtopic={$topicData['tid']}&amp;mode=show&amp;st={$this->request['st']}", "public",'' ), "{$topicData['title_seo']}", "showtopic" ) . "' title='{$this->lang->words['tt_poll_show']}' id='poll_showresults' class='input_submit alt'>{$this->lang->words['pl_show_results']}</a> ")) . "") : (" <input class='input_submit' type="submit" name="nullvote" value="{$this->lang->words['poll_null_vote']}" title="{$this->lang->words['tt_poll_null']}" /> ")) . "")) . "")) . "") : (" {$this->lang->words['poll_no_guests']} ")) . "") : ("")) . " " . (($editPoll) ? (" <a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "app=forums&amp;module=post&amp;section=post&amp;do=edit_post&amp;f={$poll['forum_id']}&amp;t={$poll['tid']}&amp;p={$topicData['topic_firstpost']}", "publicWithApp",'' ), "", "" ) . "' title='{$this->lang->words['poll_edit']}' class='input_submit alt' >{$this->lang->words['poll_edit']}</a> ") : ("")) . " </fieldset> </form> </div>"; return $IPBHTML; } function __f__df651e1a6723dc1673f5156df67e9337($poll, $topicData, $forumData, $pollData, $showResults, $editPoll=1,$questionID='',$questionData='',$choiceID='',$choiceData='') { $_ips___x_retval = ''; $__iteratorCount = 0; foreach( $choiceData['voters'] as $id => $member ) { $__iteratorCount++; $_ips___x_retval .= " users += "<a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "showuser={$member['member_id']}", "public",'' ), "{$member['members_seo_name']}", "showuser" ) . "'>{$member['members_colored_name']}</a>" . (($member['_last'] == 0) ? (", ") : ("")) . ""; "; } $_ips___x_retval .= ''; unset( $__iteratorCount ); return $_ips___x_retval; } function __f__783957ddf3f31deade2108df100c9254($poll, $topicData, $forumData, $pollData, $showResults, $editPoll=1,$questionID='',$questionData='') { $_ips___x_retval = ''; $__iteratorCount = 0; foreach( $pollData[ $questionID ]['choices'] as $choiceID => $choiceData ) { $__iteratorCount++; $_ips___x_retval .= " " . (($showResults) ? ("<li> <span class='answer'>" . ((is_array( $choiceData['voters'] ) AND in_array( $this->memberData['member_id'], array_keys( $choiceData['voters'] ) )) ? (" " . $this->registry->getClass('output')->getReplacement("your_vote") . " ") : ("")) . "{$choiceData['choice']}</span> " . (($poll['poll_view_voters'] AND is_array( $choiceData['voters'] ) AND $this->settings['poll_allow_public'] AND $choiceData['votes']) ? (" <a href='#' class='votes' id='l_voters_{$questionID}_{$choiceID}' title='{$this->lang->words['poll_view_voters']}'>({$choiceData['votes']} {$this->lang->words['poll_votes']} [{$choiceData['percent']}%] - <strong>{$this->lang->words['poll_view']}</strong>)</a> ") : (" <span class='votes'> ({$choiceData['votes']} {$this->lang->words['poll_votes']} [{$choiceData['percent']}%])</span> ")) . " " . (($poll['poll_view_voters'] AND is_array( $choiceData['voters'] ) AND $this->settings['poll_allow_public'] AND $choiceData['votes']) ? (" <script type='text/javascript'> $('l_voters_{$questionID}_{$choiceID}').observe('click', ipb.topic.showVoters.bindAsEventListener( this, {$questionID}, {$choiceID} ) ); if( Object.isUndefined( ipb.topic.poll[ $questionID ] ) ){ ipb.topic.poll[ $questionID ] = []; } var users = ""; ".$this->__f__df651e1a6723dc1673f5156df67e9337($poll,$topicData,$forumData,$pollData,$showResults,$editPoll,$questionID,$questionData,$choiceID,$choiceData)." ipb.topic.poll[ $questionID ][ $choiceID ] = { name: "{$choiceData['choice']}", users: users}; </script> ") : ("")) . " <p class='progress_bar topic_poll' title='{$this->lang->words['poll_percent_of_vote']} {$choiceData['percent']}%'> <span style='width: {$choiceData['percent']}%'><span>{$this->lang->words['poll_percent_of_vote']} {$choiceData['percent']}%</span></span> </p> </li>") : ("" . (($choiceData['type'] == 'multi') ? (" <li><input type='checkbox' id='choice_{$questionID}_{$choiceID}' name='choice_{$questionID}_{$choiceID}' value='1' class='input_check' /> <label for='choice_{$questionID}_{$choiceID}'>{$choiceData['choice']}</label></li> ") : (" <li><input type='radio' name='choice[{$questionID}]' id='choice_{$questionID}_{$choiceID}' class='input_radio' value='{$choiceID}' /> <label for='choice_{$questionID}_{$choiceID}'>{$choiceData['choice']}</label></li> ")) . "")) . " "; } $_ips___x_retval .= ''; unset( $__iteratorCount ); return $_ips___x_retval; } function __f__5bd3e64f44acd1745f93102ad77627d9($poll, $topicData, $forumData, $pollData, $showResults, $editPoll=1) { $_ips___x_retval = ''; $__iteratorCount = 0; foreach( $pollData as $questionID => $questionData ) { $__iteratorCount++; $_ips___x_retval .= " <div class='poll_question" . (($showResults) ? (" voted") : ("")) . "'> <h4 class='rounded'>{$pollData[ $questionID ]['question']}</h4> " . ((! $this->settings['allow_result_view'] AND ! $this->memberData['member_id']) ? (" {$this->lang->words['poll_noview_guest']} ") : (" <ol> ".$this->__f__783957ddf3f31deade2108df100c9254($poll,$topicData,$forumData,$pollData,$showResults,$editPoll,$questionID,$questionData)." </ol> ")) . " </div> "; } $_ips___x_retval .= ''; unset( $__iteratorCount ); return $_ips___x_retval; } /* -- post --*/ function post($post, $displayData, $topic, $forum=array()) { $IPBHTML = ""; if( IPSLib::locationHasHooks( 'skin_topic', $this->_funcHooks['post'] ) ) { $count_34db70701ef1b08b8cb35473fb20916a = is_array($this->functionData['post']) ? count($this->functionData['post']) : 0; $this->functionData['post'][$count_34db70701ef1b08b8cb35473fb20916a]['post'] = $post; $this->functionData['post'][$count_34db70701ef1b08b8cb35473fb20916a]['displayData'] = $displayData; $this->functionData['post'][$count_34db70701ef1b08b8cb35473fb20916a]['topic'] = $topic; $this->functionData['post'][$count_34db70701ef1b08b8cb35473fb20916a]['forum'] = $forum; } $IPBHTML .= "<!--post:{$post['post']['pid']}--> " . (($post['post']['_isDeleted'] AND $post['post']['_softDeleteSee']) ? (" " . ( method_exists( $this->registry->getClass('output')->getTemplate('topic'), 'softDeletedPostBit' ) ? $this->registry->getClass('output')->getTemplate('topic')->softDeletedPostBit($post, $displayData['sdData'], $topic) : '' ) . " ") : ("")) . " " . ((! $post['post']['_isDeleted']) ? ("<div class='post_block hentry clear clearfix column_view " . (($post['post']['_isHidden']) ? ("moderated") : ("")) . "' id='post_id_{$post['post']['pid']}'> <a id='entry{$post['post']['pid']}'></a> " . ((!empty( $post['post']['_repignored'] ) AND $post['post']['_repignored'] == 1 && $post['post']['_ignored'] != 1) ? ("<div class='post_ignore'> " . (($post['post']['rep_points'] == 0) ? (" <span class='reputation zero' title='{$this->lang->words['top_rep']}'> ") : ("")) . " " . (($post['post']['rep_points'] > 0) ? (" <span class='reputation positive' title='{$this->lang->words['top_rep']}'> ") : ("")) . " " . (($post['post']['rep_points'] < 0) ? (" <span class='reputation negative' title='{$this->lang->words['top_rep']}' > ") : ("")) . " {$post['post']['rep_points']}</span> {$this->lang->words['top_this_post_by']} <a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "showuser={$post['author']['member_id']}", "public",'' ), "", "" ) . "'>{$post['author']['members_display_name']}</a> {$this->lang->words['top_below_thresh']}. <a href='#' title='{$this->lang->words['ignore_view_post']}' id='unhide_post_{$post['post']['pid']}'>{$this->lang->words['rep_view_anyway']}</a> </div>") : ("")) . " " . (($post['post']['_repignored'] == 1 || $post['post']['_ignored']) ? ("<div class='post_ignore'> " . (($post['post']['_repignored'] == 1) ? ("{$this->lang->words['post_ignored_rep']}") : ("{$this->lang->words['post_ignored']}")) . " <a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "showuser={$post['author']['member_id']}", "public",'' ), "{$post['author']['members_seo_name']}", "showuser" ) . "'>{$post['author']['members_display_name']}</a>. <a href='#entry{$post['post']['pid']}' title='{$this->lang->words['ignore_view_post']}' style='display: none' id='unhide_post_{$post['post']['pid']}'>{$this->lang->words['rep_view_anyway']}</a> " . (($this->settings['reputation_enabled'] AND $post['post']['_repignored'] == 1) ? ("<div><a href="" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "showtopic={$post['post']['topic_id']}&amp;st={$this->request['st']}&amp;rep_filter_set=*&amp;rep_filter=update&amp;secure_key={$this->member->form_hash}", "public",'' ), "{$topic['title_seo']}", "showtopic" ) . "">{$this->lang->words['post_ignore_reset_rep']}</a></div>") : ("")) . " </div>") : ("")) . " <div class='post_wrap' " . (($post['post']['_ignored'] == 1 || $post['post']['_repignored'] == 1) ? ("style='display: none'") : ("")) . "> " . (($post['author']['member_id']) ? (" <h3> ") : (" <h3> ")) . " " . (($this->memberData['is_mod']) ? ("<span class='right'> <label for='checkbox_{$post['post']['pid']}' class='post_mod hide'>{$this->lang->words['mod_select_post']}</label><input type='checkbox' id='checkbox_{$post['post']['pid']}' name='selectedpids[]' value='{$post['post']['pid']}' class='post_mod right'" . ((!empty( $post['post']['_pid_selected'] )) ? (" checked='checked'") : ("")) . " /> </span>") : ("")) . " <span class='post_id right ipsType_small desc blend_links'><a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "showtopic={$post['post']['topic_id']}&amp;view=findpost&amp;p={$post['post']['pid']}", "public",'' ), "{$topic['title_seo']}", "showtopic" ) . "' rel='bookmark' title='{$this->lang->words['link_to_post']} #{$post['post']['post_count']}'>#{$post['post']['post_count']}</a></span> <div class='post_username'> " . (($post['author']['_online']) ? ("<img src="{style_images_url}/post_online.png" alt="" class='post_online' data-tooltip="Online" />") : ("<img src="{style_images_url}/post_offline.png" alt="" class='post_online' data-tooltip="Offline" />")) . " " . (($post['author']['member_id']) ? (" <span class="author vcard">" . ( method_exists( $this->registry->getClass('output')->getTemplate('global'), 'userHoverCard' ) ? $this->registry->getClass('output')->getTemplate('global')->userHoverCard($post['author']) : '' ) . "</span> ") : (" {$post['author']['members_display_name']} ")) . "</div> <div class='post_date'> {$this->lang->words['posted']} <abbr class="published" title="" . date( 'c', $post['post']['post_date'] ) . "">" . $this->registry->getClass('class_localization')->getDate($post['post']['post_date'],"long", 0) . "</abbr> </div> " . (($post['post']['_show_ip']) ? ("<span class='ip right ipsType_small'>({$this->lang->words['ip']}: " . (($post['author']['g_access_cp']) ? (" <em>{$this->lang->words['ip_private']}</em> ") : ("" . (($this->memberData['g_is_supmod']) ? ("<a href="" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "app=core&amp;module=modcp&amp;fromapp=members&amp;tab=iplookup&amp;ip={$post['post']['ip_address']}", "public",'' ), "", "" ) . "" title='{$this->lang->words['info_about_this_ip']}'>{$post['post']['ip_address']}</a>") : ("{$post['post']['ip_address']}")) . "")) . ") </span>") : ("")) . " </h3> <div class='author_info'> " . ( method_exists( $this->registry->getClass('output')->getTemplate('global'), 'userInfoPane' ) ? $this->registry->getClass('output')->getTemplate('global')->userInfoPane($post['author'], $post['post']['pid'], array( 'isTopicView' => true )) : '' ) . " </div> <div class='post_body'> " . (($this->settings['reputation_highlight'] AND $post['post']['rep_points'] >= $this->settings['reputation_highlight']) ? (" <p class='rep_highlight'>" . $this->registry->getClass('output')->getReplacement("popular_post") . "<br />{$this->lang->words['popular_post']}</p> ") : ("")) . " <div class='post entry-content " . (($post['post']['_repignored'] == 1) ? ("imgsize_ignore") : ("")) . "'> {$post['post']['post']} {$post['post']['attachmentHtml']} <br /> " . (($post['post']['edit_by']) ? ("<p class='edit'> {$post['post']['edit_by']} " . (($post['post']['post_edit_reason'] != '') ? (" <br /> <span class='reason'>{$post['post']['post_edit_reason']}</span> ") : ("")) . " </p>") : ("")) . " </div> " . ( method_exists( $this->registry->getClass('output')->getTemplate('global_other'), 'repButtons' ) ? $this->registry->getClass('output')->getTemplate('global_other')->repButtons($post['author'], array_merge( array( 'primaryId' => $post['post']['pid'], 'domLikeStripId' => 'like_post_' . $post['post']['pid'], 'domCountId' => 'rep_post_' . $post['post']['pid'], 'app' => 'forums', 'type' => 'pid', 'likeFormatted' => $post['post']['like']['formatted'] ), $post['post'] )) : '' ) . " " . (($post['post']['signature']) ? (" {$post['post']['signature']} ") : ("")) . " <ul class='post_controls clear clearfix'> <li class='top'><a href='#ipboard_body' title='{$this->lang->words['back_top']}'><img src="{style_images_url}/post_top.png" alt="" /> {$this->lang->words['back_top']}</a></li> " . (($post['post']['_canReply']) ? ("<li><a href="" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "module=post&amp;section=post&amp;do=reply_post&amp;f={$this->request['f']}&amp;t={$this->request['t']}&amp;qpid={$post['post']['pid']}", "publicWithApp",'' ), "", "" ) . "" class='_ips_trigger_quote' pid="{$post['post']['pid']}" title="{$this->lang->words['tt_reply_to_post']}"><img src="{style_images_url}/comment_new.png" alt="" /> {$this->lang->words['post_reply']}</a></li> " . ((!empty( $post['post']['_mq_selected'] )) ? (" <li class='selected multiquote' id='multiq_{$post['post']['pid']}' style='display: none'> ") : (" <li class='multiquote' id='multiq_{$post['post']['pid']}' style='display: none'> ")) . " <a href="" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "module=post&amp;section=post&amp;do=reply_post&amp;f={$this->request['f']}&amp;t={$this->request['t']}&amp;qpid={$post['post']['pid']}", "publicWithApp",'' ), "", "" ) . "" title="{$this->lang->words['quote_with_mq']}"><img src="{style_images_url}/mq_post.png" alt="" /> {$this->lang->words['mq']}</a> </li>") : ("")) . " " . (($post['post']['_can_edit'] === TRUE) ? (" <li class='post_edit'><a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "module=post&amp;section=post&amp;do=edit_post&amp;f={$topic['forum_id']}&amp;t={$topic['tid']}&amp;p={$post['post']['pid']}&amp;st={$this->request['st']}", "publicWithApp",'' ), "", "" ) . "' title='{$this->lang->words['post_edit_title']}' class='edit_post' id='edit_post_{$post['post']['pid']}'><img src="{style_images_url}/comment_edit.png" alt="" /> {$this->lang->words['post_edit']}</a></li> ") : ("")) . " " . (($post['post']['_can_delete'] === TRUE OR $post['post']['_softDelete']) ? (" <li class='post_del' id='del_post_{$post['post']['pid']}'> <a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "module=moderate&amp;section=moderate&amp;do=postchoice&amp;tacwords[words[ title=t=delete&amp;f={$topic['forum_id']}&amp;t={$topic['tid']}&amp;selectedpids[]={$post['post']['pid']}&amp;st={$this->request['st']}&amp;auth_key={$this->member->form_hash}", "publicWithApp",'' ), "", "" ) . "' title='{$this->lang->words['post_delete_title']}' class='delete_post'><img src="{style_images_url}/comment_delete.png" alt="" /> {$this->lang->words['post_delete']}</a> </li> ") : ("")) . " " . (($this->memberData['is_mod']) ? ("<li class='post_toggle toggle_post' id='toggle_post_{$post['post']['pid']}' style='display: none'> <a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "app=forums&amp;module=moderate&amp;section=moderate&amp;do=postchoice&amp;tact=" . ((!$post['post']['queued']) ? ("unapprove") : ("approve")) . "&amp;selectedpids[{$post['post']['pid']}]={$post['post']['pid']}&amp;t={$topic['tid']}&amp;f={$forum['id']}&amp;auth_key={$this->member->form_hash}", "public",'' ), "", "" ) . "' title='{$this->lang->words['post_toggle_visible']}'><span id='toggletext_post_{$post['post']['pid']}'>" . (($post['post']['queued']==1) ? ("<img src="{style_images_url}/accept.png" alt="" /> {$this->lang->words['post_approve']}") : ("<img src="{style_images_url}/delete.png" alt="" /> {$this->lang->words['post_unapprove']}")) . "</span></a> </li>") : ("")) . " " . (($this->settings['blog_allow_bthis'] AND $this->memberData['has_blog'] AND IPSLib::appIsInstalled( 'blog' ) AND $post['post']['_canReply']) ? (" <li> <a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "app=blog&amp;blog_this=forums&amp;id1={$this->request['t']}&amp;id2={$post['post']['pid']}", "public",'' ), "", "" ) . "'><img src="{style_images_url}/book_add.png" alt="" /> {$this->lang->words['blog_this']}</a> </li> ") : ("")) . " " . (($topic['_canReport'] and ( $this->memberData['member_id'] )) ? ("<li class='report'> <a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "app=core&amp;module=reports&amp;rcom=post&amp;tid={$this->request['t']}&amp;pid={$post['post']['pid']}&amp;st={$this->request['st']}", "public",'' ), "", "" ) . "'><img src="{style_images_url}/report.png" alt="" /> {$this->lang->words['report']}</a> </li> " . (($this->memberData['_cache']['report_temp']['post_marker']['post'][ $post['post']['pid'] ]['gfx'] > 0) ? (" <li class='report'> <a href="{$this->settings['base_url']}app=core&amp;module=reports&amp;section=reports&amp;do=show_report&amp;rid={$this->memberData['_cache']['report_temp']['post_marker']['post'][$post['post']['pid']]['info']['id']}" id='post-report-{$post['post']['pid']}' class='ipbmenu'> <span id="rstat-{$this->memberData['_cache']['report_temp']['post_marker']['post'][ $post['post']['pid'] ]['info']['id']}"><img src="{$this->settings['img_url']}/reports/post_alert_{$this->memberData['_cache']['report_temp']['post_marker']['post'][$post['post']['pid']]['gfx']}.png" alt="" /></span> </a> </li> ") : ("")) . "") : ("")) . " </ul> " . (($this->memberData['_cache']['report_temp']['post_marker']['post'][ $post['post']['pid'] ]['gfx'] > 0) ? (" <ul id='post-report-{$post['post']['pid']}_menucontent' class='ipbmenu_content report_menu'> <li><a href="" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "app=core&amp;module=reports&amp;do=show_report&amp;rid={$this->memberData['_cache']['report_temp']['post_marker']['post'][ $post['post']['pid'] ]['info']['id']}", "public",'' ), "", "" ) . "" id='report_mark_{$post['post']['pid']}'><img src='{$this->settings['img_url']}/reports/mark_complete.png' alt='' /> {$this->lang->words['report_menu_mark_complete']}</a></li> <li><a href="{$this->settings['base_url']}app=core&amp;module=reports&amp;section=reports&amp;do=show_report&amp;rid={$this->memberData['_cache']['report_temp']['post_marker']['post'][$post['post']['pid']]['info']['id']}"><img src='{$this->settings['img_url']}/reports/view_report.png' alt='' /> {$this->lang->words['report_menu_view_report']}</a></li> </ul> <script type="text/javascript"> $('report_mark_{$post['post']['pid']}').observe('click', ipb.global.updateReportStatus.bindAsEventListener( this, {$this->memberData['_cache']['report_temp']['post_marker']['post'][$post['post']['pid']]['info']['id']},2,2 ) ); </script> ") : ("")) . " </div> </div> </div>") : ("")) . " " . (($post['post']['_repignored'] == 1 || $post['post']['_ignored']) ? (" <script type='text/javascript'> ipb.topic.setPostHidden( {$post['post']['pid']} ); $('unhide_post_{$post['post']['pid']}').show(); </script> ") : ("")) . " <hr /> " . (($post['post']['_adCode']) ? (" {$post['post']['_adCode']} ") : ("")) . " <script type="text/javascript"> var pid = parseInt({$post['post']['pid']}); if ( pid > ipb.topic.topPid ){ ipb.topic.topPid = pid; } " . ((! $post['post']['_isDeleted']) ? (" // Show multiquote for JS browsers if ( $('multiq_{$post['post']['pid']}') ) { $('multiq_{$post['post']['pid']}').show(); } if( $('toggle_post_{$post['post']['pid']}') ) { $('toggle_post_{$post['post']['pid']}').show(); } // Add perm data ipb.topic.deletePerms[{$post['post']['pid']}] = { 'canDelete' : " . intval($post['post']['_can_delete']) . ", 'canSoftDelete' : " . intval($post['post']['_softDelete']) . " }; ") : ("")) . " </script>"; return $IPBHTML; } /* -- quickEditPost --*/ function quickEditPost($post) { $IPBHTML = ""; if( IPSLib::locationHasHooks( 'skin_topic', $this->_funcHooks['quickEditPost'] ) ) { $count_3ca63b9fc5a31ac79cb12f4666c8cdd1 = is_array($this->functionData['quickEditPost']) ? count($this->functionData['quickEditPost']) : 0; $this->functionData['quickEditPost'][$count_3ca63b9fc5a31ac79cb12f4666c8cdd1]['post'] = $post; } $IPBHTML .= "{$post['post']} {$post['attachmentHtml']} <br /> " . (($post['edit_by']) ? ("<p class='edit'> {$post['edit_by']} " . (($post['post_edit_reason'] != '') ? (" <br /> <span class='reason'>{$this->lang->words['reason_for_edit']} {$post['post_edit_reason']}</span> ") : ("")) . " </p>") : ("")) . ""; return $IPBHTML; } /* -- show_attachment_title --*/ function show_attachment_title($title="",$data="",$type="") { $IPBHTML = ""; if( IPSLib::locationHasHooks( 'skin_topic', $this->_funcHooks['show_attachment_title'] ) ) { $count_670348af06f33488f2e6e052d9cf6fd0 = is_array($this->functionData['show_attachment_title']) ? count($this->functionData['show_attachment_title']) : 0; $this->functionData['show_attachment_title'][$count_670348af06f33488f2e6e052d9cf6fd0]['title'] = $title; $this->functionData['show_attachment_title'][$count_670348af06f33488f2e6e052d9cf6fd0]['data'] = $data; $this->functionData['show_attachment_title'][$count_670348af06f33488f2e6e052d9cf6fd0]['type'] = $type; } $IPBHTML .= "<div id='attach_wrap' class=''> <h4>{$title}</h4> <ul> ".$this->__f__ba0898f6f908b120ad1bd15637a2c3fa($title,$data,$type)." </ul> </div>"; return $IPBHTML; } function __f__ba0898f6f908b120ad1bd15637a2c3fa($title="",$data="",$type="") { $_ips___x_retval = ''; $__iteratorCount = 0; foreach( $data as $file ) { $__iteratorCount++; $_ips___x_retval .= " <li class='" . (($type == 'attach') ? ("attachment") : ("")) . "'> {$file} </li> "; } $_ips___x_retval .= ''; unset( $__iteratorCount ); return $_ips___x_retval; } /* -- Show_attachments --*/ function Show_attachments($data="") { $IPBHTML = ""; if( IPSLib::locationHasHooks( 'skin_topic', $this->_funcHooks['Show_attachments'] ) ) { $count_acc3f41394d38f3d2916347b899b113a = is_array($this->functionData['Show_attachments']) ? count($this->functionData['Show_attachments']) : 0; $this->functionData['Show_attachments'][$count_acc3f41394d38f3d2916347b899b113a]['data'] = $data; } $IPBHTML .= "<a href="" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "app=core&amp;module=attach&amp;section=attach&amp;attach_id={$data['attach_id']}", "public",'' ), "", "" ) . "" title="{$this->lang->words['attach_dl']}"><img src="{$this->settings['public_dir']}" . (($data['mime_image']) ? ("{$data['mime_image']}") : ("style_extra/mime_types/unknown.gif")) . "" alt="{$this->lang->words['attached_file']}" /></a> &nbsp;<a href="" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "app=core&amp;module=attach&amp;section=attach&amp;attach_id={$data['attach_id']}", "public",'' ), "", "" ) . "" title="{$this->lang->words['attach_dl']}"><strong>{$data['attach_file']}</strong></a> &nbsp;&nbsp;<span class='desc'><strong>{$data['file_size']}</strong></span> &nbsp;&nbsp;<span class="desc lighter">{$data['attach_hits']} {$this->lang->words['attach_hits']}</span>"; return $IPBHTML; } /* -- Show_attachments_img --*/ function Show_attachments_img($data=array()) { $IPBHTML = ""; $IPBHTML .= "<a class='resized_img' rel='lightbox[{$data['attach_rel_id']}]' id='ipb-attach-url-{$data['_attach_id']}' href="" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "app=core&amp;module=attach&amp;section=attach&amp;attach_rel_module={$data['type']}&amp;attach_id={$data['attach_id']}", "public",'' ), "", "" ) . "" title="{$data['location']} - {$this->lang->words['attach_size']} {$data['file_size']}, {$this->lang->words['attach_ahits']} {$data['attach_hits']}"><img src="{$this->settings['upload_url']}/{$data['o_location']}" class='bbc_img linked-image' alt="{$this->lang->words['pic_attach']}: {$data['location']}" /></a>"; return $IPBHTML; } /* -- Show_attachments_img_thumb --*/ function Show_attachments_img_thumb($data=array()) { $IPBHTML = ""; $IPBHTML .= "<a class='resized_img' rel='lightbox[{$data['attach_rel_id']}]' id='ipb-attach-url-{$data['_attach_id']}' href="" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "app=core&amp;module=attach&amp;section=attach&amp;attach_rel_module={$data['type']}&amp;attach_id={$data['attach_id']}", "public",'' ), "", "" ) . "" title="{$data['location']} - {$this->lang->words['attach_size']} {$data['file_size']}, {$this->lang->words['attach_ahits']} {$data['attach_hits']}"><img src="{$this->settings['upload_url']}/{$data['t_location']}" id='ipb-attach-img-{$data['_attach_id']}' style='width:{$data['t_width']};height:{$data['t_height']}' class='attach' width="{$data['t_width']}" height="{$data['t_height']}" alt="{$this->lang->words['pic_attach']}: {$data['location']}" /></a>"; return $IPBHTML; } /* -- softDeletedPostBit --*/ function softDeletedPostBit($post, $sdData, $topic) { $IPBHTML = ""; if( IPSLib::locationHasHooks( 'skin_topic', $this->_funcHooks['softDeletedPostBit'] ) ) { $count_75c112b5d157aae299e664f4446cd7a4 = is_array($this->functionData['softDeletedPostBit']) ? count($this->functionData['softDeletedPostBit']) : 0; $this->functionData['softDeletedPostBit'][$count_75c112b5d157aae299e664f4446cd7a4]['post'] = $post; $this->functionData['softDeletedPostBit'][$count_75c112b5d157aae299e664f4446cd7a4]['sdData'] = $sdData; $this->functionData['softDeletedPostBit'][$count_75c112b5d157aae299e664f4446cd7a4]['topic'] = $topic; } $_sD = $sdData[ $post['post']['pid'] ]; $_sM = $_sD; $IPBHTML .= "<div class='post_block hentry clear moderated' id='post_id_{$post['post']['pid']}'> <a id='entry{$post['post']['pid']}'></a> <div class='post_wrap'> " . (($post['author']['member_id']) ? (" <h3 class='row2'> ") : (" <h3 class='row2 guest'> ")) . " " . (($this->memberData['is_mod'] OR $this->memberData['g_is_supmod']) ? ("<span class='post_id right'> <label for='checkbox_{$post['post']['pid']}' class='post_mod hide'>{$this->lang->words['mod_select_post']}</label><input type='checkbox' id='checkbox_{$post['post']['pid']}' name='selectedpids[]' value='{$post['post']['pid']}' class='post_mod'" . ((!empty( $post['post']['_pid_selected'] )) ? (" checked='checked'") : ("")) . " /> </span>") : ("")) . " " . (($post['author']['member_id']) ? (" <span class="author vcard"><a class="url fn" href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "showuser={$post['author']['member_id']}", "public",'' ), "{$post['author']['members_seo_name']}", "showuser" ) . "'>{$post['author']['members_display_name']}</a></span> ") : (" {$post['author']['members_display_name']} ")) . " " . (($post['post']['_show_ip']) ? ("<span class='ip right ipsType_small'>({$this->lang->words['ip']}: " . (($post['author']['g_access_cp']) ? (" <em>{$this->lang->words['ip_private']}</em> ") : (" <a href="" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "app=core&amp;module=modcp&amp;tab=iplookup&amp;fromapp=forums&amp;_do=submit&amp;ip={$post['post']['ip_address']}", "public",'' ), "", "" ) . "" title='{$this->lang->words['info_about_this_ip']}'>{$post['post']['ip_address']}</a> ")) . " )</span>") : ("")) . " </h3> <div class='post_body' id='postsDelete_{$post['post']['pid']}' style='margin-left: 0;'> <div class='post entry-content' style='padding:10px'> {$this->lang->words['post_deleted_by']} <a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "showuser={$_sD['sdl_obj_member_id']}", "public",'' ), "{$_sM['members_seo_name']}", "showuser" ) . "'>{$_sM['members_display_name']}</a> {$this->lang->words['on']} " . $this->registry->getClass('class_localization')->getDate($_sD['sdl_obj_date'],"long", 0) . ". " . (($post['post']['_softDeleteReason']) ? ("<p class='desc'>" . (($_sD['sdl_obj_reason']) ? ("{$_sD['sdl_obj_reason']}") : ("{$this->lang->words['no_reason_given']}")) . "</p>") : ("")) . " </div> </div> " . (($post['post']['_softDeleteContent']) ? ("<div id='postsDeleteShow_{$post['post']['pid']}' style='display:none'> <div class='author_info'> " . ( method_exists( $this->registry->getClass('output')->getTemplate('global'), 'userInfoPane' ) ? $this->registry->getClass('output')->getTemplate('global')->userInfoPane($post['author'], $post['post']['pid'], array()) : '' ) . " </div> <div class='post_body'> <p class='posted_info'> {$this->lang->words['posted']} <abbr class="published" title="" . @date( 'c', $post['post']['post_date'] ) . "">" . $this->registry->getClass('class_localization')->getDate($post['post']['post_date'],"long", 0) . "</abbr> </p> <div class='post entry-content'> {$post['post']['post']} {$post['post']['attachmentHtml']} <br /> " . (($post['post']['edit_by']) ? ("<p class='edit'> {$post['post']['edit_by']} " . (($post['post']['post_edit_reason'] != '') ? (" <br /> <span class='reason'>{$this->lang->words['reason_for_edit']} {$post['post']['post_edit_reason']}</span> ") : ("")) . " </p>") : ("")) . " </div> " . (($post['post']['signature']) ? (" {$post['post']['signature']} ") : ("")) . " </div> </div>") : ("")) . " " . (($post['post']['_softDeleteContent'] OR $post['post']['_softDeleteRestore']) ? ("<ul class='post_controls clear clearfix'> " . (($post['post']['_softDeleteRestore']) ? (" <li class='post_toggle sd_restore' id='restoreContent_{$post['post']['pid']}'> <a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "app=forums&amp;module=moderate&amp;section=moderate&amp;do=postchoice&amp;tact=sundelete&amp;selectedpids[{$post['post']['pid']}]={$post['post']['pid']}&amp;pid={$post['post']['pid']}&amp;t={$topic['tid']}&amp;f={$topic['forum_id']}&amp;auth_key={$this->member->form_hash}&amp;nr=1", "public",'' ), "", "" ) . "'><span>{$this->lang->words['sdpost_restore']}</span></a> </li> ") : ("")) . "" . (($post['post']['_can_delete']) ? (" <li> <a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "module=moderate&amp;section=moderate&amp;do=04&amp;f={$topic['forum_id']}&amp;t={$topic['tid']}&amp;p={$post['post']['pid']}&amp;pid={$post['post']['pid']}&amp;st={$this->request['st']}&amp;auth_key={$this->member->form_hash}&amp;nr=1", "publicWithApp",'' ), "", "" ) . "' title='{$this->lang->words['post_delete_title']}' class='sd_remove'>{$this->lang->words['sdpost_remove']}</a> </li> ") : ("")) . "" . (($post['post']['_softDeleteContent']) ? (" <li class='post_toggle sd_content' id='seeContent_{$post['post']['pid']}'> <a href='#'><span>{$this->lang->words['togglepostcontent']}</span></a> </li> ") : ("")) . " </ul>") : ("")) . " </div> </div>"; return $IPBHTML; } /* -- topicPreview --*/ function topicPreview($topic, $posts) { $IPBHTML = ""; $IPBHTML .= "".$this->__f__c2d3f465841c9b98e4392fbd892122f6($topic,$posts)."<br class='clear' /> <a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "showtopic={$topic['tid']}", "public",'' ), "{$topic['title_seo']}", "showtopic" ) . "' class='ipsButton'>{$this->lang->words['tg_gototopic']}</a> " . ((! $topic['_lastRead'] OR $topic['_unreadPosts']) ? ("&nbsp;&nbsp;<span class='desc'> " . (($topic['_unreadPosts']) ? (" {$topic['_unreadPosts']} {$this->lang->words['newpoststp']} &middot; <a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "showtopic={$topic['tid']}&amp;view=getnewpost", "public",'' ), "{$topic['title_seo']}", "showtopic" ) . "'>{$this->lang->words['tg_go_last_post']}</a> ") : ("")) . " <a data-clicklaunch="topicMarkRead" data-tid="{$topic['tid']}" href="" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "showtopic={$topic['tid']}&amp;view=getnewpost", "public",'' ), "{$topic['title_seo']}", "showtopic" ) . "">" . (($topic['_unreadPosts']) ? ("&middot; ") : ("")) . "{$this->lang->words['mark_topic_read']}</a> </span>") : ("")) . ""; return $IPBHTML; } function __f__c2d3f465841c9b98e4392fbd892122f6($topic, $posts) { $_ips___x_retval = ''; $__iteratorCount = 0; foreach( $posts as $t => $post ) { $__iteratorCount++; $_ips___x_retval .= " <a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "showuser={$post['member_id']}", "public",'' ), "{$post['members_seo_name']}", "showuser" ) . "' class='ipsUserPhotoLink left'> <img src='{$post['pp_thumb_photo']}' class='ipsUserPhoto ipsUserPhoto_medium' /> </a> <div class='preview_col'> <p class='preview_info'> <strong><a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "showuser={$post['member_id']}", "public",'' ), "{$post['members_seo_name']}", "showuser" ) . "'>{$post['members_display_name']}</a></strong> " . (($t != 'search') ? ("{$this->lang->words['tg_madethe']} <a href="" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "showtopic={$post['tid']}&amp;findpost={$post['pid']}", "public",'' ), "{$post['title_seo']}", "showtopic" ) . "">{$this->lang->words['tg_'.$t]}</a>") : ("{$this->lang->words['tg_'.$t]}")) . " </p> {$post['post']} </div> <br class='clear' /> "; } $_ips___x_retval .= ''; unset( $__iteratorCount ); return $_ips___x_retval; } /* -- topicViewTemplate --*/ function topicViewTemplate($forum, $topic, $post_data, $displayData) { $IPBHTML = ""; if( IPSLib::locationHasHooks( 'skin_topic', $this->_funcHooks['topicViewTemplate'] ) ) { $count_175b1a7dc3a629f5cecf22793b72090b = is_array($this->functionData['topicViewTemplate']) ? count($this->functionData['topicViewTemplate']) : 0; $this->functionData['topicViewTemplate'][$count_175b1a7dc3a629f5cecf22793b72090b]['forum'] = $forum; $this->functionData['topicViewTemplate'][$count_175b1a7dc3a629f5cecf22793b72090b]['topic'] = $topic; $this->functionData['topicViewTemplate'][$count_175b1a7dc3a629f5cecf22793b72090b]['post_data'] = $post_data; $this->functionData['topicViewTemplate'][$count_175b1a7dc3a629f5cecf22793b72090b]['displayData'] = $displayData; } $pluginEditorHook = IPSLib::loadLibrary( IPS_ROOT_PATH . 'sources/classes/editor/composite.php', 'classes_editor_composite' ); $editor = new $pluginEditorHook(); $IPBHTML .= "" . (($this->settings['customizeView']='yes') ? ("") : ("")) . " " . (($forum['forum_allow_rating']) ? (" " . $this->registry->getClass('output')->addJSModule("rating", "0" ) . " ") : ("")) . " " . $this->registry->getClass('output')->addJSModule("topic", "0" ) . " <script type="text/javascript"> //<![CDATA[ ipb.topic.inSection = 'topicview'; ipb.topic.topic_id = {$topic['tid']}; ipb.topic.forum_id = {$forum['id']}; ipb.topic.start_id = " . intval($this->request['st']) . "; ipb.topic.topPid = 0; ipb.topic.counts = { postTotal: " . intval($topic['posts']+1) . ", curStart: ipb.topic.start_id, perPage: " . intval($this->settings['display_max_posts']) . " }; //Search Setup ipb.vars['search_type'] = 'forum'; ipb.vars['search_type_id'] = {$forum['id']}; ipb.vars['search_type_2'] = 'topic'; ipb.vars['search_type_id_2'] = {$topic['tid']}; " . ((!$this->member->is_not_human) ? (" // Delete stuff set up ipb.topic.deleteUrls['hardDelete'] = new Template("" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "module=moderate&section=moderate&do=04&f={$forum['id']}&t={$topic['tid']}&st={$this->request['st']}&auth_key={$this->member->form_hash}&p=#{pid}", "publicWithApp",'' ), "", "" ) . ""); ipb.topic.deleteUrls['softDelete'] = new Template("" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "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}", "public",'' ), "", "" ) . ""); ") : ("")) . " //]]> </script> " . ((!$this->settings['disable_lightbox']) ? (" " . ( method_exists( $this->registry->getClass('output')->getTemplate('global'), 'include_lightbox' ) ? $this->registry->getClass('output')->getTemplate('global')->include_lightbox() : '' ) . " ") : ("")) . " <div class='ipbfs_titlebox'> <a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "showuser={$topic['_starter']['member_id']}", "public",'' ), "{$topic['_starter']['members_seo_name']}", "showuser" ) . "' class='ipsUserPhotoLink'> <img src='{$topic['_starter']['pp_small_photo']}' class='ipsUserPhoto ipsUserPhoto_medium left' /> </a> <div class='ipsBox_withphoto'> <span class='right'>{$displayData['follow_data']}</span> <h1 class='ipsType_pagetitle'> {$topic['title']} </h1> " . (($forum['forum_allow_rating']) ? ("<span class='rating ipsType_smaller right'> " . (($topic['_allow_rate']) ? (" <strong>{$this->lang->words['js_rate_me']}</strong>&nbsp;&nbsp; ") : ("")) . "" . (($topic['_allow_rate']) ? (" <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']}'> ") : ("")) . " " . (($topic['_rate_int'] >= 1) ? (" " . $this->registry->getClass('output')->getReplacement("rate_on") . " ") : (" " . $this->registry->getClass('output')->getReplacement("rate_off") . " ")) . " " . (($topic['_allow_rate']) ? (" </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']}'> ") : ("")) . " " . (($topic['_rate_int'] >= 2) ? (" " . $this->registry->getClass('output')->getReplacement("rate_on") . " ") : (" " . $this->registry->getClass('output')->getReplacement("rate_off") . " ")) . " " . (($topic['_allow_rate']) ? (" </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']}'> ") : ("")) . " " . (($topic['_rate_int'] >= 3) ? (" " . $this->registry->getClass('output')->getReplacement("rate_on") . " ") : (" " . $this->registry->getClass('output')->getReplacement("rate_off") . " ")) . " " . (($topic['_allow_rate']) ? (" </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']}'> ") : ("")) . " " . (($topic['_rate_int'] >= 4) ? (" " . $this->registry->getClass('output')->getReplacement("rate_on") . " ") : (" " . $this->registry->getClass('output')->getReplacement("rate_off") . " ")) . " " . (($topic['_allow_rate']) ? (" </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']}'> ") : ("")) . " " . (($topic['_rate_int'] >= 5) ? (" " . $this->registry->getClass('output')->getReplacement("rate_on") . " ") : (" " . $this->registry->getClass('output')->getReplacement("rate_off") . " ")) . " " . (($topic['_allow_rate']) ? (" </a> ") : ("")) . " <span id='rating_text'> " . (($topic['topic_rating_hits'] > 0) ? ("<span id='rating_hits'>{$topic['topic_rating_hits']} {$this->lang->words['poll_s_votes']}</span>") : ("")) . " </span> " . (($topic['_allow_rate']) ? ("<script type='text/javascript'> //<![CDATA[ rating = new ipb.rating( 'topic_rate_', { url: '" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "app=forums&module=ajax&section=topics&do=rateTopic&t={$topic['tid']}", "public",'' ), "", "" ) . "&md5check=' + ipb.vars['secure_hash'], cur_rating: {$topic['_rate_int']}, rated: " . (($topic['_rating_value'] != -1) ? ("1") : ("0")) . ", allow_rate: {$topic['_allow_rate']}, multi_rate: 1, show_rate_text: true } ); //]]> </script>") : ("")) . " </span>") : ("")) . " <div class='desc lighter blend_links'> {$this->lang->words['started_by']} " . ( method_exists( $this->registry->getClass('output')->getTemplate('global'), 'userHoverCard' ) ? $this->registry->getClass('output')->getTemplate('global')->userHoverCard($topic['_starter']) : '' ) . ", " . $this->registry->getClass('class_localization')->getDate($topic['start_date'],"SHORT", 0) . " </div> " . ((is_array($topic['tags'])) ? (" {$topic['tags']['formatted']['parsedWithoutComma']} <br /> ") : ("")) . " </div> </div> " . (($topic['_isDeleted']) ? ("<br /> <div class='message error'> {$this->lang->words['dlp_topic_has_deleted_desc']} &nbsp;&nbsp; " . (($topic['permissions']['TopicSoftDeleteRestore']) ? (" <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;st={$this->request['st']}&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> ") : ("")) . " " . (($this->memberData['g_is_supmod'] == 1 || $this->memberData['forumsModeratorData'][ $forum['id'] ]['delete_topic']) ? (" <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;st={$this->request['st']}&amp;t={$topic['tid']}&amp;auth_key={$this->member->form_hash}&amp;do=09", "public",'' ), "", "" ) . "' title='{$this->lang->words['dl_ths_delete']}' class='ipsButton_secondary'>{$this->lang->words['dl_ths_delete']}</a> ") : ("")) . " </div>") : ("")) . " <br /> <div class='topic_controls'> {$topic['SHOW_PAGES']} <ul class='topic_buttons'> " . (($displayData['reply_button']['image'] == 'locked') ? ("<li class='important'> " . ((isset($displayData['poll_data']['poll']['poll_only']) && $displayData['poll_data']['poll']['poll_only']) ? ("" . (($displayData['reply_button']['url']) ? (" <a href='{$displayData['reply_button']['url']}' accesskey='r'>" . $this->registry->getClass('output')->getReplacement("lock_icon") . " {$this->lang->words['top_poll_only_reply']}</a> ") : (" <span>" . $this->registry->getClass('output')->getReplacement("lock_icon") . " {$this->lang->words['top_poll_only']}</span> ")) . "") : ("" . (($displayData['reply_button']['url']) ? (" <a href='{$displayData['reply_button']['url']}' accesskey='r'>" . $this->registry->getClass('output')->getReplacement("lock_icon") . " {$this->lang->words['top_locked_reply']}</a> ") : (" <span>" . $this->registry->getClass('output')->getReplacement("lock_icon") . " {$this->lang->words['top_locked']}</span> ")) . "")) . " </li>") : ("" . (($displayData['reply_button']['image']) ? ("" . (($displayData['reply_button']['url']) ? (" <li><a href='{$displayData['reply_button']['url']}' title='{$this->lang->words['topic_add_reply']}' accesskey='r'>" . $this->registry->getClass('output')->getReplacement("{$displayData['reply_button']['image']}_icon") . " {$this->lang->words['topic_add_reply']}</a></li> ") : (" <li class='disabled'><span>{$this->lang->words['top_cannot_reply']}</span></li> ")) . "") : ("")) . "")) . " " . (($topic['hasUnreadPosts'] AND $topic['posts']) ? (" <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> ") : ("")) . " </ul> </div> " . $this->registry->getClass('output')->getReplacement("header_start") . "<div class='maintitle clear clearfix'> " . (($this->settings['customizeView']=='yes') ? (" <div class='topicViewIcons left'> <a href="#" id="topicViewRegular" title="Regular View"><img src="{style_images_url}/spacer.gif" alt="" /></a> <a href="#" id="topicViewBasic" title="Basic View"><img src="{style_images_url}/spacer.gif" alt="" /></a> </div> ") : ("")) . " <span class='ipsType_small'> " . (($topic['posts']) ? ("" . sprintf( ( $topic['posts'] > 1 ) ? $this->lang->words['x_replies_to_topic'] : $this->lang->words['x_reply_to_topic'], $topic['posts'] ) . "") : (" {$this->lang->words['no_replies_to_topic']} ")) . " </span> " . (($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'> " . (($this->memberData['_members_cache']['rep_filter'] && $this->memberData['_members_cache']['rep_filter'] === '*') ? (" {$this->lang->words['rep_f_viewing_all']} ") : (" " . sprintf( $this->lang->words['rep_f_hiding'], $this->memberData['_members_cache']['rep_filter'] ) . " ")) . " <img src='{$this->settings['img_url']}/useropts_arrow.png' /> </ {$this-id]};height:{$data[{$post[__f__c2d3f465841c9b98e4392fbd892122f6($topic,$posts).output]) : 0; $this-]) . tid formatUrl( $this-parsedWithoutComma topic_add_replya>") : ("")) . " </div>" . $this->registry->getClass('output')->getReplacement("header_end") . " " . (($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'> <li " . ((isset( $this->memberData['_members_cache']['rep_filter'] ) AND $this->memberData['_members_cache']['rep_filter'] === '*') ? ("class='selected'") : ("")) . "> <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;st={$this->request['st']}&amp;rep_filter_set=*", "public",'' ), "", "" ) . "'>{$this->lang->words['rep_f_all_posts']}</a> </li> " . ((is_array($this->caches['reputation_levels'])) ? (" ".$this->__f__11ea7933a9adb97f367879dc21cbc052($forum,$topic,$post_data,$displayData)." ") : ("")) . " </ul> <script type='text/javascript'> new ipb.Menu( $('rep_filter'), $('rep_filter_menucontent') ); </script>") : ("")) . " <div class='topic hfeed clear clearfix removeDefault' " . (($this->settings['customizeView']=='yes') ? ("id='customize_topic'") : ("")) . "> {$displayData['poll_data']['html']} " . (($displayData['mod_links']) ? ("" . (($this->memberData['is_mod'] OR $this->memberData['member_id'] == $topic['starter_id']) ? (" <form id="modform" method="post" action="" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "", "public",'' ), "", "" ) . ""> <fieldset> <input type="hidden" name="app" value="forums" /> <input type="hidden" name="module" value="moderate" /> <input type="hidden" name="section" value="moderate" /> <input type="hidden" name="do" value="postchoice" /> <input type="hidden" name="f" value="{$topic['forum_id']}" /> <input type="hidden" name="t" value="{$topic['tid']}" /> <input type="hidden" name="auth_key" value="{$this->member->form_hash}" /> <input type="hidden" name="st" value="{$this->request['st']}" /> <input type="hidden" value="{$this->request['selectedpids']}" name="selectedpidsJS" id='selectedpidsJS' /> </fieldset> ") : ("")) . "") : ("")) . " " . ((is_array( $post_data ) AND count( $post_data )) ? (" <div class='ipsBox'> <div class='ipsBox_container' id='ips_Posts'> ".$this->__f__b5488ae76d793485b2c8420ce765b4a1($forum,$topic,$post_data,$displayData)." </div> </div> ") : ("")) . " <hr /> <!-- MOD LINKS --> " . (($displayData['mod_links']) ? ("" . (($this->memberData['is_mod'] OR $this->memberData['member_id'] == $topic['starter_id']) ? ("<div class='ipsBox ipsPad clear clearfix' id='topic_mod'> <div class='row2 ipsBox_container clearfix'> <div class='moderation_bar with_action right'> " . (($this->memberData['is_mod']) ? ("<label for='tact' class='hide'>{$this->lang->words['post_moderation']}</label> <select name="tact" id='tact' class='input_select'> <option value="">{$this->lang->words['post_moderation']}</option> <option value="merge">{$this->lang->words['cpt_merge']}</option> <option value="move">{$this->lang->words['cpt_move']}</option> <option value="delete">{$this->lang->words['cpt_delete']}</option> " . (($this->registry->class_forums->can_Un_SoftDeletePosts( $forum_data['id'], $topic )) ? ("<option value="sundelete">{$this->lang->words['cpt_undelete']}</option>") : ("")) . " <option value="split">{$this->lang->words['cpt_split']}</option> <option value="approve">{$this->lang->words['cpt_approve']}</option> <option value="unapprove">{$this->lang->words['cpt_unapprove']}</option> </select>&nbsp; <input type="submit" id='mod_submit' name="gobutton" value="{$this->lang->words['f_go']}" . (($this->request['selectedpidcount']) ? (" ({$this->request['selectedpidcount']})") : ("")) . "" class="input_submit alt" />") : ("")) . " </div> </form> <script type='text/javascript'> $('modform').observe('submit', ipb.topic.submitPostModeration ); </script> <div class='moderation_bar left' id='topic_mod_2'> <a href='#' id='topic_mod_options' class='ipbmenu input_submit alt left'>{$this->lang->words['topic_moderation']}</a> <ul class='ipbmenu_content' id='topic_mod_options_menucontent'> ".$this->__f__6afd74cd768337768a96b56f76d2c1fe($forum,$topic,$post_data,$displayData)." " . (($topic['topic_queuedposts'] AND $this->registry->class_forums->canQueuePosts( $forum['id'] )) ? (" <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;st={$this->request['st']}&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> ") : ("")) . "" . (($topic['topic_queuedposts'] AND $this->registry->class_forums->canHardDeletePosts( $forum['id'], $topic )) ? (" <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;st={$this->request['st']}&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> ") : ("")) . "" . (($topic['permissions']['softDeleteRestore'] AND $topic['topic_deleted_posts']) ? (" <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;st={$this->request['st']}&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> ") : ("")) . "" . (($topic['topic_deleted_posts'] AND $this->registry->class_forums->canHardDeletePosts( $forum['id'], $topic )) ? (" <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;st={$this->request['st']}&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> ") : ("")) . " " . ((is_array( $displayData['multi_mod'] ) AND count( $displayData['multi_mod'] )) ? (" ".$this->__f__0820622d49d8b11dd6f34405bb08acc1($forum,$topic,$post_data,$displayData)." ") : ("")) . " </ul> <script type='text/javascript'> new ipb.Menu( $('topic_mod_options'), $('topic_mod_options_menucontent') ); </script> </div> </div> </div>") : ("")) . "") : ("")) . " </div>" . $this->registry->getClass('output')->getReplacement("box_end") . " <hr /> <div class='topic_controls clear ipsPad_top_bottom_half'> " . (($topic['SHOW_PAGES']) ? (" <div class='left'>{$topic['SHOW_PAGES']}</div> ") : ("")) . " <div class='ipsPad_top_slimmer right'> <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> " . (($forum['_hasUnreadTopics']) ? (" &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> ") : ("")) . " </div> " . (($displayData['mod_links'] && ( $this->memberData['is_mod'] OR $this->memberData['member_id'] == $topic['starter_id'] )) ? (" <div class='moderation_bar ipsType_small' style='text-align: center; width: 40%;margin:0 auto;'> <a href='#' id='moderator_toggle'><img src='{$this->settings['img_url']}/moderation_cog.png' />&nbsp; {$this->lang->words['show_moderation_tools']}</a> </div> ") : ("")) . " </div> " . (($displayData['fast_reply'] && $displayData['reply_button']['url']) ? ("<hr /> " . $this->registry->getClass('output')->getReplacement("header_start") . "<h3 class='maintitle'>{$this->lang->words['topic_add_reply']}</h3>" . $this->registry->getClass('output')->getReplacement("header_end") . " <div class='ipsBox removeDefault' id='fast_reply_wrapper'> <div class='ipsBox_container ipsPad'> " . (($topic['state'] == 'closed') ? ("<div class='message error'>{$this->lang->words['locked_reply_fr']}</div>") : ("")) . " <br /> " . (($this->memberData['member_id']) ? (" <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> ") : (" <div class='left'>" . IPSMember::buildNoPhoto(0, 'small' ) . "</div> ")) . " <div class='ipsBox_withphoto clearfix'> <form action="" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "", "public",'' ), "", "" ) . "" method="post" id='ips_fastReplyForm'> <input type="hidden" name="app" value="forums" /> <input type="hidden" name="module" value="post" /> <input type="hidden" name="section" value="post" /> <input type="hidden" name="do" value="reply_post_do" /> <input type="hidden" name="f" value="{$forum['id']}" /> <input type="hidden" name="t" value="{$topic['tid']}" /> <input type="hidden" name="st" value="{$this->request['st']}" /> <input type="hidden" name="auth_key" value="{$this->member->form_hash}" /> <input type="hidden" name="fast_reply_used" value="1" /> <input type="hidden" name="enableemo" value="yes" /> <input type="hidden" name="enablesig" value="yes" /> " . (($this->memberData['auto_track']) ? (" <input type="hidden" name="enabletrack" value="1" /> ") : ("")) . "" . ((is_array($topic['_fastReplyStatusMessage']) AND count($topic['_fastReplyStatusMessage']) AND strlen($topic['_fastReplyStatusMessage'][0])) ? (" <div class='message'>" . implode( '<br />', $topic['_fastReplyStatusMessage'] ) . "</div> ") : ("")) . "" . $editor->show('Post', array( 'type' => 'full', 'minimize' => 1, 'isTypingCallBack' => 'ipb.topic.isTypingCallBack', 'height' => 180, 'autoSaveKey' => 'reply-' . $topic[tid] ), "") . " <br /> <fieldset class='right' id='fast_reply_controls'> <input type='submit' name="submit" class='input_submit' value='{$this->lang->words['qr_post']}' tabindex='0' accesskey='s' id='submit_post' />&nbsp;&nbsp;<input type='submit' name="preview" class='input_submit alt' value='{$this->lang->words['qr_more_opts']}' tabindex='0' id='full_compose' /> </fieldset> </form> </div> <div id='ips_HasReplies'></div> </div> </div> " . $this->registry->getClass('output')->getReplacement("box_end") . " <script type='text/javascript'> ipb.topic.fastReplyId = '{$this->settings['_lastEditorId']}'; </script>") : ("" . (($displayData['load_editor_js']) ? (" " . ( method_exists( $this->registry->getClass('output')->getTemplate('editors'), 'editorLoadJs' ) ? $this->registry->getClass('output')->getTemplate('editors')->editorLoadJs($displayData['smilies']) : '' ) . " ") : ("")) . "")) . " <!-- Close topic --> <!-- BOTTOM BUTTONS --> " . ((!$forum['disable_sharelinks'] AND $this->settings['sl_enable']) ? (" <br /> <div class='clear clearfix left'> " . IPSLib::shareLinks( $topic['title'] ) . " </div> <br /> ") : ("")) . " <!-- ACTIVE USERS --> " . ((is_array( $displayData['active_users'] ) AND count( $displayData['active_users'] )) ? ("<div id='topic_stats' class='statistics clear clearfix'> <div id='topic_active_users' class='active_users'> <h4 class='statistics_head'>" . sprintf( $this->lang->words['active_users_title'], ($displayData['active_users']['members'] + $displayData['active_users']['guests'] + $displayData['active_users']['anon'] ) ) . "</h4> <p class='statistics_brief desc'>" . sprintf( $this->lang->words['active_users_detail'], $displayData['active_users']['members'], $displayData['active_users']['guests'], $displayData['active_users']['anon'] ) . "</p> " . ((is_array( $displayData['active_users']['names'] ) AND count( $displayData['active_users']['names'] )) ? (" <br /> <ul class='ipsList_inline'> ".$this->__f__1013fa6a42f76ce3b1a5e3c0d54907d8($forum,$topic,$post_data,$displayData)." </ul> ") : ("")) . " </div> </div>") : ("")) . " " . (($this->request['gopid']) ? (" <script type='text/javascript'> var gopid = "{$this->request['gopid']}".replace(/&amp;/g, ''); ipb.topic.scrollToPost( parseInt( gopid ) ); </script> ") : ("")) . " " . ( method_exists( $this->registry->getClass('output')->getTemplate('global'), 'include_highlighter' ) ? $this->registry->getClass('output')->getTemplate('global')->include_highlighter(1) : '' ) . " <div id='multiQuoteInsert' style='display: none;' class='ipsFloatingAction'> <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; </div>"; return $IPBHTML; } function __f__11ea7933a9adb97f367879dc21cbc052($forum, $topic, $post_data, $displayData) { $_ips___x_retval = ''; $__iteratorCount = 0; foreach( $this->caches['reputation_levels'] as $k => $v ) { $__iteratorCount++; $_ips___x_retval .= " <li " . ((isset( $this->memberData['_members_cache']['rep_filter'] ) AND $v['level_points'] == $this->memberData['_members_cache']['rep_filter']) ? ("class='selected'") : ("")) . "> <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;st={$this->request['st']}&amp;rep_filter_set={$v['level_points']}", "public",'' ), "", "" ) . "' rel='nofollow'> {$this->lang->words['rep_f_hide']} <strong>{$v['level_points']} {$this->lang->words['rep_f_points']}</strong> </a> </li> "; } $_ips___x_retval .= ''; unset( $__iteratorCount ); return $_ips___x_retval; } function __f__b5488ae76d793485b2c8420ce765b4a1($forum, $topic, $post_data, $displayData) { $_ips___x_retval = ''; $__iteratorCount = 0; foreach( $post_data as $post ) { $__iteratorCount++; $_ips___x_retval .= " " . ( method_exists( $this->registry->getClass('output')->getTemplate('topic'), 'post' ) ? $this->registry->getClass('output')->getTemplate('topic')->post($post, $displayData, $topic, $forum) : '' ) . " "; } $_ips___x_retval .= ''; unset( $__iteratorCount ); return $_ips___x_retval; } function __f__6afd74cd768337768a96b56f76d2c1fe($forum, $topic, $post_data, $displayData) { $_ips___x_retval = ''; $__iteratorCount = 0; foreach( $displayData['mod_links'] as $_mod_link ) { $__iteratorCount++; $_ips___x_retval .= " <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;st={$this->request['st']}&amp;auth_key={$this->member->form_hash}&amp;_fromTopic=1&amp;do={$_mod_link['option']}", "public",'' ), "", "" ) . "">{$_mod_link['value']}</a> "; } $_ips___x_retval .= ''; unset( $__iteratorCount ); return $_ips___x_retval; } function __f__0820622d49d8b11dd6f34405bb08acc1($forum, $topic, $post_data, $displayData) { $_ips___x_retval = ''; $__iteratorCount = 0; foreach( $displayData['multi_mod'] as $mm_data ) { $__iteratorCount++; $_ips___x_retval .= " <li><a href="" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "app=forums&amp;module=moderate&amp;section=multimod&amp;t={$topic['tid']}&amp;mm_id={$mm_data[0]}", "public",'' ), "", "" ) . "">{$this->lang->words['mm_title']}: {$mm_data[1]}</a></li> "; } $_ips___x_retval .= ''; unset( $__iteratorCount ); return $_ips___x_retval; } function __f__1013fa6a42f76ce3b1a5e3c0d54907d8($forum, $topic, $post_data, $displayData) { $_ips___x_retval = ''; $__iteratorCount = 0; foreach( $displayData['active_users']['names'] as $p => $r ) { $__iteratorCount++; $_ips___x_retval .= " <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( $displayData['active_users']['names'] )) ? (",") : ("")) . "</li> "; } $_ips___x_retval .= ''; unset( $__iteratorCount ); return $_ips___x_retval; } } /*--------------------------------------------------*/ /* END OF FILE */ /*--------------------------------------------------*/ ?>tid member_idoutput]) ? (lang- id=output
  2. hacker

    IPB help

    არა არ შველის ,ეგ ბევრჯერ ვცადე, ნებისმიერ ვერსიაზე ეგრე წერს ,არადა ადრე ყველა ვერსია მუშაობდა ,იგივე ფაილებს ვტვირტავ ზუსტად იმავე ძრავს მაგრამ არ გამოდის ,რავი წარმოდგენა არ მაქვს ეგრე რატომ უნდა აკეთებდეს
  3. hacker

    IPB help

    დამეხმარეთ ,პრობლემა მაქვს ,იპბის რომ ვაინსტალირებ ,მონაცემთა ბაზას რომ ვუთითებ (სწორად) და ვაწვები "შემდეგ"ს ასე წერს Parse error: syntax error, unexpected 'http' (T_STRING) in /home/u346973693/public_html/ips_kernel/classDb.php on line 1832 სკრიპტებში შეცდომები არაა !ეს ზუსტად ვიცი ,ამის გარდა კიდევ ბევრ ერორს აგდებს არადა ყველაფერი სწორადაა ,ადრეც მქონდა ეს იპბი ,ზუსტად იგივე იპბია ესეც ზუსტად ,თან ყველა ვერსიაზე ასე წერს ,დენვერზეც მქონდა იპბი დაყენებული იქაც მუშაობდა ეხლა იქაც ერორებს აგდებს ,რისი ბრალია ?დამეხმარეთ
  4. hacker

    IPB help

    ფლუდისთვის ბოდიშს ვიხდი ,მივხვდი უკვე რაც უნდა გავაკეთო აღარ გინდათ
  5. hacker

    IPB help

    მეგობარო ,არავითარი იპბის შეცვლა არაა საჭირო დიზოში globalTemplate ნახე შედი და <div id="credits-box"> ნახე და ამ დივის ბოლომე სულ წაშალე აი მაგ <div id="credits-box"> <div id="sb-credits-box"> <h3 class='bar'>Elegant IPB Skin By Skinbox</h3> <div id="sb-credits-box-inner"> <div id="sb-credits-box-center"><a href="http://www.skinbox.net" title='IPB Skins, vBulletin Skins and Wordpress Themes at Skinbox'><img src="{style_images_url}/_custom/skinbox_big.png" border="0" /></a></div> <span class="hide"><h4><strong><a href="http://www.skinbox.net" title="IPB Skins, vBulletin Skins and Wordpress Themes at Skinbox">Elegant IPB Skin</a> by <a href="http://www.skinbox.net" title="IPB Skins, vBulletin Skins and Wordpress Themes at Skinbox">Skinbox</a>.</strong></h4></span> <div id="sb-credits-box-center"> <a class="input_submit" href="http://www.skinbox.net/skins/ipb-3-0-skins/professional-skins/professionnal-blue/39" title='IPB Skins, vBulletin Skins and Wordpress Themes at Skinbox' id='register_link'>Purchase this skin</a> <a class="input_submit alt" href="http://www.skinbox.net" title='IPB Skins, vBulletin Skins and Wordpress Themes at Skinbox' id='register_link'>Visit Skinbox</a> </div> </div> </div> </div> მიხვდი ? იმედია გამოგადგება ეს პოსტი
  6. hacker

    IPB help

    ეგ კი ვნახე მაგრამ ვერ მივხვდი მაინც რაშია საქმე ,ყველაფერი სწორადაა დაწერილი ,მოდი აბა დამიწერე მაგალითი როგორ უნდა იყოს ... ანდაც ის მითხარი როგორ გავაკეთო რომ საერთოდ ეს ფორმა არ ამოდიოდეს , შესვლის გვერდზე რომ გადადიოდეს
  7. hacker

    IPB help

    აუ მიშველეთ ,ასეთი პრობლემაა ,სკრიპტს.გე ზე რომ დააჭერ ავტორიზაციას და გამოდის ფანჯარა ეგეთია ჩემ ფორუმზეც და რო შეიყვან ლოგინს და პაროლს გადაყავხარ ავტორიზაციის გვერდზე და წერს რომ არასწორი მონაცემებია შეყვანილი ,მერე ავტორიზაციის გვერდზე იგივე მონაცემების შეყვანისას შედის ,ანუ ეს ფანჯარა არ მუშაობს ნორმალურად და როგორ გავასწორო ?
  8. გაიხარე ძმაო ,მაგრად დამეხმარე
  9. ანუ ,ამ საიტზე (სრიპტს.გე) ხომ არის ხოლმე შემოსული გუგლის რობოტი ხოდა საიტზე როგორ დავაყენო რობოტი ? ანუ ოპტიმიზაცია მინდა რა ,ეგ ხომ გუგლში საიტის დამატებაა ,დავამატე მაგრამ გუგლი არ შემოდის ხოლმე საიტზე მაინც მე განა ის მინდა რომ შემოვიდეს მაინც და მაინც ,არამედ ის რომ გუგლმა იცოდეს ჩემი საიტი და ინფორმაცია ამოაგდოს ხოლმე :smile_k:
  10. კითხვა მაქვს ამ ფორუმზე რომაა გუგლ ბოტი ანუ გუგლში რომ მოძებნო რამე ამ საიტს ხომ ამოაგდებს ,ხოდა ასე როგორ გავაკეთო ? ანუ ფორუმი რომ დავარეგისტრირო გუგლში ?
  11. hacker

    IPB help

    მე შენთვის არ მირჩევია ჯეოჰაკი და არც გასწავლი არაფერს (მასწავლი რა და როგორი რესურსიაო რომ მითხარი). და პატივისცემა სხვანაირად გამოიხატება შეიძლებოდა ასე გეთქვა ”ჩემი საიტის ბბ კოდებს ვერ მოგცემ ” შენ კი დაცინვით და გრუბად მითხარი ”მმმ კიდევ რ ამოვაყოლო აბა მითხარი?..” შენ თვითონ დაუკვირდი ,ეგ პატივისცემაა ? ხომ შეიძლებოდა ნორმალურად დაგეწერა
  12. hacker

    IPB help

    ბლინ თუ არ დამეხმარეთ აბა ეს საიტი რისთვისაა საინტერესოა !!! ხალხნო ,geohack.ge ზე წამოდით იქ მეტი ინფორმაციაცაა და სხვა თუ არაფერი მეტი პატივისცემაა !!! ბბ კოდებს გთხოვ databases ხომ არა !!!
  13. hacker

    IPB help

    ადმინ ,გთხოვ რა bb კოდებს ექსპორტი გაუკეთე ,ამ ფორუმის ბბ კოდებს და მომე რა ექსპორტირებული ფაილი ,გთხოვ რა ,კაცურად ძაან მჭირდება
  14. ეს 3.1.3 ზე არ მიდის ?
  15. მაიცადეთ ! თუ hosts დანაა დაბლოკილი მაშინ ვერ proxy და ვერც turbo ვერ გიშველით C:/WINDOWS/SYSTEM32/DRIVERS /ETC /hosts გახსენით ბლოკნოტით და ამოშალეთ იმ საიტის დომენი რომელიც დაბლოკილია და რომლის განბლოკვაც გინდათ
×