Jump to content

View My Content


Recommended Posts

When I click this on ipb 3.0.3 I get errors at the top. How do I fix this



Warning: Missing argument 8 for skin_search_16::userPostsView(), called in /home/techpbc/public_html/forum/admin/applications/core/modules_public/search/search.php on line 774 and defined in /home/techpbc/public_html/forum/cache/skin_cache/cacheid_16/skin_search.php on line 476

Warning: Cannot modify header information - headers already sent by (output started at /home/techpbc/public_html/forum/cache/skin_cache/cacheid_16/skin_search.php:476) in /home/techpbc/public_html/forum/admin/sources/classes/output/formats/html/htmlOutput.php on line 93

Warning: Cannot modify header information - headers already sent by (output started at /home/techpbc/public_html/forum/cache/skin_cache/cacheid_16/skin_search.php:476) in /home/techpbc/public_html/forum/admin/sources/classes/output/formats/html/htmlOutput.php on line 96

Warning: Cannot modify header information - headers already sent by (output started at /home/techpbc/public_html/forum/cache/skin_cache/cacheid_16/skin_search.php:476) in /home/techpbc/public_html/forum/admin/sources/classes/output/formats/html/htmlOutput.php on line 104

Warning: Cannot modify header information - headers already sent by (output started at /home/techpbc/public_html/forum/cache/skin_cache/cacheid_16/skin_search.php:476) in /home/techpbc/public_html/forum/admin/sources/classes/output/formats/html/htmlOutput.php on line 105

Warning: Cannot modify header information - headers already sent by (output started at /home/techpbc/public_html/forum/cache/skin_cache/cacheid_16/skin_search.php:476) in /home/techpbc/public_html/forum/admin/sources/classes/output/formats/html/htmlOutput.php on line 109

post-129114-0-84125000-1296872913_thumb.

Link to post

/home/techpbc/public_html/forum/cache/skin_cache/cacheid_16/skin_search.php:476)


function userPostsView($results, $pagination, $total, $member, $asForum, $limited=0, $wasLimited=false, $beginTime) {

skin_search.php


<?php
/*--------------------------------------------------*/
/* FILE GENERATED BY INVISION POWER BOARD 3 */
/* CACHE FILE: Skin set id: 16 */
/* CACHE FILE: Generated: Sat, 05 Feb 2011 02:41:55 GMT */
/* DO NOT EDIT DIRECTLY - THE CHANGES WILL NOT BE */
/* WRITTEN TO THE DATABASE AUTOMATICALLY */
/*--------------------------------------------------*/

class skin_search_16 {

/**
* 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();
}
/* -- activePostsView --*/
function activePostsView($results, $pagination, $total, $asForum) {
$IPBHTML = "";
$IPBHTML .= "<h2>" . sprintf($this->lang->words['active_content'], $this->lang->words['actperiod_' . $this->request['period'] ]) . "</h2>
<div class=\"box\">
<ul class='tabs'>
" . ((! in_array( $this->settings['search_method'], array( 'traditional', 'sphinx' ) )) ? ("<li " . ((isset( $this->request['search_filter_app'] ) && $this->request['search_filter_app']['all'] != 1) ? ("class=\"active\"") : ("")) . "><a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "app=core&amp;module=search&amp;do=active&amp;search_filter_app[all]=1", 'public','' ), "", "" ) . "'>{$this->lang->words['active_all']}</a></li>") : ("")) . "
".$this->__f__539b817e18c2c64b31d9344d31b0aa40($results,$pagination,$total,$asForum)." </ul>
<ol>
" . (($total) ? ("
<li>
<ol>
".$this->__f__9619ecd9228eed157ed1d2a078a6d3ee($results,$pagination,$total,$asForum)." </ol>
</li>
") : ("
<li><p>{$this->lang->words['active_none']}</p></li>
")) . "
</ol>
</div>
{$pagination}";
return $IPBHTML;
}


