コード例 #1
0
sp_ColumnStart('tagClass=spProfileShowAvatarSection spLeft&width=25%', 'profileAvatarRank');
sp_SectionStart('tagClass=spPlainSection spCenter', '');
sp_UserAvatar('context=user&link=', $spProfileUser);
sp_UserForumRank('', $spProfileUser->rank);
sp_UserSpecialRank('', $spProfileUser->special_rank);
sp_UserMembership('', $spProfileUser->memberships);
if (function_exists('sp_UserReputationLevel')) {
    sp_UserReputationLevel('', $spProfileUser);
}
sp_SectionEnd();
sp_ColumnEnd('', 'profileAvatarRank');
# show profile info
sp_ColumnStart('tagClass=spProfileShowInfoSection spRight&width=65%', 'profileInfo');
sp_ProfileShowDisplayName('', __sp('Username'));
sp_ProfileShowFirstName('', __sp('First Name'));
sp_ProfileShowLastName('', __sp('Last Name'));
sp_ProfileShowLocation('', __sp('Location'));
sp_ProfileShowWebsite('', __sp('Website'));
sp_ProfileShowBio('', __sp('Bio'));
sp_ColumnEnd('', 'profileInfo');
sp_SectionEnd('tagClass=spClear', 'profileBasic');
# output section for detailed user info
sp_SectionStart('tagClass=spProfileShowDetailsSection', 'profileDetails');
# show user identities
sp_ColumnStart('tagClass=spProfileShowIdentitiesSection spLeft&width=45%', 'profileIdentities');
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'));
コード例 #2
0
ファイル: spProfileShow.php プロジェクト: bself/nuimage-wp
# show avatar and rank
sp_SectionStart('tagClass=spProfileShowAvatarSection spLeft', 'profileAvatarRank');
sp_SectionStart('tagClass=spPlainSection spCenter', '');
sp_UserAvatar('context=user&link=', $spProfileUser);
sp_UserForumRank('', $spProfileUser->rank);
sp_UserSpecialRank('', $spProfileUser->special_rank);
if (function_exists('sp_UserReputationLevel')) {
    sp_UserReputationLevel('', $spProfileUser);
}
sp_SectionEnd();
sp_SectionEnd('', 'profileAvatarRank');
# show profile info
sp_SectionStart('tagClass=spProfileShowInfoSection spRight', 'profileInfo');
sp_ProfileShowDisplayName('tagClass=spProfileLabel', __sp('Username'));
sp_ProfileShowFirstName('tagClass=spProfileLabel', __sp('First Name'));
sp_ProfileShowLastName('tagClass=spProfileLabel', __sp('Last Name'));
sp_ProfileShowLocation('tagClass=spProfileLabel', __sp('Location'));
sp_ProfileShowWebsite('tagClass=spProfileLabel', __sp('Website'));
sp_ProfileShowBio('tagClass=spProfileLabel', __sp('Bio'));
sp_SectionEnd('', 'profileInfo');
sp_SectionEnd('tagClass=spClear', 'profileBasic');
# output section for detailed user info
sp_SectionStart('tagClass=spProfileShowDetailsSection', 'profileDetails');
# show user identities
sp_SectionStart('tagClass=spProfileShowIdentitiesSection spLeft', 'profileIdentities');
echo '<p class="spProfileTitle">' . __sp('Contact') . ' ' . $spProfileUser->display_name . '<br /><hr>';
sp_ProfileShowAIM('tagClass=spProfileLabel', __sp('AOL IM ID'));
sp_ProfileShowYIM('tagClass=spProfileLabel', __sp('Yahoo IM ID'));
sp_ProfileShowMSN('tagClass=spProfileLabel', __sp('MSN ID'));
sp_ProfileShowICQ('tagClass=spProfileLabel', __sp('ICQ ID'));
sp_ProfileShowGoogleTalk('tagClass=spProfileLabel', __sp('Google Talk ID'));