Exemple #1
0
 # Column 1 of the post row
 # ----------------------------------------------------------------------
 sp_ColumnStart('tagId=spColTopic1&tagClass=spUserSection spLeft&width=0&height=50px');
 sp_UserAvatar('tagClass=spPostUserAvatar spCenter&context=user', $spThisPostUser);
 #sp_SectionStart('tagClass=spArrow', 'arrow');
 #sp_SectionEnd('', 'arrow');
 sp_PostIndexUserName('tagClass=spPostUserName spCenter');
 sp_PostIndexUserLocation('tagClass=spPostUserLocation spCenter');
 #sp_PostIndexUserMemberships('tagClass=spPostUserMemberships spCenter&showTitle=0');
 #sp_PostIndexUserRank('tagClass=spPostUserRank spCenter&showBadge=0&hideIfSpecialRanl=1');
 #sp_PostIndexUserSpecialRank('tagClass=spPostUserSpecialRank spCenter');
 sp_PostIndexUserBadges('tagClass=spCenter');
 if (function_exists('sp_PostIndexUserReputationLevel')) {
     sp_PostIndexUserReputationLevel('tagClass=spPostReputationLevel spCenter');
 }
 sp_PostIndexUserPosts('tagClass=spPostUserPosts spCenter', __sp('%COUNT% Posts'));
 sp_PostIndexUserStatus('tagClass=spCenter spPostUserStatus&onlineIcon=&offlineIcon=', __sp('(Online)'), __sp('(Offline)'));
 if (function_exists('sp_PostIndexCubePoints')) {
     sp_PostIndexCubePoints('tagClass=spPostUserCubePoints spCenter', __sp('CubePoints'));
 }
 #sp_PostIndexUserRegistered('tagClass=spPostUserRegistered spCenter', __sp('Member Since:<br /> %DATE%'));
 sp_SectionStart('tagClass=spSocialButtons spCenter', 'user-identities');
 sp_PostIndexUserWebsite('', __sp('Visit my website'));
 sp_PostIndexUserTwitter('', __sp('Follow me on Twitter'));
 sp_PostIndexUserFacebook('', __sp('Connect with me on Facebook'));
 sp_PostIndexUserMySpace('', __sp('See MySpace'));
 sp_PostIndexUserLinkedIn('', __sp('My LinkedIn network'));
 sp_PostIndexUserYouTube('', __sp('View my YouTube channel'));
 sp_PostIndexUserGooglePlus('', __sp('Interact with me on Google Plus'));
 sp_SectionEnd('', 'user-identities');
 if (function_exists('sp_PostIndexRepUser')) {
 # Start the 'post' section
 # ----------------------------------------------------------------------
 sp_SectionStart('tagClass=spTopicPostSection', 'post');
 sp_PostIndexAnchor();
 sp_PostForumToolButton('', '', __sp('Open the forum toolset'));
 # Column 1 of the post row
 # ----------------------------------------------------------------------
 sp_ColumnStart('tagClass=spUserSection spLeft&width=15%&height=50px');
 sp_PostIndexUserDate('tagClass=spPostUserDate spCenter');
 sp_UserAvatar('tagClass=spPostUserAvatar spCenter&context=user', $spThisPostUser);
 sp_PostIndexUserName('tagClass=spPostUserName spCenter');
 sp_PostIndexUserLocation('tagClass=spPostUserLocation spCenter');
 sp_PostIndexUserRank('tagClass=spPostUserRank spCenter');
 sp_PostIndexUserSpecialRank('tagClass=spPostUserSpecialRank spCenter');
 sp_PostIndexUserMemberships('tagClass=spPostUserMemberships spCenter');
 sp_PostIndexUserPosts('tagClass=spPostUserPosts spCenter', __sp('Forum Posts: %COUNT%'));
 if (function_exists('sp_PostIndexCubePoints')) {
     sp_PostIndexCubePoints('tagClass=spPostUserCubePoints spCenter', __sp('CubePoints'));
 }
 if (function_exists('sp_PostIndexMyCred')) {
     sp_PostIndexMyCred('tagClass=spPostUserMyCred spCenter', __sp('MyCred '), __sp('MyCred'));
 }
 sp_PostIndexUserRegistered('tagClass=spPostUserRegistered spCenter', __sp('Member Since:<br /> %DATE%'));
 sp_PostIndexUserStatus('tagClass=spCenter spPostUserStatus', __sp('Online'), __sp('Offline'));
 sp_SectionStart('tagClass=spCenter', 'user-identities');
 sp_PostIndexUserWebsite('', __sp('Visit my website'));
 sp_PostIndexUserTwitter('', __sp('Follow me on Twitter'));
 sp_PostIndexUserFacebook('', __sp('Connect with me on Facebook'));
 sp_PostIndexUserMySpace('', __sp('See MySpace'));
 sp_PostIndexUserLinkedIn('', __sp('My LinkedIn network'));
 sp_PostIndexUserYouTube('', __sp('View my YouTube channel'));
 sp_SectionEnd('', 'holder');
 sp_SectionEnd('', 'action');
 sp_SectionEnd('', 'post-info');
 # User Info post row
 # ----------------------------------------------------------------------
 sp_SectionStart('tagClass=spUserSectionMobile');
 sp_InsertBreak('');
 sp_ColumnStart('tagClass=spAvatarSection spLeft&width=70%&height=15px');
 sp_UserAvatar('tagClass=spPostUserAvatar spLeft&context=user', $spThisPostUser);
 sp_PostIndexUserName('tagClass=spPostUserName spLeft');
 sp_InsertLineBreak();
 if (function_exists('sp_PostIndexUserLocation')) {
     sp_PostIndexUserLocation('tagClass=spPostUserLocation spLeft');
     sp_InsertLineBreak();
 }
 sp_PostIndexUserPosts('tagClass=spPostUserPosts spLeft', __sp('Posts: %COUNT%'));
 sp_InsertBreak('');
 sp_SectionStart('tagClass=spIdentitySection', 'user-identities');
 sp_PostIndexUserWebsite('tagClass=spLeft', __sp('Visit my website'));
 sp_PostIndexUserTwitter('tagClass=spLeft', __sp('Follow me on Twitter'));
 sp_PostIndexUserFacebook('tagClass=spLeft', __sp('Connect with me on Facebook'));
 sp_PostIndexUserMySpace('tagClass=spLeft', __sp('See MySpace'));
 sp_PostIndexUserLinkedIn('tagClass=spLeft', __sp('My LinkedIn network'));
 sp_PostIndexUserYouTube('tagClass=spLeft', __sp('View my YouTube channel'));
 sp_PostIndexUserGooglePlus('tagClass=spLeft', __sp('Interact with me on Google Plus'));
 sp_InsertLineBreak();
 sp_SectionEnd('', 'user-identities');
 sp_ColumnEnd();
 sp_ColumnStart('tagClass=spUserStatsSection spRight&width=30%&height=20px');
 sp_ColumnStart('tagClass=spIdentityHolder spRight&width=auto&height=auto');
 sp_PostIndexUserBadges('tagClass=spCenter');