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'); } # output signature if (!empty($spProfileUser->signature)) { sp_SectionStart('tagClass=spProfileShowSignatureSection', 'profileSignature'); echo '<p class="spProfileTitle">' . $spProfileUser->display_name . ' ' . __sp('Signature') . '<br /><hr>'; sp_Signature('tagClass=spSignature', $spProfileUser->signature);
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');
sp_SectionEnd('', 'profileAvatarRank'); # show user stats sp_SectionStart('tagClass=spProfileShowInfoSection spRight', 'profileStats'); sp_ProfileShowDisplayName('tagClass=spProfileLabel spLeft', __sp('Username')); sp_ProfileShowMemberSince('tagClass=spProfileLabel spLeft', __sp('Member Since')); sp_ProfileShowLastVisit('tagClass=spProfileLabel spLeft', __sp('Last Visited')); sp_ProfileShowUserPosts('tagClass=spProfileLabel spLeft', __sp('Posts')); if (function_exists('sp_ProfileSendPm')) { sp_ProfileSendPm('tagClass=spProfileLabel&icon=&buttonClass=spPmButton', __sp('Message'), __sp('Send PM')); } sp_SectionEnd('', 'profileStats'); sp_SectionEnd('tagClass=spClear', 'profileBasic'); # show user identities sp_SectionStart('tagClass=spProfileShowInfoSection spRight', 'profileIdentities'); sp_ProfileShowEmail('tagClass=spProfileLabel spLeft', __sp('Email')); sp_ProfileShowAIM('tagClass=spProfileLabel spLeft', __sp('AOL IM ID')); sp_ProfileShowYIM('tagClass=spProfileLabel spLeft', __sp('Yahoo IM ID')); sp_ProfileShowMSN('tagClass=spProfileLabel spLeft', __sp('MSN ID')); sp_ProfileShowICQ('tagClass=spProfileLabel spLeft', __sp('ICQ ID')); sp_ProfileShowGoogleTalk('tagClass=spProfileLabel spLeft', __sp('Google Talk ID')); sp_ProfileShowSkype('tagClass=spProfileLabel spLeft', __sp('Skype ID')); sp_ProfileShowMySpace('tagClass=spProfileLabel spLeft', __sp('MySpace ID')); sp_ProfileShowFacebook('tagClass=spProfileLabel spLeft', __sp('Facebook ID')); sp_ProfileShowTwitter('tagClass=spProfileLabel spLeft', __sp('Twitter ID')); sp_ProfileShowLinkedIn('tagClass=spProfileLabel spLeft', __sp('LinkedIn ID')); sp_ProfileShowYouTube('tagClass=spProfileLabel spLeft', __sp('YouTube ID')); sp_SectionEnd('', 'profileIdentities'); sp_SectionStart('tagClass=spFlexSection spCenter', 'postedTo'); sp_ProfileShowSearchPosts('tagClass=spLabel&leftClass=spPostedToSubmit&rightClass=spPostedToSubmit&middleClass=', __sp('View'), __sp('Topics Started by %USERNAME%'), __sp('%USERNAME%s Recent Posts')); sp_SectionEnd('', 'postedTo'); sp_SectionEnd('tagClass=spClear', 'profileShow');