_funcHooks = array();
$this->_funcHooks['acknowledgeWarning'] = array('valueIsPermanent','hasValue','options','memberNote','hasReasonAndContent','hasContent','hasReason','hasExpireDate','hasExpiration','hasPoints','isVerbalWarning');
$this->_funcHooks['addWarning'] = array('reasons','canUseAsBanGroup','banGroups','hasOtherOption','currentMq','currentRpa','currentSuspend');
$this->_funcHooks['customField__gender'] = array('male','female','nottelling','gender_set');
$this->_funcHooks['customField__generic'] = array('genericIsArray');
$this->_funcHooks['customFieldGroup__contact'] = array('cfieldgroups','cf_icon','cf_skype','cf_jabber','cf_website','cf_icq','cf_yahoo','cf_msn','cf_aim','cf_array','contact_field');
$this->_funcHooks['customizeProfile'] = array('hasBackgroundColor','backgroundIsFixed','hasBackgroundImage','hasBodyCustomization');
$this->_funcHooks['dnameWrapper'] = array('records','isAjaxModule','hasDnameHistory');
$this->_funcHooks['explainPoints'] = array('reasons','valueIsPermanent','hasValue','options','actions','hasActions');
$this->_funcHooks['friendsList'] = array('norep','posrep','negrep','repson','weAreSupmod','addfriend','notus','sendpm','blog','gallery','norep','posrep','negrep','repson','loopOnPending','friendsList','friendListPages','tabIsList','tabIsPending','friendListNone','hasFriendsList','friendListPagesBottom');
$this->_funcHooks['listWarnings'] = array('hasReason','warnings','paginationTop','canWarn','hasPaginationOrWarn','noWarnings','paginationBottom');
$this->_funcHooks['photoEditor'] = array('canHasUpload','canHasURL','allowGravatars','hasTwitter','hasFacebook');
$this->_funcHooks['profileModern'] = array('tabactive','tabs','warnClickable','warnPopup','warnIsSet','warnsLoop','pcfieldsLoop','pcfieldsEmptyValue','pcfieldsOtherLoopCheckInner','pcfieldsOtherLoopCheck2','pcfieldsOtherLoopCheck','pcfieldsOtherLoop','cfields','friendsLoop','visitorismember','latest_visitors_loop','jsIsFriend','friendsEnabled','hasCustomization','weAreSupmod','weAreOwner','supModCustomization','canEditUser','canEditPic','haswarn','hasWarns','onlineDetails','userStatus','rate1','rate2','rate3','rate4','rate5','rated1','rated2','rated3','rated4','rated5','hasrating','noRateYourself','allowRate','isFriend','noFriendYourself','pmlink','member_title','member_age','member_bday_year','member_birthday','pcfields','pcfieldsOther','showContactHead','isadmin','member_contact_fields','hasContactFields','RepPositive','RepNegative','RepZero','RepText','RepImage','ourReputation','authorspammerinner','authorspammer','dnameHistory','supModCustomizationDisable','checkModTools','hasFriends','has_visitors','latest_visitors','thisIsNotUs');
$this->_funcHooks['reputationPage'] = array('isTheActiveApp','apps','hasMoreThanOneApp','hasResults');
$this->_funcHooks['showCard'] = array('cardRepPos','cardRepNeg','cardRepZero','cardRep','cardSendPm','cardStatus','cardOnline','cardWhere','isadmin','authorspammerinner','authorspammer','cardIsFriend','cardFriend','cardBlog','cardGallery');
$this->_funcHooks['statusReplies'] = array('canDelete','innerLoop');
$this->_funcHooks['statusUpdates'] = array('forSomeoneElse','noLocked','cImg','creatorText','canDelete','isLocked','canLock','hasMore','maxReplies','outerLoop');
$this->_funcHooks['statusUpdatesPage'] = array('tabactive','tabactive2','updateTwitter','updateFacebook','update','canCreate','hasUpdates','hasPagination');
$this->_funcHooks['tabFriends'] = array('friends','friends_loop','friends');
$this->_funcHooks['tabReputation'] = array('isTheActiveApp','apps','hasMoreThanOneApp','currentIsGiven','canViewRep','currentIsReceived','hasResults','bottomPagination');
$this->_funcHooks['tabReputation_calendar'] = array('postMid','postMember','postMid','postMember');
$this->_funcHooks['tabReputation_posts'] = array('notLastFtAsForum','topicsForumTrail','postMid','postMember','hasForumTrail');
$this->_funcHooks['tabSingleColumn'] = array('singleColumnUrl','singleColumnTitle','date');
$this->_funcHooks['tabStatusUpdates'] = array('updateTwitter','updateFacebook','update','canCreate','leave_comment','hasUpdates');
}
/* -- acknowledgeWarning --*/
function acknowledgeWarning($warning) {
$IPBHTML = "";
if( IPSLib::locationHasHooks( 'skin_profile', $this->_funcHooks['acknowledgeWarning'] ) )
{
$count_5a82a4f6cd19091201cd434e17b03686 = is_array($this->functionData['acknowledgeWarning']) ? count($this->functionData['acknowledgeWarning']) : 0;
$this->functionData['acknowledgeWarning'][$count_5a82a4f6cd19091201cd434e17b03686]['warning'] = $warning;
}
$IPBHTML .= "
{$this->lang->words['warnings_acknowledge']}
{$this->lang->words['warnings_acknowledge_desc']}
";
return $IPBHTML;
}
function __f__f829d4c993087f07442682961f8a472a($warning)
{
$_ips___x_retval = '';
$__iteratorCount = 0;
foreach( array( 'mq', 'rpa', 'suspend' ) as $k )
{
$__iteratorCount++;
$_ips___x_retval .= "
" . (($warning[ 'wl_' . $k ]) ? ("" . (($warning[ 'wl_' . $k ] == -1) ? ("
" . sprintf( $this->lang->words[ 'warnings_' . $k ], $this->lang->words['warnings_permanently'] ) . "
") : ("
" . sprintf( $this->lang->words[ 'warnings_' . $k ], sprintf( $this->lang->words['warnings_for'], $warning[ 'wl_' . $k ], $this->lang->words[ 'warnings_time_' . $warning[ 'wl_' . $k . '_unit' ] ] ) ) . "
")) . "") : ("")) . "
";
}
$_ips___x_retval .= '';
unset( $__iteratorCount );
return $_ips___x_retval;
}
/* -- addWarning --*/
function addWarning($member, $reasons, $errors, $editor, $currentPunishments) {
$IPBHTML = "";
if( IPSLib::locationHasHooks( 'skin_profile', $this->_funcHooks['addWarning'] ) )
{
$count_ad945f101a6ae526d1562e8c4039bbcb = is_array($this->functionData['addWarning']) ? count($this->functionData['addWarning']) : 0;
$this->functionData['addWarning'][$count_ad945f101a6ae526d1562e8c4039bbcb]['member'] = $member;
$this->functionData['addWarning'][$count_ad945f101a6ae526d1562e8c4039bbcb]['reasons'] = $reasons;
$this->functionData['addWarning'][$count_ad945f101a6ae526d1562e8c4039bbcb]['errors'] = $errors;
$this->functionData['addWarning'][$count_ad945f101a6ae526d1562e8c4039bbcb]['editor'] = $editor;
$this->functionData['addWarning'][$count_ad945f101a6ae526d1562e8c4039bbcb]['currentPunishments'] = $currentPunishments;
}
$IPBHTML .= "" . $this->registry->getClass('output')->addJSModule("warn", "0" ) . "
" . sprintf( $this->lang->words['warnings_add_for'], $member['members_display_name'] ) . "
";
return $IPBHTML;
}
function __f__181daf97cfc9414f130237d0771bdcc6($member, $reasons, $errors, $editor, $currentPunishments)
{
$_ips___x_retval = '';
$__iteratorCount = 0;
foreach( $reasons as $r )
{
$__iteratorCount++;
$_ips___x_retval .= "
";
}
$_ips___x_retval .= '';
unset( $__iteratorCount );
return $_ips___x_retval;
}
function __f__89d5720a73db0e392a6d18f299ee6fdb($member, $reasons, $errors, $editor, $currentPunishments)
{
$_ips___x_retval = '';
$__iteratorCount = 0;
foreach( $this->caches['group_cache'] as $id => $data )
{
$__iteratorCount++;
$_ips___x_retval .= "
" . ((!$data['g_access_cp'] && !$data['g_is_supmod'] && ($id != $this->settings['guest_group'])) ? ("
") : ("")) . "
";
}
$_ips___x_retval .= '';
unset( $__iteratorCount );
return $_ips___x_retval;
}
/* -- customField__gender --*/
function customField__gender($f) {
$IPBHTML = "";
if( IPSLib::locationHasHooks( 'skin_profile', $this->_funcHooks['customField__gender'] ) )
{
$count_c6f7c90535bf6c94d2368af66d02f51b = is_array($this->functionData['customField__gender']) ? count($this->functionData['customField__gender']) : 0;
$this->functionData['customField__gender'][$count_c6f7c90535bf6c94d2368af66d02f51b]['f'] = $f;
}
$IPBHTML .= "{$f->raw_data['pf_title']}
" . (($f->value) ? ("" . (($f->value == 'm') ? ("
{$this->lang->words['js_gender_male']}
") : ("")) . "
" . (($f->value == 'f') ? ("
{$this->lang->words['js_gender_female']}
") : ("")) . "
" . (($f->value != 'f' AND $f->value != 'm') ? ("
{$f->parsed[0]}
") : ("")) . "") : ("
{$this->lang->words['js_gender_mystery']}
")) . "
";
return $IPBHTML;
}
/* -- customField__generic --*/
function customField__generic($f) {
$IPBHTML = "";
if( IPSLib::locationHasHooks( 'skin_profile', $this->_funcHooks['customField__generic'] ) )
{
$count_37c9b236156a2819f87567a2d2553a6b = is_array($this->functionData['customField__generic']) ? count($this->functionData['customField__generic']) : 0;
$this->functionData['customField__generic'][$count_37c9b236156a2819f87567a2d2553a6b]['f'] = $f;
}
$IPBHTML .= "" . (($f->parsed != '') ? ("{$f->raw_data['pf_title']}
" . ((is_array($f->parsed)) ? ("
" . implode( '
', $f->parsed ) . "
") : ("
{$f->parsed}
")) . "
") : ("")) . "";
return $IPBHTML;
}
/* -- customFieldGroup__contact --*/
function customFieldGroup__contact($f) {
$IPBHTML = "";
if( IPSLib::locationHasHooks( 'skin_profile', $this->_funcHooks['customFieldGroup__contact'] ) )
{
$count_8f817b5bbde344d69a236f366cecc5f6 = is_array($this->functionData['customFieldGroup__contact']) ? count($this->functionData['customFieldGroup__contact']) : 0;
$this->functionData['customFieldGroup__contact'][$count_8f817b5bbde344d69a236f366cecc5f6]['f'] = $f;
}
$IPBHTML .= "" . (($f->parsed) ? ("
{$f->raw_data['pf_title']}
" . (($f->raw_data['pf_icon']) ? ("raw_data['pf_icon']}' alt='{$f->raw_data['pf_title']}' /> ") : ("")) . "
" . ((is_array( $f->parsed )) ? ("
".$this->__f__faa94ced7f244fecb38e45acaa06ce74($f)." ") : ("" . (($f->raw_data['pf_key'] == 'aim') ? ("
{$f->parsed}
") : ("" . (($f->raw_data['pf_key'] == 'msn') ? ("
{$f->parsed}
") : ("" . (($f->raw_data['pf_key'] == 'yahoo') ? ("
{$f->parsed}
") : ("" . (($f->raw_data['pf_key'] == 'icq') ? ("
{$f->parsed}
") : ("" . (($f->raw_data['pf_key'] == 'website') ? ("
{$f->parsed}
") : ("" . (($f->raw_data['pf_key'] == 'jabber') ? ("
{$f->parsed}
") : ("" . (($f->raw_data['pf_key'] == 'skype') ? ("
{$f->parsed}
") : ("
{$f->parsed}
")) . "")) . "")) . "")) . "")) . "")) . "")) . "")) . "
") : ("")) . "";
return $IPBHTML;
}
function __f__faa94ced7f244fecb38e45acaa06ce74($f)
{
$_ips___x_retval = '';
$__iteratorCount = 0;
foreach( $f->parsed as $value )
{
$__iteratorCount++;
$_ips___x_retval .= "
{$value}
";
}
$_ips___x_retval .= '';
unset( $__iteratorCount );
return $_ips___x_retval;
}
/* -- customizeProfile --*/
function customizeProfile($member) {
$IPBHTML = "";
if( IPSLib::locationHasHooks( 'skin_profile', $this->_funcHooks['customizeProfile'] ) )
{
$count_4c317c48240ffe9657db068109427aa5 = is_array($this->functionData['customizeProfile']) ? count($this->functionData['customizeProfile']) : 0;
$this->functionData['customizeProfile'][$count_4c317c48240ffe9657db068109427aa5]['member'] = $member;
}
$IPBHTML .= "
";
return $IPBHTML;
}
/* -- dnameWrapper --*/
function dnameWrapper($member_name="",$records=array()) {
$IPBHTML = "";
if( IPSLib::locationHasHooks( 'skin_profile', $this->_funcHooks['dnameWrapper'] ) )
{
$count_69132045d0de6bd2551860201e6d5868 = is_array($this->functionData['dnameWrapper']) ? count($this->functionData['dnameWrapper']) : 0;
$this->functionData['dnameWrapper'][$count_69132045d0de6bd2551860201e6d5868]['member_name'] = $member_name;
$this->functionData['dnameWrapper'][$count_69132045d0de6bd2551860201e6d5868]['records'] = $records;
}
if ( ! isset( $this->registry->templateStriping['dname'] ) ) {
$this->registry->templateStriping['dname'] = array( FALSE, "row1","row2");
}
$IPBHTML .= "" . (($this->request['module']=='ajax') ? ("
{$this->lang->words['dname_window_title']} {$member_name}
") : ("
{$this->lang->words['dname_window_title']} {$member_name}
")) . "
" . ((is_array($records) AND count($records)) ? ("
".$this->__f__592f0c797e834071230cdc1b564e30b6($member_name,$records)." ") : ("
{$this->lang->words['dname_no_history']} |
")) . "
";
return $IPBHTML;
}
function __f__592f0c797e834071230cdc1b564e30b6($member_name="",$records=array())
{
$_ips___x_retval = '';
$__iteratorCount = 0;
foreach( $records as $row )
{
$__iteratorCount++;
$_ips___x_retval .= "
{$row['dname_previous']} |
{$row['dname_current']} |
" . $this->registry->getClass('class_localization')->getDate($row['dname_date'],"short", 0) . " |
";
}
$_ips___x_retval .= '';
unset( $__iteratorCount );
return $_ips___x_retval;
}
/* -- explainPoints --*/
function explainPoints($reasons, $actions) {
$IPBHTML = "";
if( IPSLib::locationHasHooks( 'skin_profile', $this->_funcHooks['explainPoints'] ) )
{
$count_cc0d43705c8c0dcd4791f0eca27f01bc = is_array($this->functionData['explainPoints']) ? count($this->functionData['explainPoints']) : 0;
$this->functionData['explainPoints'][$count_cc0d43705c8c0dcd4791f0eca27f01bc]['reasons'] = $reasons;
$this->functionData['explainPoints'][$count_cc0d43705c8c0dcd4791f0eca27f01bc]['actions'] = $actions;
}
$IPBHTML .= "{$this->lang->words['warnings_points']}
{$this->lang->words['warnings_points_explain_1']}
".$this->__f__9ddf3019da93a7e06e1469cd384fd87d($reasons,$actions)."
" . ((!empty( $actions )) ? ("
{$this->lang->words['warnings_points_explain_2']}
".$this->__f__69c5cfa43d582c9766c12dc58b7e507a($reasons,$actions)."
") : ("")) . "";
return $IPBHTML;
}
function __f__9ddf3019da93a7e06e1469cd384fd87d($reasons, $actions)
{
$_ips___x_retval = '';
$__iteratorCount = 0;
foreach( $reasons as $r )
{
$__iteratorCount++;
$_ips___x_retval .= "
{$r['wr_name']} |
{$r['wr_points']} |
";
}
$_ips___x_retval .= '';
unset( $__iteratorCount );
return $_ips___x_retval;
}
function __f__5d5eee988057c47b874d9ed68ea64edd($reasons, $actions,$a='')
{
$_ips___x_retval = '';
$__iteratorCount = 0;
foreach( array( 'mq', 'rpa', 'suspend' ) as $k )
{
$__iteratorCount++;
$_ips___x_retval .= "
" . (($a[ 'wa_' . $k ]) ? ("" . (($a[ 'wa_' . $k ] == -1) ? ("
" . sprintf( $this->lang->words[ 'warnings_' . $k ], $this->lang->words['warnings_permanently'] ) . "
") : ("
" . sprintf( $this->lang->words[ 'warnings_' . $k ], sprintf( $this->lang->words['warnings_for'], $a['wa_' . $k ], $this->lang->words[ 'warnings_time_' . $a[ 'wa_' . $k . '_unit' ] ] ) ) . "
")) . "") : ("")) . "
";
}
$_ips___x_retval .= '';
unset( $__iteratorCount );
return $_ips___x_retval;
}
function __f__69c5cfa43d582c9766c12dc58b7e507a($reasons, $actions)
{
$_ips___x_retval = '';
$__iteratorCount = 0;
foreach( $actions as $a )
{
$__iteratorCount++;
$_ips___x_retval .= "
{$a['wa_points']} |
".$this->__f__5d5eee988057c47b874d9ed68ea64edd($reasons,$actions,$a)." |
";
}
$_ips___x_retval .= '';
unset( $__iteratorCount );
return $_ips___x_retval;
}
/* -- friendsList --*/
function friendsList($friends, $pages) {
$IPBHTML = "";
if( IPSLib::locationHasHooks( 'skin_profile', $this->_funcHooks['friendsList'] ) )
{
$count_336a1a9d45e2f0efce0053f0d43c8d86 = is_array($this->functionData['friendsList']) ? count($this->functionData['friendsList']) : 0;
$this->functionData['friendsList'][$count_336a1a9d45e2f0efce0053f0d43c8d86]['friends'] = $friends;
$this->functionData['friendsList'][$count_336a1a9d45e2f0efce0053f0d43c8d86]['pages'] = $pages;
}
if ( ! isset( $this->registry->templateStriping['memberStripe'] ) ) {
$this->registry->templateStriping['memberStripe'] = array( FALSE, "row1","row2");
}
$IPBHTML .= "" . $this->registry->getClass('output')->addJSModule("friends", "0" ) . "
{$this->lang->words['m_friends_list']}
" . (($pages) ? ("
$pages
") : ("")) . "
" . $this->registry->getClass('output')->getReplacement("header_start") . "
" . (($this->request['tab'] == 'list' || !$this->request['tab']) ? ("
- formatUrl( $this->registry->getClass('output')->buildUrl( "app=members§ion=friends&module=profile&do=list&tab=list", "public",'' ), "", "" ) . "' title='{$this->lang->words['m_friends_list']}'>{$this->lang->words['m_friends_list']}
- formatUrl( $this->registry->getClass('output')->buildUrl( "app=members§ion=friends&module=profile&do=list&tab=pending", "public",'' ), "", "" ) . "' title='{$this->lang->words['m_friends_pending']}'>{$this->lang->words['m_friends_pending']}
") : ("")) . "
" . (($this->request['tab'] == 'pending') ? ("
- formatUrl( $this->registry->getClass('output')->buildUrl( "app=members§ion=friends&module=profile&do=list&tab=list", "public",'' ), "", "" ) . "' title='{$this->lang->words['m_friends_list']}'>{$this->lang->words['m_friends_list']}
- formatUrl( $this->registry->getClass('output')->buildUrl( "app=members§ion=friends&module=profile&do=list&tab=pending", "public",'' ), "", "" ) . "' title='{$this->lang->words['m_friends_pending']}'>{$this->lang->words['m_friends_pending']}
") : ("")) . "
" . $this->registry->getClass('output')->getReplacement("header_end") . "
" . ((is_array($friends) and count($friends) && $this->settings['friends_enabled']) ? ("
".$this->__f__299c2a979d92369c4ff480f2896862a0($friends,$pages)."
") : ("
" . (($this->request['tab'] == 'pending') ? ("
{$this->lang->words['no_friends_awaiting_approval']}
") : ("
{$this->lang->words['no_friends_to_display']}
")) . "
")) . "" . $this->registry->getClass('output')->getReplacement("box_end") . "
" . (($pages) ? ("
{$pages}
") : ("")) . "";
return $IPBHTML;
}
function __f__299c2a979d92369c4ff480f2896862a0($friends, $pages)
{
$_ips___x_retval = '';
$__iteratorCount = 0;
foreach( $friends as $friend )
{
$__iteratorCount++;
$_ips___x_retval .= "
" . (($this->request['tab'] == 'pending') ? ("
formatUrl( $this->registry->getClass('output')->buildUrl( "showuser={$friend['member_id']}", "public",'' ), "{$friend['members_seo_name']}", "showuser" ) . "' title='{$this->lang->words['view_profile']}' class='ipsUserPhotoLink left'>lang->words['users_photo'],$friend['members_display_name']) . "\" class='ipsUserPhoto ipsUserPhoto_medium' />
" . (($this->settings['reputation_enabled'] && $this->settings['reputation_show_profile']) ? ("" . (($friend['pp_reputation_points'] == 0 || !$friend['pp_reputation_points']) ? ("
") : ("")) . "
" . (($friend['pp_reputation_points'] > 0) ? ("
") : ("")) . "
" . (($friend['pp_reputation_points'] < 0) ? ("
") : ("")) . "
{$friend['pp_reputation_points']}
") : ("")) . "
{$this->lang->words['member_joined']} " . $this->registry->getClass('class_localization')->getDate($friend['joined'],"joined", 0) . "
" . IPSMember::makeNameFormatted( $friend['group'], $friend['member_group_id'] ) . " · " . $this->registry->getClass('class_localization')->formatNumber( $friend['posts'] ) . " {$this->lang->words['member_posts']}
") : ("
formatUrl( $this->registry->getClass('output')->buildUrl( "showuser={$friend['member_id']}", "public",'' ), "{$friend['members_seo_name']}", "showuser" ) . "' title='{$this->lang->words['view_profile']}' class='ipsUserPhotoLink left'>lang->words['users_photo'],$friend['members_display_name']) . "\" class='ipsUserPhoto ipsUserPhoto_medium' />
" . (($this->memberData['g_is_supmod'] == 1 && $friend['member_id'] != $this->memberData['member_id']) ? ("
- formatUrl( $this->registry->getClass('output')->buildUrl( "app=core&module=modcp&do=editmember&auth_key={$this->member->form_hash}&mid={$friend['member_id']}&pf={$friend['member_id']}", "public",'' ), "", "" ) . "' class='ipsButton_secondary'>{$this->lang->words['supmod_edit_member']}
") : ("")) . "
" . (($this->memberData['member_id'] AND $this->memberData['member_id'] != $friend['member_id'] && $this->settings['friends_enabled'] AND $this->memberData['g_can_add_friends']) ? ("" . ((IPSMember::checkFriendStatus( $friend['member_id'] )) ? ("
- formatUrl( $this->registry->getClass('output')->buildUrl( "app=members&module=list&module=profile§ion=friends&do=remove&member_id={$friend['member_id']}&secure_key={$this->member->form_hash}", "public",'' ), "", "" ) . "' title='{$this->lang->words['remove_friend']}' class='ipsButton_secondary'>" . $this->registry->getClass('output')->getReplacement("remove_friend") . "
") : ("
- formatUrl( $this->registry->getClass('output')->buildUrl( "app=members&module=list&module=profile§ion=friends&do=add&member_id={$friend['member_id']}&secure_key={$this->member->form_hash}", "public",'' ), "", "" ) . "' title='{$this->lang->words['add_friend']}' class='ipsButton_secondary'>" . $this->registry->getClass('output')->getReplacement("add_friend") . "
")) . "") : ("")) . "
" . (($this->memberData['g_use_pm'] AND $this->memberData['members_disable_pm'] == 0 AND IPSLib::moduleIsEnabled( 'messaging', 'members' ) && $friend['member_id'] != $this->memberData['member_id']) ? ("
- formatUrl( $this->registry->getClass('output')->buildUrl( "app=members&module=list&module=messaging§ion=send&do=form&fromMemberID={$friend['pp_member_id']}", "public",'' ), "", "" ) . "' title='{$this->lang->words['pm_member']}' class='ipsButton_secondary'>" . $this->registry->getClass('output')->getReplacement("send_msg") . "
") : ("")) . "
- formatUrl( $this->registry->getClass('output')->buildUrl( "app=core&module=search&do=user_activity&mid={$friend['member_id']}", "public",'' ), "", "" ) . "' title='{$this->lang->words['gbl_find_my_content']}' class='ipsButton_secondary'>" . $this->registry->getClass('output')->getReplacement("find_topics_link") . "
" . (($friend['has_blog'] AND IPSLib::appIsInstalled( 'blog' )) ? ("
- formatUrl( $this->registry->getClass('output')->buildUrl( "app=blog&module=display§ion=blog&show_members_blogs={$friend['member_id']}", "public",'' ), "", "" ) . "' title='{$this->lang->words['view_blog']}' class='ipsButton_secondary'>" . $this->registry->getClass('output')->getReplacement("blog_link") . "
") : ("")) . "
" . (($friend['has_gallery'] AND IPSLib::appIsInstalled( 'gallery' )) ? ("
- formatUrl( $this->registry->getClass('output')->buildUrl( "app=gallery&user={$friend['member_id']}", "public",'' ), "{$friend['members_seo_name']}", "useralbum" ) . "' title='{$this->lang->words['view_gallery']}' class='ipsButton_secondary'>" . $this->registry->getClass('output')->getReplacement("gallery_link") . "
") : ("")) . "
" . (($this->settings['reputation_enabled'] && $this->settings['reputation_show_profile']) ? ("" . (($friend['pp_reputation_points'] == 0 || !$friend['pp_reputation_points']) ? ("
") : ("")) . "
" . (($friend['pp_reputation_points'] > 0) ? ("
") : ("")) . "
" . (($friend['pp_reputation_points'] < 0) ? ("
") : ("")) . "
{$friend['pp_reputation_points']}
") : ("")) . "
{$this->lang->words['member_joined']} " . $this->registry->getClass('class_localization')->getDate($friend['joined'],"joined", 0) . "
" . IPSMember::makeNameFormatted( $friend['group'], $friend['member_group_id'] ) . " · " . $this->registry->getClass('class_localization')->formatNumber( $friend['posts'] ) . " {$this->lang->words['member_posts']}
")) . "
";
}
$_ips___x_retval .= '';
unset( $__iteratorCount );
return $_ips___x_retval;
}
/* -- listWarnings --*/
function listWarnings($member, $warnings, $pagination, $reasons, $canWarn) {
$IPBHTML = "";
if( IPSLib::locationHasHooks( 'skin_profile', $this->_funcHooks['listWarnings'] ) )
{
$count_42d960dade67f544ffadc4da37d3830d = is_array($this->functionData['listWarnings']) ? count($this->functionData['listWarnings']) : 0;
$this->functionData['listWarnings'][$count_42d960dade67f544ffadc4da37d3830d]['member'] = $member;
$this->functionData['listWarnings'][$count_42d960dade67f544ffadc4da37d3830d]['warnings'] = $warnings;
$this->functionData['listWarnings'][$count_42d960dade67f544ffadc4da37d3830d]['pagination'] = $pagination;
$this->functionData['listWarnings'][$count_42d960dade67f544ffadc4da37d3830d]['reasons'] = $reasons;
$this->functionData['listWarnings'][$count_42d960dade67f544ffadc4da37d3830d]['canWarn'] = $canWarn;
}
$IPBHTML .= "" . sprintf( $this->lang->words['warnings_member'], $member['members_display_name'] ) . "
" . sprintf( $this->lang->words['warn_status'], $member['warn_level'] ) . "
" . (($pagination || $canWarn) ? ("
" . (($pagination) ? ("{$pagination}") : ("")) . "
" . (($canWarn) ? ("
") : ("")) . "
") : ("")) . "
" . $this->registry->getClass('output')->getReplacement("header_start") . "{$this->lang->words['warnings']}
" . $this->registry->getClass('output')->getReplacement("header_end") . "
" . ((empty( $warnings )) ? ("
{$this->lang->words['warnings_empty']}
") : ("
".$this->__f__c8db2da3f6c1be6b0e4355d630ccab02($member,$warnings,$pagination,$reasons,$canWarn)."
")) . "
" . $this->registry->getClass('output')->getReplacement("box_end") . "
" . (($pagination) ? ("{$pagination}") : ("")) . "
";
return $IPBHTML;
}
function __f__c8db2da3f6c1be6b0e4355d630ccab02($member, $warnings, $pagination, $reasons, $canWarn)
{
$_ips___x_retval = '';
$__iteratorCount = 0;
foreach( $warnings as $warning )
{
$__iteratorCount++;
$_ips___x_retval .= "
" . $this->registry->getClass('class_localization')->getDate($warning['wl_date'],"JOINED", 0) . " |
" . ((isset( $reasons[ $warning['wl_reason'] ] )) ? ("
{$reasons[ $warning['wl_reason'] ]['wr_name']}
") : ("
{$this->lang->words['warnings_reasons_other']}
")) . "
|
{$warning['wl_points']} |
" . ( method_exists( $this->registry->getClass('output')->getTemplate('global'), 'userHoverCard' ) ? $this->registry->getClass('output')->getTemplate('global')->userHoverCard($warning['wl_moderator']) : '' ) . " |
{$this->lang->words['warnings_moreinfo']} |
";
}
$_ips___x_retval .= '';
unset( $__iteratorCount );
return $_ips___x_retval;
}
/* -- photoEditor --*/
function photoEditor($data, $member) {
$IPBHTML = "";
if( IPSLib::locationHasHooks( 'skin_profile', $this->_funcHooks['photoEditor'] ) )
{
$count_10cc2773a7681a6aa305d112d5b2e9fe = is_array($this->functionData['photoEditor']) ? count($this->functionData['photoEditor']) : 0;
$this->functionData['photoEditor'][$count_10cc2773a7681a6aa305d112d5b2e9fe]['data'] = $data;
$this->functionData['photoEditor'][$count_10cc2773a7681a6aa305d112d5b2e9fe]['member'] = $member;
}
$IPBHTML .= "settings['public_dir']}style_css/{$this->registry->output->skin['_csscacheid']}/ipb_photo_editor.css\" />
";
return $IPBHTML;
}
/* -- profileModern --*/
function profileModern($tabs=array(), $member=array(), $visitors=array(), $default_tab='status', $default_tab_content='', $friends=array(), $status=array(), $warns=array(), $show_contact='') {
$IPBHTML = "";
if( IPSLib::locationHasHooks( 'skin_profile', $this->_funcHooks['profileModern'] ) )
{
$count_0a62d05368d4b48d7fc87cffe91f8d61 = is_array($this->functionData['profileModern']) ? count($this->functionData['profileModern']) : 0;
$this->functionData['profileModern'][$count_0a62d05368d4b48d7fc87cffe91f8d61]['tabs'] = $tabs;
$this->functionData['profileModern'][$count_0a62d05368d4b48d7fc87cffe91f8d61]['member'] = $member;
$this->functionData['profileModern'][$count_0a62d05368d4b48d7fc87cffe91f8d61]['visitors'] = $visitors;
$this->functionData['profileModern'][$count_0a62d05368d4b48d7fc87cffe91f8d61]['default_tab'] = $default_tab;
$this->functionData['profileModern'][$count_0a62d05368d4b48d7fc87cffe91f8d61]['default_tab_content'] = $default_tab_content;
$this->functionData['profileModern'][$count_0a62d05368d4b48d7fc87cffe91f8d61]['friends'] = $friends;
$this->functionData['profileModern'][$count_0a62d05368d4b48d7fc87cffe91f8d61]['status'] = $status;
$this->functionData['profileModern'][$count_0a62d05368d4b48d7fc87cffe91f8d61]['warns'] = $warns;
$this->functionData['profileModern'][$count_0a62d05368d4b48d7fc87cffe91f8d61]['show_contact'] = $show_contact;
}
$IPBHTML .= "" . $this->registry->getClass('output')->addJSModule("status", "0" ) . "
" . $this->registry->getClass('output')->addJSModule("rating", "0" ) . "
" . $this->registry->getClass('output')->addJSModule("profile", "0" ) . "
" . ((is_array($member['customization']) AND $member['customization']['type']) ? ("
" . ( method_exists( $this->registry->getClass('output')->getTemplate('profile'), 'customizeProfile' ) ? $this->registry->getClass('output')->getTemplate('profile')->customizeProfile($member) : '' ) . "
") : ("")) . "
" . ((($this->memberData['member_id'] && $member['member_id'] == $this->memberData['member_id']) || $this->memberData['g_is_supmod'] == 1 || ($this->memberData['member_id'] && $member['member_id'] != $this->memberData['member_id'])) ? ("") : ("")) . "
" . $this->registry->getClass('output')->getReplacement("header_start") . "{$member['members_display_name']}
" . $this->registry->getClass('output')->getReplacement("header_end") . "
" . ((($this->memberData['member_id'] && $member['member_id'] == $this->memberData['member_id']) AND (IPSMember::canUploadPhoto($member, TRUE))) ? ("
registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "app=members&module=profile§ion=photo", "public",'' ), "", "" ) . "\" id='change_photo' class='ipsType_smaller ipsPad' title='{$this->lang->words['change_photo_desc']}'>{$this->lang->words['change_photo_link']}
") : ("")) . "
lang->words['users_photo'],$member['members_display_name']) . "\" />
" . (($member['show_warn']) ? ("
") : ("")) . "
- {$this->lang->words['pp_tab_info']}
".$this->__f__9834ecb56ce148dd8840a981cbb6be55($tabs,$member,$visitors,$default_tab,$default_tab_content,$friends,$status,$warns,$show_contact)."
{$member['members_display_name']}
{$this->lang->words['m_member_since']} " . $this->registry->getClass('class_localization')->getDate($member['joined'],"DATE", 0) . "
" . ((!empty( $warns )) ? ("
".$this->__f__fd1635f86960557564765044ad21d252($tabs,$member,$visitors,$default_tab,$default_tab_content,$friends,$status,$warns,$show_contact)." ") : ("")) . "
" . (($member['_online'] && ($member['online_extra'] != $this->lang->words['not_online'])) ? ("
{$this->lang->words['online_online']}
") : ("
{$this->lang->words['online_offline']}
")) . "
{$this->lang->words['m_last_active']} {$member['_last_active']}
" . (($status['status_id'] && $this->settings['su_enabled']) ? ("
") : ("")) . "
" . (($this->settings['pp_allow_member_rate']) ? ("
" . (($this->memberData['member_id'] == $member['member_id'] || !$this->memberData['member_id']) ? ("" . (($member['pp_rating_real'] >= 1) ? ("" . $this->registry->getClass('output')->getReplacement("rate_on") . "") : ("" . $this->registry->getClass('output')->getReplacement("rate_off") . "")) . "" . (($member['pp_rating_real'] >= 2) ? ("" . $this->registry->getClass('output')->getReplacement("rate_on") . "") : ("" . $this->registry->getClass('output')->getReplacement("rate_off") . "")) . "" . (($member['pp_rating_real'] >= 3) ? ("" . $this->registry->getClass('output')->getReplacement("rate_on") . "") : ("" . $this->registry->getClass('output')->getReplacement("rate_off") . "")) . "" . (($member['pp_rating_real'] >= 4) ? ("" . $this->registry->getClass('output')->getReplacement("rate_on") . "") : ("" . $this->registry->getClass('output')->getReplacement("rate_off") . "")) . "" . (($member['pp_rating_real'] >= 5) ? ("" . $this->registry->getClass('output')->getReplacement("rate_on") . "") : ("" . $this->registry->getClass('output')->getReplacement("rate_off") . "")) . "") : ("" . (($member['pp_rating_real'] >= 1) ? ("" . $this->registry->getClass('output')->getReplacement("rate_on") . "") : ("" . $this->registry->getClass('output')->getReplacement("rate_off") . "")) . "" . (($member['pp_rating_real'] >= 2) ? ("" . $this->registry->getClass('output')->getReplacement("rate_on") . "") : ("" . $this->registry->getClass('output')->getReplacement("rate_off") . "")) . "" . (($member['pp_rating_real'] >= 3) ? ("" . $this->registry->getClass('output')->getReplacement("rate_on") . "") : ("" . $this->registry->getClass('output')->getReplacement("rate_off") . "")) . "" . (($member['pp_rating_real'] >= 4) ? ("" . $this->registry->getClass('output')->getReplacement("rate_on") . "") : ("" . $this->registry->getClass('output')->getReplacement("rate_off") . "")) . "" . (($member['pp_rating_real'] >= 5) ? ("" . $this->registry->getClass('output')->getReplacement("rate_on") . "") : ("" . $this->registry->getClass('output')->getReplacement("rate_off") . "")) . "
")) . "
") : ("")) . "
" . (($this->memberData['member_id'] AND $this->memberData['member_id'] != $member['member_id'] && $this->settings['friends_enabled'] AND $this->memberData['g_can_add_friends']) ? ("-
" . ((IPSMember::checkFriendStatus( $member['member_id'] )) ? ("
formatUrl( $this->registry->getClass('output')->buildUrl( "app=members§ion=friends&module=profile&do=remove&member_id={$member['member_id']}&secure_key={$this->member->form_hash}", "public",'' ), "", "" ) . "' title='{$this->lang->words['remove_friend']}' class='ipsButton_secondary'> {$this->lang->words['remove_as_friend']}
") : ("
formatUrl( $this->registry->getClass('output')->buildUrl( "app=members§ion=friends&module=profile&do=add&member_id={$member['member_id']}&secure_key={$this->member->form_hash}", "public",'' ), "", "" ) . "' title='{$this->lang->words['add_friend']}' class='ipsButton_secondary'> {$this->lang->words['add_me_friend']}
")) . "
") : ("")) . "
" . ((($member['member_id'] != $this->memberData['member_id']) AND $this->memberData['g_use_pm'] AND $this->memberData['members_disable_pm'] == 0 AND IPSLib::moduleIsEnabled( 'messaging', 'members' ) AND $member['members_disable_pm'] == 0) ? ("
- formatUrl( $this->registry->getClass('output')->buildUrl( "app=members&module=messaging§ion=send&do=form&fromMemberID={$member['member_id']}", "public",'' ), "", "" ) . "' title='{$this->lang->words['pm_this_member']}' class='ipsButton_secondary'>" . $this->registry->getClass('output')->getReplacement("send_msg") . " {$this->lang->words['send_message']}
") : ("")) . "
-
formatUrl( $this->registry->getClass('output')->buildUrl( "app=core&module=search&do=user_activity&mid={$member['member_id']}", "public",'' ), "", "" ) . "' class='ipsButton_secondary'>" . $this->registry->getClass('output')->getReplacement("find_topics_link") . " {$this->lang->words['gbl_find_my_content']}
" . ((($this->memberData['member_id'] && $member['member_id'] == $this->memberData['member_id'] )) ? ("" . (($this->memberData['gbw_allow_url_bgimage'] OR $this->memberData['gbw_allow_upload_bgimage']) ? ("
- formatUrl( $this->registry->getClass('output')->buildUrl( "app=core&module=usercp&tab=core&area=customize", "public",'' ), "", "" ) . "' class='ipsButton_secondary'> Edit Header Image
") : ("")) . "") : ("")) . "" . ((($member['member_id'] == $this->memberData['member_id'] ) AND $member['customization']['type']) ? ("
- formatUrl( $this->registry->getClass('output')->buildUrl( "showuser={$member['member_id']}&secure_key={$this->member->form_hash}&removeCustomization=1", "public",'' ), "{$member['members_seo_name']}", "showuser" ) . "' class='ipsButton_secondary'> {$this->lang->words['cust_remove']}
") : ("")) . "
" . (($member['pp_about_me']) ? ("
{$this->lang->words['pp_tab_aboutme']}
{$member['pp_about_me']}
") : ("")) . "
{$this->lang->words['community_stats']}
-
{$this->lang->words['m_group']}
{$member['g_title']}
-
{$this->lang->words['m_posts']}
" . $this->registry->getClass('class_localization')->formatNumber( $member['posts'] ) . "
-
{$this->lang->words['m_profile_views']}
" . $this->registry->getClass('class_localization')->formatNumber( $member['members_profile_views'] ) . "
" . (($member['title'] != '') ? ("
-
{$this->lang->words['m_member_title']}
{$member['title']}
") : ("")) . "
-
{$this->lang->words['m_age_prefix']}
" . (($member['_age'] > 0) ? ("
{$member['_age']} {$this->lang->words['m_years_old']}
") : ("
{$this->lang->words['m_age_unknown']}
")) . "
-
{$this->lang->words['m_birthday_prefix']}
" . (($member['bday_day']) ? ("{$member['_bday_month']} {$member['bday_day']}" . (($member['bday_year']) ? (", {$member['bday_year']}") : ("")) . "") : ("
{$this->lang->words['m_bday_unknown']}
")) . "
" . (($member['custom_fields']['profile_info'] != "") ? ("
".$this->__f__e56f156adee57967866af8b1617487da($tabs,$member,$visitors,$default_tab,$default_tab_content,$friends,$status,$warns,$show_contact)." ") : ("")) . "
" . (($member['custom_fields']) ? ("
".$this->__f__79cf7a6cc8ed567890be885bbfb9c512($tabs,$member,$visitors,$default_tab,$default_tab_content,$friends,$status,$warns,$show_contact)." ") : ("")) . "
" . (($this->memberData['g_access_cp'] == 1 || is_array( $member['custom_fields']['contact'] )) ? ("
" . (($this->memberData['g_access_cp'] == 1 || $show_contact) ? ("
{$this->lang->words['contact_info']}
") : ("")) . "
" . (($this->memberData['g_access_cp'] == 1) ? ("
-
{$this->lang->words['m_email']}
{$member['email']}
") : ("")) . "
" . ((is_array( $member['custom_fields']['contact'])) ? ("
".$this->__f__799defba9f132b9464a490b9fe2d5065($tabs,$member,$visitors,$default_tab,$default_tab_content,$friends,$status,$warns,$show_contact)." ") : ("")) . "
") : ("")) . "
" . (($this->settings['reputation_enabled'] && $this->settings['reputation_show_profile']) ? ("" . (($member['pp_reputation_points'] > 0) ? ("
lang->words['rep_description'], $member['members_display_name'], $member['pp_reputation_points']) . "\">
") : ("")) . "
" . (($member['pp_reputation_points'] < 0) ? ("
lang->words['rep_description'], $member['members_display_name'], $member['pp_reputation_points']) . "\">
") : ("")) . "
" . (($member['pp_reputation_points'] == 0) ? ("
lang->words['rep_description'], $member['members_display_name'], $member['pp_reputation_points']) . "\">
") : ("")) . "
{$member['pp_reputation_points']}
" . (($member['author_reputation'] && $member['author_reputation']['text']) ? ("
{$member['author_reputation']['text']}
") : ("")) . "
" . (($member['author_reputation'] && $member['author_reputation']['image']) ? ("
") : ("")) . "
") : ("")) . "
" . ((($member['spamStatus'] !== NULL && $member['member_id'] != $this->memberData['member_id']) || ($this->memberData['g_mem_info'] && $this->settings['auth_allow_dnames']) || (($member['member_id'] != $this->memberData['member_id'] AND $this->memberData['g_is_supmod'] ) AND $member['customization']['type'])) ? ("
{$this->lang->words['user_tools']}
" . (($member['spamStatus'] !== NULL && $member['member_id'] != $this->memberData['member_id']) ? ("" . (($member['spamStatus'] === TRUE) ? ("
- " . $this->registry->getClass('output')->getReplacement("spammer_on") . " {$this->lang->words['spm_on']}
") : ("
- member->form_hash}' onclick=\"return ipb.global.toggleFlagSpammer({$member['member_id']}, true)\">" . $this->registry->getClass('output')->getReplacement("spammer_off") . " {$this->lang->words['spm_off']}
")) . "") : ("")) . "
" . (($this->memberData['member_id'] && $this->memberData['g_mem_info'] && $this->settings['auth_allow_dnames']) ? ("
- formatUrl( $this->registry->getClass('output')->buildUrl( "app=members&module=profile§ion=dname&id={$member['member_id']}", "public",'' ), "", "" ) . "' title='{$this->lang->words['view_dname_history']}'>" . $this->registry->getClass('output')->getReplacement("display_name") . " {$this->lang->words['display_name_history']}
") : ("")) . "
" . ((($member['member_id'] != $this->memberData['member_id'] AND $this->memberData['g_is_supmod'] ) AND $member['customization']['type']) ? ("
- formatUrl( $this->registry->getClass('output')->buildUrl( "showuser={$member['member_id']}&secure_key={$this->member->form_hash}&removeCustomization=1", "public",'' ), "{$member['members_seo_name']}", "showuser" ) . "'> {$this->lang->words['cust_remove']}
- formatUrl( $this->registry->getClass('output')->buildUrl( "showuser={$member['member_id']}&secure_key={$this->member->form_hash}&removeCustomization=1&disableCustomization=1", "public",'' ), "{$member['members_seo_name']}", "showuser" ) . "'> {$this->lang->words['cust_disable']}
") : ("")) . "
") : ("")) . "
" . (($member['pp_setting_count_friends'] and $this->settings['friends_enabled']) ? ("
{$this->lang->words['m_title_friends']}
" . ((count($friends) AND is_array($friends)) ? ("
".$this->__f__8b30a2715341e9b1d0794a6f3892ff56($tabs,$member,$visitors,$default_tab,$default_tab_content,$friends,$status,$warns,$show_contact)." ") : ("
{$member['members_display_name']} {$this->lang->words['no_friends_yet']}
")) . "
") : ("")) . "
" . (($member['pp_setting_count_visitors']) ? ("
{$this->lang->words['latest_visitors']}
" . ((is_array( $visitors ) && count( $visitors )) ? ("
".$this->__f__3fa6c44990e1c4aee1c195f90b2f6502($tabs,$member,$visitors,$default_tab,$default_tab_content,$friends,$status,$warns,$show_contact)."
") : ("
{$this->lang->words['no_latest_visitors']}
")) . "
") : ("")) . "
" . (($default_tab != 'core:info') ? ("
{$default_tab_content}
") : ("")) . "
" . $this->registry->getClass('output')->getReplacement("box_end") . "
" . ((($this->memberData['member_id'] && $member['member_id'] != $this->memberData['member_id'])) ? ("
") : ("")) . "
" . ( method_exists( $this->registry->getClass('output')->getTemplate('global'), 'include_highlighter' ) ? $this->registry->getClass('output')->getTemplate('global')->include_highlighter() : '' ) . "";
return $IPBHTML;
}
function __f__9834ecb56ce148dd8840a981cbb6be55($tabs=array(), $member=array(), $visitors=array(), $default_tab='status', $default_tab_content='', $friends=array(), $status=array(), $warns=array(), $show_contact='')
{
$_ips___x_retval = '';
$__iteratorCount = 0;
foreach( $tabs as $tab )
{
$__iteratorCount++;
$_ips___x_retval .= "
request['tab'] == $tab['plugin_key']) ? ("active") : ("")) . " tab_toggle' data-tabid='{$tab['plugin_key']}'>formatUrl( $this->registry->getClass('output')->buildUrl( "showuser={$member['member_id']}&tab={$tab['plugin_key']}", "public",'' ), "{$member['members_seo_name']}", "showuser" ) . "' title='{$this->lang->words['view']} {$tab['_lang']}'>{$tab['_lang']}
";
}
$_ips___x_retval .= '';
unset( $__iteratorCount );
return $_ips___x_retval;
}
function __f__fd1635f86960557564765044ad21d252($tabs=array(), $member=array(), $visitors=array(), $default_tab='status', $default_tab_content='', $friends=array(), $status=array(), $warns=array(), $show_contact='')
{
$_ips___x_retval = '';
$__iteratorCount = 0;
foreach( array( 'ban', 'suspend', 'rpa', 'mq' ) as $k )
{
$__iteratorCount++;
$_ips___x_retval .= "
" . ((isset( $warns[ $k ] )) ? ("
{$this->lang->words[ 'warnings_profile_badge_' . $k ]}") : ("")) . "
";
}
$_ips___x_retval .= '';
unset( $__iteratorCount );
return $_ips___x_retval;
}
function __f__e56f156adee57967866af8b1617487da($tabs=array(), $member=array(), $visitors=array(), $default_tab='status', $default_tab_content='', $friends=array(), $status=array(), $warns=array(), $show_contact='')
{
$_ips___x_retval = '';
$__iteratorCount = 0;
foreach( $member['custom_fields']['profile_info'] as $key => $value )
{
$__iteratorCount++;
$_ips___x_retval .= "
" . ((!empty($value)) ? ("
{$value}
") : ("")) . "
";
}
$_ips___x_retval .= '';
unset( $__iteratorCount );
return $_ips___x_retval;
}
function __f__4708e41b65d09a09dc0ec65b1c234856($tabs=array(), $member=array(), $visitors=array(), $default_tab='status', $default_tab_content='', $friends=array(), $status=array(), $warns=array(), $show_contact='',$group='',$mdata='')
{
$_ips___x_retval = '';
$__iteratorCount = 0;
foreach( $member['custom_fields'][ $group ] as $key => $value )
{
$__iteratorCount++;
$_ips___x_retval .= "
" . ((! empty( $value )) ? ("
{$value}") : ("")) . "
";
}
$_ips___x_retval .= '';
unset( $__iteratorCount );
return $_ips___x_retval;
}
function __f__79cf7a6cc8ed567890be885bbfb9c512($tabs=array(), $member=array(), $visitors=array(), $default_tab='status', $default_tab_content='', $friends=array(), $status=array(), $warns=array(), $show_contact='')
{
$_ips___x_retval = '';
$__iteratorCount = 0;
foreach( $member['custom_fields'] as $group => $mdata )
{
$__iteratorCount++;
$_ips___x_retval .= "
" . (($group != 'profile_info' AND $group != 'contact') ? ("" . ((is_array( $member['custom_fields'][ $group ] ) AND count( $member['custom_fields'][ $group ] )) ? ("
{$member['custom_field_groups'][ $group ]}
".$this->__f__4708e41b65d09a09dc0ec65b1c234856($tabs,$member,$visitors,$default_tab,$default_tab_content,$friends,$status,$warns,$show_contact,$group,$mdata)."
") : ("")) . "") : ("")) . "
";
}
$_ips___x_retval .= '';
unset( $__iteratorCount );
return $_ips___x_retval;
}
function __f__799defba9f132b9464a490b9fe2d5065($tabs=array(), $member=array(), $visitors=array(), $default_tab='status', $default_tab_content='', $friends=array(), $status=array(), $warns=array(), $show_contact='')
{
$_ips___x_retval = '';
$__iteratorCount = 0;
foreach( $member['custom_fields']['contact'] as $field )
{
$__iteratorCount++;
$_ips___x_retval .= "
" . (($field) ? ("{$field}") : ("")) . "
";
}
$_ips___x_retval .= '';
unset( $__iteratorCount );
return $_ips___x_retval;
}
function __f__8b30a2715341e9b1d0794a6f3892ff56($tabs=array(), $member=array(), $visitors=array(), $default_tab='status', $default_tab_content='', $friends=array(), $status=array(), $warns=array(), $show_contact='')
{
$_ips___x_retval = '';
$__iteratorCount = 0;
foreach( $friends as $friend )
{
$__iteratorCount++;
$_ips___x_retval .= "
formatUrl( $this->registry->getClass('output')->buildUrl( "showuser={$friend['member_id']}", "public",'' ), "{$friend['members_seo_name']}", "showuser" ) . "' class='ipsUserPhotoLink'>
";
}
$_ips___x_retval .= '';
unset( $__iteratorCount );
return $_ips___x_retval;
}
function __f__3fa6c44990e1c4aee1c195f90b2f6502($tabs=array(), $member=array(), $visitors=array(), $default_tab='status', $default_tab_content='', $friends=array(), $status=array(), $warns=array(), $show_contact='')
{
$_ips___x_retval = '';
$__iteratorCount = 0;
foreach( $visitors as $visitor )
{
$__iteratorCount++;
$_ips___x_retval .= "
" . (($visitor['member_id']) ? ("
formatUrl( $this->registry->getClass('output')->buildUrl( "showuser={$visitor['member_id']}", "public",'' ), "{$visitor['members_seo_name']}", "showuser" ) . "' title='{$this->lang->words['view_profile']}' class='ipsUserPhotoLink left'>
") : ("
")) . "
" . ( method_exists( $this->registry->getClass('output')->getTemplate('global'), 'userHoverCard' ) ? $this->registry->getClass('output')->getTemplate('global')->userHoverCard($visitor) : '' ) . "
{$visitor['_visited_date']}
";
}
$_ips___x_retval .= '';
unset( $__iteratorCount );
return $_ips___x_retval;
}
/* -- reputationPage --*/
function reputationPage($langBit, $currentApp='', $supportedApps=array(), $processedResults='') {
$IPBHTML = "";
if( IPSLib::locationHasHooks( 'skin_profile', $this->_funcHooks['reputationPage'] ) )
{
$count_bf2fe0f654703198ea794bbf7cffbcf4 = is_array($this->functionData['reputationPage']) ? count($this->functionData['reputationPage']) : 0;
$this->functionData['reputationPage'][$count_bf2fe0f654703198ea794bbf7cffbcf4]['langBit'] = $langBit;
$this->functionData['reputationPage'][$count_bf2fe0f654703198ea794bbf7cffbcf4]['currentApp'] = $currentApp;
$this->functionData['reputationPage'][$count_bf2fe0f654703198ea794bbf7cffbcf4]['supportedApps'] = $supportedApps;
$this->functionData['reputationPage'][$count_bf2fe0f654703198ea794bbf7cffbcf4]['processedResults'] = $processedResults;
}
$IPBHTML .= "" . $this->registry->getClass('output')->addJSModule("like", "0" ) . "
{$this->lang->words[ $langBit ]}
" . ((count( $supportedApps ) > 1) ? ("
".$this->__f__d7e4cde6f9c1cbeb3422ad846bad2e52($langBit,$currentApp,$supportedApps,$processedResults)."
") : ("")) . "
" . (($processedResults) ? ("
{$processedResults}
") : ("
{$this->lang->words['reputation_empty']}
")) . "
";
return $IPBHTML;
}
function __f__d7e4cde6f9c1cbeb3422ad846bad2e52($langBit, $currentApp='', $supportedApps=array(), $processedResults='')
{
$_ips___x_retval = '';
$__iteratorCount = 0;
foreach( $supportedApps as $_app )
{
$__iteratorCount++;
$_ips___x_retval .= "
formatUrl( $this->registry->getClass('output')->buildUrl( "app=members&module=reputation§ion=most&app_tab={$_app['app_directory']}", "public",'' ), "most_liked", "most_liked" ) . "'>
" . IPSLib::getAppTitle($_app['app_directory']) . "
";
}
$_ips___x_retval .= '';
unset( $__iteratorCount );
return $_ips___x_retval;
}
/* -- showCard --*/
function showCard($member, $download=0) {
$IPBHTML = "";
if( IPSLib::locationHasHooks( 'skin_profile', $this->_funcHooks['showCard'] ) )
{
$count_547cd2673e781e9b7e8738d5c70838bf = is_array($this->functionData['showCard']) ? count($this->functionData['showCard']) : 0;
$this->functionData['showCard'][$count_547cd2673e781e9b7e8738d5c70838bf]['member'] = $member;
$this->functionData['showCard'][$count_547cd2673e781e9b7e8738d5c70838bf]['download'] = $download;
}
$IPBHTML .= "