Example #1
0
    sp_SectionStart('tagClass=spAdminBar', 'adminBar');
    sp_AdminLinks('tagClass=spRight spButton', __sp('Admin Links'), __sp('Select an admin page'));
    sp_AdminQueue('tagClass=spLeft&buttonClass=spLeft spButton&countClass=spLeft spButtonAsLabel', __sp('View New Posts'), __sp('Unread: '), __sp('Need Moderation: '), __sp('Spam: '), __sp('Open/Close the Admin Postbag'));
    sp_SectionEnd('tagClass=spClear', 'adminBar');
}
sp_SectionStart('tagClass=spHeadOne', 'headOne');
sp_UserAvatar('tagClass=spImg spRight');
sp_SectionStart('tagClass=holder spRight', 'holder');
sp_LogInOutButton('tagClass=spLogLabelSmall spRight&logInIcon=&logOutIcon=', __sp('Log In'), __sp('Log Out'), __sp('Log in and log out'));
sp_LoggedInOutLabel('tagClass=spLabelSmall spRight', __sp('Hello <b>%USERNAME%</b>'), __sp('Please consider registering<br />Guest'), __sp('Welcome back %USERNAME%<br />'));
sp_InsertBreak();
#sp_UnreadPostsInfo('tagClass=spLabelSmall spLeft spIcon&popup=0&unreadIcon=&markIcon=', __sp('There are %COUNT% topics with unread posts'), __sp('Most recent topics with unread posts'), __sp('Mark all topics as read'));
sp_MarkReadLink('tagClass=spLabelSmall spRight spLink', '(Clear)', 'Mark all posts as read');
sp_UnreadPostsLink('tagClass=spLabelSmall spRight spLink&popup=0&group=0', __sp('You have %COUNT% topics with unread posts'), __sp('View all unread posts'), __sp('Unread Posts'));
sp_InsertBreak();
sp_MarkForumRead('tagClass=spLabelSmall spRight spLink&markIcon=', __sp('Mark forum read'), __sp('Mark all topics in this forum read'));
sp_SectionEnd('', 'holder');
sp_SectionEnd('', 'headOne');
sp_InsertBreak();
sp_SectionStart('tagClass=spHeadTwo', 'headTwo');
sp_SearchForm($searchForm);
sp_SectionEnd('', 'headTwo');
sp_InsertBreak();
sp_SectionStart('tagClass=spHeadThree', 'headThree');
#sp_UnreadPostsInfo('tagClass=spRight spUnreadPostsInfo&spanClass=spLeft&iconClass=spLeft spIcon', __sp('%COUNT% topics with<br />unread posts'), __sp('Most recent topics with unread posts'), __sp('Mark all topics as read'));
#if (function_exists('sp_RankInfo')) sp_RankInfo('tagClass=spIcon spRight', 'Ranks', __sp('Display Forum Ranks Information'));
sp_InsertBreak();
sp_SectionEnd('', 'headThree');
sp_SectionEnd('', 'userInfo');
# Start the 'head controls' section
# ----------------------------------------------------------------------
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
# ----------------------------------------------------------------------
sp_SectionStart('tagClass=spPlainSection spLeft', 'breadCrumbs');
sp_BreadCrumbs('tagClass=spLeft spBreadCrumbs&tree=1', __sp('Home'));
sp_SectionEnd('', 'breadCrumbs');
# Start the 'pageTopStatus' section
# ----------------------------------------------------------------------
sp_SectionStart('tagClass=spPlainSection spRight', 'pageTopStatus');
sp_GoToBottom('tagClass=spGoToBottom spRight&iconClass=spIcon', '', __sp('Go to Bottom'));
sp_MarkForumRead('tagClass=spMarkForumRead spRight', __sp('Mark forum read'), __sp('Mark all topics in this forum read'));
sp_UnreadPostsInfo('tagClass=spRight spUnreadPostsInfo&spanClass=spLeft&iconClass=spLeft spIcon', __sp('%COUNT% topics with<br />unread posts'), __sp('Most recent topics with unread posts'), __sp('Mark all topics as read'));
if (function_exists('sp_RankInfo')) {
    sp_RankInfo('tagClass=spButton spRight', '', __sp('Display Forum Ranks Information'));
}
sp_SectionEnd('', 'pageTopStatus');
sp_InsertBreak();
sp_SectionStart('tagClass=spPlainSection');
sp_ForumLockdown('tagClass=spMessage', __sp('The forums are currently locked and only available for read only access'));
sp_SectionEnd();
sp_InsertBreak();
# Mandatory call to sp_HeaderEnd() - available to custom code
# ----------------------------------------------------------------------
sp_HeaderEnd();