function __f__539b817e18c2c64b31d9344d31b0aa40($results, $pagination, $total, $asForum)
{
$_ips___x_retval = '';
foreach( $this->registry->getApplications() as $app )
{

$_ips___x_retval .= "
" . ((IPSSearchIndex::appIsSearchable( $app['app_directory'] )) ? ("<li id='tab_{$app['app_title']}' " . (($this->request['search_app'] == $app['app_directory']) ? ("class=\"active\"") : ("")) . "><a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "app=core&amp;module=search&amp;do=active&amp;search_filter_app[{$app['app_directory']}]=1", 'public','' ), "", "" ) . "'>" . ((strtolower($app['app_title']) == 'system') ? ("{$this->lang->words['livesearch_helpfiles']}") : ("{$app['app_public_title']}")) . "</a></li>") : ("")) . "

";
}
$_ips___x_retval .= '';
return $_ips___x_retval;
}

function __f__9619ecd9228eed157ed1d2a078a6d3ee($results, $pagination, $total, $asForum)
{
$_ips___x_retval = '';
foreach( $results as $result )
{

$_ips___x_retval .= "
" . (($result['sub']) ? ("
{$result['html']}
") : ("
{$result['html']}
")) . "

";
}
$_ips___x_retval .= '';
return $_ips___x_retval;
}

/* -- calEventRangedSearchResult --*/
function calEventRangedSearchResult($r, $resultAsTitle=false) {
$IPBHTML = "";
$IPBHTML .= "<div class='result_info'>
<h3><a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "app=calendar&amp;module=calendar&amp;cal_id={$r['type_id']}&amp;do=showevent&amp;event_id={$r['type_id_2']}&amp;hl={$this->request['search_higlight']}", 'public','' ), "", "" ) . "'>{$r['content_title']}</a> (" . $this->registry->getClass('class_localization')->getDate($r['updated'],"short", 0) . " {$this->lang->words['to']} " . $this->registry->getClass('class_localization')->getDate($r['misc'],"short", 0) . ")</h3>
" . ((!$resultAsTitle) ? ("
<p>
{$r['content']}
</p>
") : ("")) . "
</div>
<div class='result_details desc'>
<ul>
<li>By <a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "showuser={$r['member_id']}", 'public','' ), "{$r['members_seo_name']}", "showuser" ) . "' title='{$this->lang->words['view_profile']}'>{$r['members_display_name']}</a>" . $this->registry->getClass('output')->getTemplate('global')->user_popup($r['member_id']) . "</li>
</ul>
</div>";
return $IPBHTML;
}

/* -- calEventSearchResult --*/
function calEventSearchResult($r, $resultAsTitle=false) {
$IPBHTML = "";
$IPBHTML .= "<div class='result_info'>
<h3><a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "app=calendar&amp;module=calendar&amp;cal_id={$r['type_id']}&amp;do=showevent&amp;event_id={$r['type_id_2']}&amp;hl={$this->request['search_higlight']}", 'public','' ), "", "" ) . "'>{$r['content_title']}</a> (" . $this->registry->getClass('class_localization')->getDate($r['updated'],"short", 0) . " {$this->lang->words['to']} " . $this->registry->getClass('class_localization')->getDate($r['misc'],"short", 0) . ")</h3>
" . ((!$resultAsTitle) ? ("
<p>
{$r['content']}
</p>
") : ("")) . "
</div>
<div class='result_details desc'>
<ul>
<li>By <a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "showuser={$r['member_id']}", 'public','' ), "{$r['members_seo_name']}", "showuser" ) . "' title='{$this->lang->words['view_profile']}'>{$r['members_display_name']}</a>" . $this->registry->getClass('output')->getTemplate('global')->user_popup($r['member_id']) . "</li>
</ul>
</div>";
return $IPBHTML;
}

/* -- forumAdvancedSearchFilters --*/
function forumAdvancedSearchFilters($forums) {
$IPBHTML = "";
$IPBHTML .= "<div class=\"box\">
<h3 class=\"dark\">{$this->lang->words['find_forum']}</h3>
<ul>
<li class=\"input arrow\">
<select name='search_app_filters[forums][]' class='input_select' size='6' multiple='multiple'>{$forums}</select>
</li>
</ul>
</div>";
return $IPBHTML;
}

