예제 #1
0
sp_UserAvatar('tagClass=spImg spLeft');
sp_SectionStart('tagClass=spPlainSection');
sp_LoggedInOutLabel('tagClass=spLabelSmall spLeft', __sp('Logged in as<br /><b>%USERNAME%</b>'), __sp('Please consider registering<br /><b>guest</b>'), __sp('Welcome back <b>%USERNAME%</b><br />Please log in to post'));
sp_LogInOutButton('tagClass=spButton spRight', __sp('Log In'), __sp('Log Out'), __sp('Log in and log out'));
sp_RegisterButton('tagClass=spButton spRight', __sp('Register'), __sp('Register'));
sp_ProfileEditButton('tagClass=spButton spRight', __sp('Profile'), __sp('Edit your profile'));
if (function_exists('sp_PmInboxButton')) {
    sp_PmInboxButton('tagClass=spButton spRight', __sp('Inbox:'), __sp('Go to PM inbox'));
}
if (function_exists('sp_SubscriptionsReviewButton')) {
    sp_SubscriptionsReviewButton('tagClass=spButton spRight', __sp('Subscribed:'), __sp('Review subscribed topics'));
}
if (function_exists('sp_WatchesReviewButton')) {
    sp_WatchesReviewButton('tagClass=spButton spRight', __sp('Watching:'), __sp('Review watched topics'));
}
sp_MemberButton('tagClass=spButton spRight', __sp('Members'), __sp('View the members list'));
sp_InsertBreak('direction=right');
sp_LastVisitLabel('tagClass=spLabelSmall spRight', __sp('Last visited %LASTVISIT%'));
sp_SectionEnd('tagClass=spClear');
sp_LoginForm($loginForm);
sp_UserNotices('', __sp('(Remove Notice)'));
sp_SectionEnd('', 'userInfo');
# ----------------------------------------------------------------------
sp_SectionStart('tagClass=spPlainSection', 'search');
sp_QuickLinksForum('tagClass=spControl spSelect spRight', __sp('Select Forum'));
sp_QuickLinksTopic('tagClass=spControl spSelect spRight', __sp('New/Recently Updated Topics'));
sp_SearchForm($searchForm);
sp_SectionEnd('', 'search');
sp_InsertBreak();
# Start the 'breadCrumbs' section
# ----------------------------------------------------------------------
예제 #2
0
sp_LoggedInOutLabel('tagClass=spLabelSmall spRight', __sp('Logged in as<br /><b>%USERNAME%</b>'), __sp('Guest<br />Not logged in'), __sp('<b>%USERNAME%</b><br />Please log in'));
#sp_LastVisitLabel('tagClass=spLabelSmall spLeft', __sp('Last visited<br /> %LASTVISIT%'));
sp_InsertBreak('spacer=5px');
sp_SectionEnd('tagClass=spClear');
sp_UserNotices('', __sp('(Remove Notice)'));
sp_MobileMenuStart('tagId=spHeadActions&tagClass=spHeadActions spLeft', __sp('Forum Menu'));
sp_LogInOutButton('tagClass=spControl&mobileMenu=1', __sp('Log In'), __sp('Log Out'));
sp_RegisterButton('tagClass=spControl&mobileMenu=1', __sp('Register'));
#sp_MarkForumRead('tagClass=spMarkForumRead spRight&mobileMenu=1', __sp('Mark forum read'), __sp('Mark all topics in this forum read'));
sp_UnreadPostsInfo('tagClass=spUnreadPostsInfo&mobileMenu=1', __sp('Unread (%COUNT%)'), '', __sp('Mark all read'));
if (function_exists('sp_PmInboxButton')) {
    sp_PmInboxButton('tagClass=spControl&mobileMenu=1', __sp('PM Inbox:'), __sp('Go to PM inbox'));
}
sp_MobileMenuSearch('tagClass=spControl', __sp('Search Forums'));
sp_ProfileEditButton('tagClass=spControl&mobileMenu=1', __sp('Your Profile'));
sp_MemberButton('tagClass=spControl&mobileMenu=1', __sp('Member List'));
if (function_exists('sp_SubscriptionsReviewButton')) {
    sp_SubscriptionsReviewButton('tagClass=spControl&mobileMenu=1', __sp('Subscriptions (%COUNT%)'), __sp('Review subscribed topics'));
}
if (function_exists('sp_WatchesReviewButton')) {
    sp_WatchesReviewButton('tagClass=spControl&mobileMenu=1', __sp('Watches (%COUNT%)'), __sp('Review watched topics'));
}
if (function_exists('sp_RankInfo')) {
    sp_RankInfo('tagClass=spControl&mobileMenu=1', 'Ranks Information', __sp('Display Forum Ranks Information'));
}
sp_MobileMenuEnd('listTagId=spHeadActions&tagClass=spOptionsList spCenter');
sp_SectionEnd('', 'userInfo');
# Start the 'breadCrumbs' section
# ----------------------------------------------------------------------
sp_SectionStart('tagClass=spPlainSection spLeft', 'breadCrumbs');
sp_BreadCrumbsMobile('tagClass=spButton spLeft&truncate=20&iconText=→', __sp('Forums'));