コード例 #1
0
 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_PostIndexUserGooglePlus('', __sp('Interact with me on Google Plus'));
 sp_SectionEnd('', 'user-identities');
 sp_ColumnEnd();
 # Column 2 of the post row
 # ----------------------------------------------------------------------
 sp_ColumnStart('tagClass=spPostSection spRight&width=84%');
 # Start the 'post' section
 # ----------------------------------------------------------------------
 sp_SectionStart('tagClass=spPostActionSection', 'action');
 sp_GoToTop('tagClass=spRight spGoToTop&iconClass=spIcon', '', __sp('Go to Top'));
 sp_PostIndexPinned('tagClass=spStatusIcon spLeft', __sp('This post is pinned'));
 if (function_exists('sp_PostIndexPostByEmail')) {
     sp_PostIndexPostByEmail('tagClass=spStatusIcon spLeft', 'This post was sent by email');
 }
 sp_PostIndexNumber('tagClass=spLabelBordered spLeft');
 sp_PostIndexEditHistory('tagClass=spButton spLeft', '', __sp('Edited by %USER% on %DATE%'), __sp('View edit history'));
コード例 #2
0
 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');
 #sp_PostIndexUserRank('tagClass=spPostUserRank spCenter&showBadge=0&hideIfSpecialRank=1');
 sp_InsertBreak('');
 #sp_PostIndexUserSpecialRank('tagClass=spPostUserSpecialRank spCenter&showBadge=0');
 #sp_InsertBreak('');
 #sp_PostIndexUserMemberships('tagClass=spPostUserMemberships spCenter&stacked=1');
 #sp_InsertBreak('');
 if (function_exists('sp_PostIndexCubePoints')) {
     sp_InsertBreak();
     sp_PostIndexCubePoints('tagClass=spPostUserCubePoints', __sp('CubePoints'));