/* -- forumSearchResult --*/
function forumSearchResult($r, $resultAsTitle=false) {
$IPBHTML = "";
$IPBHTML .= "<result>
<icon>{$this->settings['public_dir']}style_extra/app_icons/comments.png</icon>
<type>Forum</type>
<url>" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "showforum={$r['type_id']}", 'public','' ), "", "" ) . "</url>
<title><![CDATA[{$r['content_title']}]]></title>
<content><![CDATA[{$r['content']}]]></content>
<date>" . $this->registry->getClass('class_localization')->getDate($r['updated'],"short", 0) . "</date>
<user>
<id>{$r['member_id']}</id>
<name>{$r['members_display_name']}</name>
<url>" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "showuser={$r['member_id']}", 'public','' ), "", "" ) . "</url>
</user>
</result>";
return $IPBHTML;
}

/* -- galleryCommentSearchResult --*/
function galleryCommentSearchResult($r, $resultAsTitle=false) {
$IPBHTML = "";
$IPBHTML .= "<result>
<icon>{$this->settings['public_dir']}style_extra/app_icons/gallery.png</icon>
<type>Gallery Comment</type>
<url>" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "app=gallery&amp;module=images&amp;img={$r['misc']}&amp;hl={$this->request['search_term']}", 'public','' ), "", "" ) . "</url>
<title><![CDATA[{$r['content_title']}]]></title>
<content><![CDATA[{$r['content']}]]></content>
<date>" . $this->registry->getClass('class_localization')->getDate($r['updated'],"short", 0) . "</date>
<user>
<id>{$r['member_id']}</id>
<name>{$r['members_display_name']}</name>
<url>" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "showuser={$r['member_id']}", 'public','' ), "", "" ) . "</url>
</user>
</result>";
return $IPBHTML;
}

/* -- galleryImageSearchResult --*/
function galleryImageSearchResult($r, $resultAsTitle=false) {
$IPBHTML = "";
$IPBHTML .= "<div class='result_info'>
<span class='icon'><img src='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "gallery/{$r['misc']['directory']}/tn_{$r['misc']['masked_file_name']}", 'upload','' ), "", "" ) . "'></span>

<h3><a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "app=gallery&amp;module=images&amp;section=viewimage&amp;img={$r['type_id_2']}", 'public','' ), "", "" ) . "'>{$r['content_title']}</a></h3>
" . ((!$resultAsTitle) ? ("
<p>
{$r['content']}
</p>
") : ("")) . "
</div>
<div class='result_details desc'>
<ul>
<li>{$r['comments']} {$this->lang->words['gallery_comments']}</li>
<li>" . $this->registry->getClass('class_localization')->getDate($r['updated'],"short", 0) . "</li>
<li><a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "showuser={$r['member_id']}", 'public','' ), "{$r['members_seo_name']}", "showuser" ) . "' title='{$this->lang->words['view_profile']}'>{$r['members_display_name']}</a>" . $this->registry->getClass('output')->getTemplate('global')->user_popup($r['member_id'], $r['members_seo_name']) . "</li>
</ul>
</div>";
return $IPBHTML;
}

/* -- helpSearchResult --*/
function helpSearchResult($r, $resultAsTitle=false) {
$IPBHTML = "";
$IPBHTML .= "<li>
<a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "app=core&amp;module=help&amp;do=01&amp;HID={$r['type_id_2']}&amp;hl={$this->request['search_higlight']}", 'public','' ), "", "" ) . "'>
<strong>{$r['content_title']}</strong>
" . ((!$resultAsTitle) ? ("<br />{$r['content']}") : ("")) . "
</a>
</li>";
return $IPBHTML;
}

/* -- memberSearchResult --*/
function memberSearchResult($r, $resultAsTitle=false) {
$IPBHTML = "";
$IPBHTML .= "<li class=\"arrow\">
<a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "showuser={$r['type_id_2']}", 'public','' ), "{$r['members_seo_name']}", "" ) . "'>
<strong>{$r['content_title']}</strong><br />
{$this->lang->words['member_joined']} " . $this->registry->getClass('class_localization')->getDate($r['joined'],"short", 0) . "
</a>
</li>";
return $IPBHTML;
}

