示例#1
0
    sp_InsertBreak();
    sp_SectionEnd('', 'pageLinks');
    # Start the 'editor' section
    # ----------------------------------------------------------------------
    sp_SectionStart('tagClass=spHiddenSection', 'editor');
    sp_PostEditorWindow($addPostForm, $editPostForm);
    sp_SectionEnd('', 'editor');
} else {
    sp_NoTopicMessage('tagClass=spMessage', __sp('Access denied - you do not have permission to view this page'), __sp('The requested topic does not exist'));
}
sp_SectionEnd('', 'topicView');
sp_SectionEnd('', 'body');
# Footer buttons section
# ----------------------------------------------------------------------
sp_SectionStart('tagClass=spActionsBar', 'footerButtons');
sp_PostNewButton('tagId=spPostNewButtonBottom&tagClass=spFootButton spRight&iconLock=sp_ForumStatusLockWhite.png&icon=', __sp('Add Reply'), __sp('Add a new post in this topic'), __sp('This topic is locked'));
if (function_exists('sp_PrintTopicView')) {
    sp_PrintTopicView('tagClass=spFootButton spRight&icon=', 'Print Topic', __sp('Topic Print Options'));
}
if (function_exists('sp_SubscriptionsSubscribeButton')) {
    sp_SubscriptionsSubscribeButton('tagClass=spFootButton spRight&subscribeIcon=&unsubscribeIcon=', __sp('Subscribe'), __sp('Un-subscribe'), __sp('Subscribe to this topic'), __sp('Unsubscribe from this topic'));
}
if (function_exists('sp_WatchesWatchButton')) {
    sp_WatchesWatchButton('tagClass=spFootButton spRight&watchIcon=&stopWatchIcon=', __sp('Watch'), __sp('Stop Watching'), __sp('Watch this topic'), __sp('Stop watching this topic'));
}
sp_SectionEnd('tagClass=spClear', 'footerButtons');
# Load the forum footer template - normally last thing
# ----------------------------------------------------------------------
sp_SectionStart('tagClass=spFootContainer', 'foot');
sp_load_template('spFoot.php');
sp_SectionEnd('', 'foot');
示例#2
0
#	Template	:	foot
#	Author		:	Simple:Press
#
#	The 'foot' template can be used for all forum content that is to be
#	displayed at the bottom of every forum view page
#
# --------------------------------------------------------------------------------------
# Mandatory call to sp_FooterBegin() - available to custom code
# ----------------------------------------------------------------------
sp_FooterBegin();
# Start the 'pageBottomStatus' section
# ----------------------------------------------------------------------
sp_SectionStart('tagClass=spPlainSection', 'pageBottomStatus');
sp_AllRSSButton('tagClass=spButton spLeft spAllRSSButton', __sp('All RSS'), __sp('Subscribe to the all forums RSS feed'));
if (function_exists('sp_SubscriptionsSubscribeButton')) {
    sp_SubscriptionsSubscribeButton('tagClass=spButton spLeft', __sp('Subscribe'), __sp('Unsubscribe'), __sp('Subscribe to this topic'), __sp('Unsubscribe from this topic'));
}
if (function_exists('sp_WatchesWatchButton')) {
    sp_WatchesWatchButton('tagClass=spButton spLeft', __sp('Watch'), __sp('Stop Watching'), __sp('Watch this topic'), __sp('Stop watching this topic'));
}
sp_GoToTop('tagClass=spRight spGoToTop&iconClass=spIcon', '', __sp('Go to top'));
sp_SectionEnd('tagClass=spClear', 'pageBottomStatus');
# Start the 'stats' section
# ----------------------------------------------------------------------
sp_SectionStart('tagClass=spStatsSection', 'stats');
sp_ForumTimeZone('tagClass=spForumTimeZone', __sp('Forum Timezone: '));
sp_UserTimeZone('tagClass=spUserTimeZone', __sp('Your Timezone: '));
sp_InsertBreak();
sp_ColumnStart('tagClass=spColumnSection spLeft spOnlineStats&width=40%&height=0');
sp_OnlineStats('tagClass=spLeft', __sp('Most Users Ever Online: '), __sp('Currently Online: '), __sp('Currently Browsing this Page: '), __sp('Guest(s)'));
if (function_exists('sp_OnlinePageLink')) {
示例#3
0
    sp_UsersAlsoViewing('includeAdmins=1&includeMods=1&includeMembers=1&displayToAll=1', __sp('Is viewing'));
    sp_SectionStart('tagClass=spPageLinksBottom', 'pageLinks');
    sp_PostIndexPageLinks('tagClass=spPageLinks spPageLinksBottom spRight&prevIcon=&nextIcon=&showLinks=2&showEmpty=1', '', __sp('Jump to page %PAGE% of this topic'), __sp('Jump to page'));
    sp_SectionEnd('', 'pageLinks');
    # Start the 'editor' section
    # ----------------------------------------------------------------------
    sp_SectionStart('tagClass=spHiddenSection', 'editor');
    sp_PostEditorWindow($addPostForm, $editPostForm);
    sp_SectionEnd('', 'editor');
} else {
    sp_NoTopicMessage('tagClass=spMessage', __sp('Access denied - you do not have permission to view this page'), __sp('The requested topic does not exist'));
}
sp_SectionEnd('', 'topicView');
sp_SectionEnd('', 'body');
sp_InsertBreak();
# Footer Buttons Section
# ----------------------------------------------------------------------
sp_SectionStart('tagClass=spActionsBar', 'footerButtons');
sp_PostNewButton('tagClass=spFootButton spRight&icon=', 'Add Reply', __sp('Add a new post in this topic'), __sp('This topic is locked'));
if (function_exists('sp_SubscriptionsSubscribeButton')) {
    sp_SubscriptionsSubscribeButton('tagClass=spFootButton spRight&subscribeIcon=&unsubscribeIcon=', 'Subscribe', 'Un-Subscribe', '', '');
}
if (function_exists('sp_WatchesWatchButton')) {
    sp_WatchesWatchButton('tagClass=spFootButton spRight&watchIcon=&stopWatchIcon=', 'Watch', 'Un-Watch', '', '');
}
sp_SectionEnd('tagClass=spClear', 'footerButtons');
# Load the forum footer template - normally last thing
# ----------------------------------------------------------------------
sp_SectionStart('tagClass=spFootContainer', 'foot');
sp_load_template('spFoot.php');
sp_SectionEnd('', 'foot');