Exemplo n.º 1
0
 # ----------------------------------------------------------------------
 if (sp_has_posts()) {
     while (sp_loop_posts()) {
         sp_the_post();
         # 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'));
Exemplo n.º 2
0
 if (function_exists('sp_PostIndexThreadedReply')) {
     sp_PostIndexThreadedReply('tagClass=spPostActionLabel spRight&icon=', __sp('Reply'), __sp('Add threaded reply to this post'));
 }
 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();