/* -- newPostsView --*/
function newPostsView($results, $pagination, $total) {
$IPBHTML = "";
$IPBHTML .= "<h2>{$this->lang->words['new_content']}</h2>
<div class=\"box\">
<ul class='tabs'>
" . ((! in_array( $this->settings['search_method'], array( 'traditional', 'sphinx' ) )) ? ("<li " . ((isset( $this->request['search_filter_app'] ) && $this->request['search_filter_app']['all'] != 1) ? ("class='active'") : ("")) . "><a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "app=core&amp;module=search&amp;do=new_posts&amp;search_filter_app[all]=1", 'public','' ), "", "" ) . "'>{$this->lang->words['new_content_all']}</a></li>") : ("")) . "
".$this->__f__84a3b3ef49a90702ef004f555a24cd1e($results,$pagination,$total)." </ul>
<ol>
" . (($total) ? ("
<li>
<ol>
".$this->__f__0acd908f94a198217ef7486d741a2300($results,$pagination,$total)." </ol>
</li>
") : ("
<li><p>{$this->lang->words['new_content_none']}</p></li>
")) . "
</ol>
</div>
{$pagination}";
return $IPBHTML;
}


function __f__84a3b3ef49a90702ef004f555a24cd1e($results, $pagination, $total)
{
$_ips___x_retval = '';
foreach( $this->registry->getApplications() as $app )
{

$_ips___x_retval .= "
" . ((IPSSearchIndex::appIsSearchable( $app['app_directory'] )) ? ("<li id='tab_{$app['app_title']}' " . (($this->request['search_app'] == $app['app_directory']) ? ("class='active'") : ("")) . "><a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "app=core&amp;module=search&amp;do=new_posts&amp;search_filter_app[{$app['app_directory']}]=1", 'public','' ), "", "" ) . "'>" . ((strtolower($app['app_title']) == 'system') ? ("{$this->lang->words['livesearch_helpfiles']}") : ("{$app['app_public_title']}")) . "</a></li>") : ("")) . "

";
}
$_ips___x_retval .= '';
return $_ips___x_retval;
}

function __f__0acd908f94a198217ef7486d741a2300($results, $pagination, $total)
{
$_ips___x_retval = '';
foreach( $results as $result )
{

$_ips___x_retval .= "
" . (($result['sub']) ? ("
{$result['html']}
") : ("
{$result['html']}
")) . "

";
}
$_ips___x_retval .= '';
return $_ips___x_retval;
}

/* -- searchAdvancedForm --*/
function searchAdvancedForm($filters='', $msg='', $removed_search_terms=array()) {
$IPBHTML = "";
$IPBHTML .= "<form action=\"" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "app=core&amp;module=search&amp;section=search&amp;do=quick_search&amp;search_app={$this->registry->getCurrentApplication()}", 'public','' ), "", "" ) . "&amp;fromsearch=1\" method=\"post\" id='search-box' >
<input type='hidden' name='search_filter_app[all]' value='1' />
" . (($msg) ? ("
<p class=\"message error\">{$msg}</p>
") : ("")) . "
<div class=\"box\">
<h3>{$this->lang->words['search']}</h3>
<ul>
<li class=\"input\"><input placeholder=\"Find words\" type='text' name='search_term' id='query' value='{$this->request['search_term']}' /></li>
<li class=\"input\"><input title=\"{$this->lang->words['search_titles_only']}\" type='checkbox' name='content_title_only' value='1' /></li>
" . (($this->settings['enable_show_as_titles']) ? ("
<li class=\"input\"><input title=\"{$this->lang->words['show_as_titles']}\" type='checkbox' name='show_as_titles' value='1' /></li>
") : ("")) . "
<li class=\"input\"><input placeholder=\"Find Author\" type='text' name='search_author' id='author' value='{$this->request['search_author']}' /></li>
</ul>
</div>
{$filters}
<input type='submit' name='submit' class='input_button default' value='{$this->lang->words['do_search']}' />
</form>";
return $IPBHTML;
}

