echo '<p>' . __sp('Contact') . ' ' . $spProfileUser->display_name . '<br /><hr>';
sp_ProfileShowAIM('', __sp('AOL IM ID'));
sp_ProfileShowYIM('', __sp('Yahoo IM ID'));
sp_ProfileShowMSN('', __sp('MSN ID'));
sp_ProfileShowICQ('', __sp('ICQ ID'));
sp_ProfileShowGoogleTalk('', __sp('Google Talk ID'));
sp_ProfileShowSkype('', __sp('Skype ID'));
sp_ProfileShowMySpace('', __sp('MySpace ID'));
sp_ProfileShowFacebook('', __sp('Facebook ID'));
sp_ProfileShowTwitter('', __sp('Twitter ID'));
sp_ProfileShowLinkedIn('', __sp('LinkedIn ID'));
sp_ProfileShowYouTube('', __sp('YouTube ID'));
sp_ProfileShowEmail('', __sp('Email'));
if (function_exists('sp_ProfileSendPm')) {
    sp_ProfileSendPm('', __sp('Private Message'), __sp('Send PM'));
}
sp_ColumnEnd('', 'profileIdentities');
# show user stats
sp_ColumnStart('tagClass=spProfileShowStatsSection spRight&width=45%', 'profileStats');
echo '<p>' . $spProfileUser->display_name . ' ' . __sp('Statistics') . '<br /><hr>';
sp_ProfileShowMemberSince('', __sp('Member Since'));
sp_ProfileShowLastVisit('', __sp('Last Visited'));
sp_ProfileShowUserPosts('', __sp('Posts'));
sp_ProfileShowSearchPosts('', __sp('Search User Posts'), __sp('Topics Started'), __sp('Topics Posted In'));
sp_ColumnEnd('', 'profileStats');
sp_SectionEnd('tagClass=spClear', 'profileDetails');
# output some options
sp_SectionStart('tagClass=spPlainSection spCenter', 'profileSignature');
sp_ProfileShowLink('tagClass=spButton', __sp('View Full Profile for %USER%'));
sp_SectionEnd('', 'profileSignature');
sp_SectionEnd('tagClass=spClear', 'profileShow');
Exemplo n.º 2
0
sp_ProfileShowMySpace('tagClass=spProfileLabel', __sp('MySpace ID'));
sp_ProfileShowFacebook('tagClass=spProfileLabel', __sp('Facebook ID'));
sp_ProfileShowTwitter('tagClass=spProfileLabel', __sp('Twitter ID'));
sp_ProfileShowLinkedIn('tagClass=spProfileLabel', __sp('LinkedIn ID'));
sp_ProfileShowYouTube('tagClass=spProfileLabel', __sp('YouTube ID'));
sp_ProfileShowEmail('tagClass=spProfileLabel', __sp('Email'));
if (function_exists('sp_ProfileSendPm')) {
    sp_ProfileSendPm('tagClass=spProfileLabel&icon=&buttonClass=spPmButton', __sp('Message'), __sp('Send PM'));
}
sp_SectionEnd('', 'profileIdentities');
# show user stats
sp_SectionStart('tagClass=spProfileShowStatsSection spRight', 'profileStats');
echo '<p class="spProfileTitle">' . $spProfileUser->display_name . ' ' . __sp('- Statistics') . '<br /><hr>';
sp_ProfileShowMemberSince('tagClass=spProfileLabel', __sp('Member Since'));
sp_ProfileShowLastVisit('tagClass=spProfileLabel', __sp('Last Visited'));
sp_ProfileShowUserPosts('tagClass=spProfileLabel', __sp('Posts'));
if ($spDevice != 'mobile') {
    sp_ProfileShowSearchPosts('tagClass=spProfileLabel&rightClass=spPostedToSubmitInline&middleClass=', __sp('View'), __sp('Topics Started'), __sp('All Posts'));
}
if ($spDevice == 'mobile') {
    sp_ProfileShowSearchPosts('tagClass=spProfileLabel&rightClass=spPostedToSubmitInline&middleClass=', __sp('View'), __sp(''), __sp(''));
}
sp_SectionEnd('', 'profileStats');
sp_SectionEnd('tagClass=spClear', 'profileDetails');
# output user photos
if (!empty($spProfileUser->photos)) {
    sp_SectionStart('tagClass=spProfileShowPhotosSection', 'profilePhotos');
    echo '<p class="spProfileTitle">' . $spProfileUser->display_name . ' ' . __sp('Profile Photos') . '<br /><hr>';
    sp_ProfileShowUserPhotos('photoClass=spCenter&imageClass=spImg&numCols=3');
    sp_SectionEnd('', 'profilePhotos');
}