/* -- searchResults --*/
function searchResults($results, $pagination, $total, $showing, $search_term, $url_string, $current_key, $removed_search_terms=array()) {
$IPBHTML = "";
$IPBHTML .= "<h2>{$this->lang->words['search_results']}" . (($total > 0 AND $search_term != '') ? (": <u>{$search_term}</u>, {$total} {$this->lang->words['your_search_results']}") : ("")) . "</h2>
<div class=\"box\">
<ul class='tabs'>
" . ((! in_array( $this->settings['search_method'], array( 'traditional', 'sphinx' ) )) ? ("<li " . (($this->request['search_filter_app']['all'] == 1) ? ("class=\"active\"") : ("")) . "><a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "{$url_string}", 'public','' ), "", "" ) . "'>{$this->lang->words['my_results']}</a></li>") : ("")) . "
<li " . ((isset( $this->request['search_filter_app']['forums'] ) && $this->request['search_filter_app']['forums'] == 1) ? ("class=\"active\"") : ("")) . "><a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "{$url_string}&amp;search_filter_app[forums]=1", 'public','' ), "", "" ) . "'>{$this->lang->words['search_tab_forums']}</a></li>
<li " . ((isset( $this->request['search_filter_app']['members'] ) && $this->request['search_filter_app']['members'] == 1) ? ("class=\"active\"") : ("")) . "><a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "{$url_string}&amp;search_filter_app[members]=1", 'public','' ), "", "" ) . "'>{$this->lang->words['search_tab_members']}</a></li>
<li " . ((isset( $this->request['search_filter_app']['core'] ) && $this->request['search_filter_app']['core'] == 1) ? ("class=\"active\"") : ("")) . "><a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "{$url_string}&amp;search_filter_app[core]=1", 'public','' ), "", "" ) . "'>{$this->lang->words['livesearch_helpfiles']}</a></li>
".$this->__f__b849ed7b0e7b51c2c1e603e84f61b4b9($results,$pagination,$total,$showing,$search_term,$url_string,$current_key,$removed_search_terms)." </ul>
<ol>
" . (($total) ? ("
<li>
<ol>
".$this->__f__4c649596574856c56a9bfb99ab0156c3($results,$pagination,$total,$showing,$search_term,$url_string,$current_key,$removed_search_terms)." </ol>
</li>
") : ("<li><p>{$this->lang->words['no_results_found']}" . (($search_term) ? (" {$this->lang->words['no_results_found_for']} '{$search_term}'") : ("")) . ".</p></li>")) . "
</ol>
</div>
{$pagination}";
return $IPBHTML;
}


function __f__b849ed7b0e7b51c2c1e603e84f61b4b9($results, $pagination, $total, $showing, $search_term, $url_string, $current_key, $removed_search_terms=array())
{
$_ips___x_retval = '';
foreach( $this->registry->getApplications() as $app )
{

$_ips___x_retval .= "
" . ((IPSSearchIndex::appIsSearchable( $app['app_directory'] ) AND !in_array( $app['app_directory'], array('core','forums','members') )) ? ("<li id='tab_{$app['app_public_title']}' " . ((isset( $this->request['search_filter_app'][$app['app_directory']] ) && $this->request['search_filter_app'][$app['app_directory']] == 1) ? ("class=\"active\"") : ("")) . "><a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "{$url_string}&amp;search_filter_app[{$app['app_directory']}]=1", 'public','' ), "", "" ) . "'>{$app['app_public_title']}</a></li>") : ("")) . "

";
}
$_ips___x_retval .= '';
return $_ips___x_retval;
}

function __f__4c649596574856c56a9bfb99ab0156c3($results, $pagination, $total, $showing, $search_term, $url_string, $current_key, $removed_search_terms=array())
{
$_ips___x_retval = '';
foreach( $results as $result )
{

$_ips___x_retval .= "
" . (($result['sub']) ? ("
{$result['html']}
") : ("
{$result['html']}
")) . "

";
}
$_ips___x_retval .= '';
return $_ips___x_retval;
}

/* -- searchRowGenericFormat --*/
function searchRowGenericFormat($r, $resultAsTitle=false) {
$IPBHTML = "";
$IPBHTML .= "<!-- SKINNOTE: Wrap user link in ajax span -->
<div class='result_info'>
<h3>{$r['content_title']}</h3>
" . ((!$resultAsTitle) ? ("
<p>
{$r['content']}
</p>
") : ("")) . "
</div>
<div class='result_details desc'>
<ul>
<li>" . $this->registry->getClass('class_localization')->getDate($r['updated'],"short", 0) . "</li>
<li>{$this->lang->words['search_by']} <a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "showuser={$r['member_id']}", 'public','' ), "{$r['members_seo_name']}", "showuser" ) . "'>{$r['members_display_name']}</a>" . $this->registry->getClass('output')->getTemplate('global')->user_popup($r['member_id']) . "</li>
</ul>
</div>";
return $IPBHTML;
}

/* -- topicPostSearchResult --*/
function topicPostSearchResult($r, $indent, $resultAsTitle=false) {
$IPBHTML = "";
$IPBHTML .= "<div class='result_info'>
<span class='icon'>" . $this->registry->getClass('output')->getReplacement("{$r['_icon']}") . "</span>
<h3><a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "showtopic={$r['type_id_2']}&amp;view=" . (($this->request['do']=='new_posts' OR $this->request['do']=='active') ? ("getnewpost") : ("" . (($r['misc']) ? ("findpost&amp;p={$r['misc']}") : ("")) . "")) . "&amp;hl={$this->request['search_higlight']}&amp;fromsearch=1", 'public','' ), "{$r['title_seo']}", "showtopic" ) . "' title='{$this->lang->words['view_result']}'>{$r['content_title']}</a></h3>
" . ((!$resultAsTitle) ? ("
<p>
{$r['content']}
</p>
") : ("")) . "
" . (($r['_forum_trail']) ? ("
<span class='desc breadcrumb'>
".$this->__f__40e392910466fa6ceb03c9804e15b4dd($r,$indent,$resultAsTitle)." </span>
") : ("")) . "
</div>
<div class='result_details desc'>
<ul>
<li>{$r['posts']} {$this->lang->words['forum_replies']}</li>
<li>
" . (($resultAsTitle) ? ("
" . $this->registry->getClass('class_localization')->getDate($r['last_post'],"short", 0) . " {$this->lang->words['search_by']} <a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "showuser={$r['last_poster_id']}", 'public','' ), "{$r['seo_last_name']}", "showuser" ) . "' title='{$this->lang->words['view_profile']}'>{$r['last_poster_name']}</a>" . $this->registry->getClass('output')->getTemplate('global')->user_popup($r['last_poster_id'], $r['seo_last_name']) . "
") : ("
" . $this->registry->getClass('class_localization')->getDate($r['updated'],"short", 0) . " {$this->lang->words['search_by']} <a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "showuser={$r['member_id']}", 'public','' ), "{$r['members_seo_name']}", "showuser" ) . "' title='{$this->lang->words['view_profile']}'>{$r['members_display_name']}</a>" . $this->registry->getClass('output')->getTemplate('global')->user_popup($r['member_id'], $r['members_seo_name']) . "
")) . "
</li>
" . (($r['topic_hasattach']) ? ("
<li><a href=\"" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "app=forums&amp;module=forums&amp;section=attach&amp;tid={$r['type_id_2']}", 'public','' ), "", "" ) . "\">{$r['topic_hasattach']} {$this->lang->words['attach_header']}</a></li>
") : ("")) . "
</ul>
</div>";
return $IPBHTML;
}


function __f__40e392910466fa6ceb03c9804e15b4dd($r, $indent, $resultAsTitle=false)
{
$_ips___x_retval = '';
foreach( $r['_forum_trail'] as $i => $f )
{

$_ips___x_retval .= "
<a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "{$f[1]}", 'public','' ), "{$f[2]}", "showforum" ) . "'>{$f[0]}</a> " . (($i+1 != count( $r['_forum_trail'] )) ? ("&gt;") : ("")) . "

";
}
$_ips___x_retval .= '';
return $_ips___x_retval;
}

/* -- topicPostSearchResultAsForum --*/
function topicPostSearchResultAsForum($data, $childEntry=0, $resultAsTitle=false) {
$IPBHTML = "";
$IPBHTML .= "<li class=\"arrow thread {$data['_icon']}\" id='trow_{$data['tid']}'>
<a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "showtopic={$data['type_id_2']}&amp;view=" . (($this->request['do']=='new_posts' OR $this->request['do']=='active') ? ("getnewpost") : ("" . (($data['misc']) ? ("findpost&amp;p={$data['misc']}") : ("")) . "")) . "&amp;hl={$this->request['search_higlight']}&amp;fromsearch=1", 'public','' ), "{$data['title_seo']}", "showtopic" ) . "' title='" . (($data['_shortTitle'] != $data['_longTitle']) ? ("{$data['_longTitle']}") : ("{$this->lang->words['view_result']}")) . "'>
<strong>{$data['prefix']} {$data['_shortTitle']}</strong><br />
" . ((!$resultAsTitle) ? ("
{$data['content']}<br />
") : ("")) . "
".$this->__f__1be9dd338de179ec51b0bbefde8936cb($data,$childEntry,$resultAsTitle)." <span class=\"porthide\">" . $this->registry->getClass('class_localization')->formatNumber( $data['posts'] ) . " " . ((intval($data['posts']) == 1) ? ("{$this->lang->words['reply']}") : ("{$this->lang->words['replies']}")) . " &middot; </span>
{$data['last_post']} &middot; Last post <b>{$data['last_poster_name']}</b>
</a>
</li>";
return $IPBHTML;
}


function __f__1be9dd338de179ec51b0bbefde8936cb($data, $childEntry=0, $resultAsTitle=false)
{
$_ips___x_retval = '';
foreach( $data['_forum_trail'] as $i => $f )
{

$_ips___x_retval .= "
" . (($i+1 == count( $data['_forum_trail'] )) ? ("<span class=\"porthide\">In <b>{$f[0]}</b><br /></span>") : ("")) . "

";
}
$_ips___x_retval .= '';
return $_ips___x_retval;
}

/* -- topicPostSubresultWrap --*/
function topicPostSubresultWrap($content) {
$IPBHTML = "";
$IPBHTML .= "<ol>{$content}</ol>";
return $IPBHTML;
}

/* -- userPostsView --*/
function userPostsView($results, $pagination, $total, $member, $asForum, $limited=0, $wasLimited=false, $beginTime) {
$IPBHTML = "";
$IPBHTML .= "<h2>{$this->lang->words['user_posts_title_all']} " . (($this->request['view_by_title'] && $this->request['search_app'] == 'forums') ? ("{$this->lang->words['user_posts_title_topics']}") : ("{$this->lang->words['user_posts_title_posts']}")) . " {$this->lang->words['user_posts_title_member']} {$member['members_display_name']}</h2>
<div class=\"box\">
<ul class='tabs'>
".$this->__f__e20ee14aae4fe6bdc5b9edb703a5c9aa($results,$pagination,$total,$member,$asForum,$limited,$wasLimited,$beginTime)." </ul>
<ol>
" . (($total) ? ("
<div id='search_results'>
<ol>
".$this->__f__df584dcfce1c5e48bfa6ad171b6633fc($results,$pagination,$total,$member,$asForum,$limited,$wasLimited,$beginTime)." </ol>
</div>
") : ("
<li><p>{$this->lang->words['user_posts_none']}</p></li>
")) . "
</ol>
</div>
{$pagination}";
return $IPBHTML;
}


function __f__e20ee14aae4fe6bdc5b9edb703a5c9aa($results, $pagination, $total, $member, $asForum, $limited=0, $wasLimited=false, $beginTime)
{
$_ips___x_retval = '';
foreach( $this->registry->getApplications() as $app )
{

$_ips___x_retval .= "
" . ((IPSSearchIndex::appIsSearchable( $app['app_directory'] ) && ! in_array( $app['app_directory'], array( 'core', 'members' ) )) ? ("<li id='tab_{$app['app_title']}' " . (($this->request['search_app'] == $app['app_directory']) ? ("class=\"active\"") : ("")) . "><a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "app=core&amp;module=search&amp;do=user_posts&amp;mid={$this->request['mid']}&amp;search_filter_app[{$app['app_directory']}]=1&amp;view_by_title={$this->request['view_by_title']}", 'public','' ), "", "" ) . "'>{$app['app_public_title']}</a></li>") : ("")) . "

";
}
$_ips___x_retval .= '';
return $_ips___x_retval;
}

function __f__df584dcfce1c5e48bfa6ad171b6633fc($results, $pagination, $total, $member, $asForum, $limited=0, $wasLimited=false, $beginTime)
{
$_ips___x_retval = '';
foreach( $results as $result )
{

$_ips___x_retval .= "
" . (($result['sub']) ? ("
{$result['html']}
") : ("
{$result['html']}
")) . "

";
}
$_ips___x_retval .= '';
return $_ips___x_retval;
}



}

/*--------------------------------------------------*/
/* END OF FILE */
/*--------------------------------------------------*/

?>

Site is http://www.techpb.com/forum/

Edited by slinkyaroo1
Link to post
×
×
  • Create New...