}
     sp_SectionEnd('', 'subforumlist');
     sp_SectionEnd('', 'forum');
 }
 # End of subforum section
 # Start the 'pagelinks' section
 # ----------------------------------------------------------------------
 sp_SectionStart('tagClass=spPlainSection', 'pageLinks');
 sp_TopicNewButton('tagId=spTopicNewButtonTop&tagClass=spButton spRight', __sp('Add Topic'), __sp('Start a new topic'), __sp('This forum is locked'), __sp('No permission to start topics'));
 sp_TopicIndexPageLinks('', __sp('Page: '), __sp('Jump to page %PAGE% of topics'), __sp('Jump to page'));
 sp_SectionEnd('tagClass=spClear', 'pageLinks');
 # Start the 'forumHeader' section
 # ----------------------------------------------------------------------
 sp_SectionStart('tagClass=spForumViewSection', 'forum');
 sp_ForumHeaderRSSButton('tagClass=spButton spRight', __sp('Forum RSS'), __sp('Subscribe to the RSS feed for this forum'));
 sp_ForumHeaderIcon('tagClass=spHeaderIcon spLeft');
 sp_ForumHeaderName('tagClass=spHeaderName');
 sp_ForumHeaderDescription('tagClass=spHeaderDescription');
 sp_ForumHeaderSubForums('', __sp('Sub-Forums'), __sp('Browse topics in %NAME%'));
 if (function_exists('sp_ShareThisForumTag')) {
     sp_ShareThisForumTag('tagClass=spRight ShareThisForum');
 }
 sp_InsertBreak();
 sp_ForumHeaderMessage('tagClass=spHeaderMessage');
 sp_SectionStart('tagClass=spForumTopicContainer', 'topiclist');
 # Start the Topic Loop
 # ----------------------------------------------------------------------
 if (sp_has_topics()) {
     while (sp_loop_topics()) {
         sp_the_topic();
         # Start the 'topic' section
Example #2
0
 sp_ForumHeaderDescription('tagClass=spHeaderDescription');
 sp_InsertBreak();
 sp_ForumHeaderMessage('tagClass=spHeaderMessage');
 sp_ColumnEnd();
 sp_ColumnStart('tagClass=spHeadColumn3 spRight&width=auto&height=0');
 sp_ForumHeaderRSSButton('tagClass=spLink spRight&iconClass=spIcon&icon= spRight', 'RSS', __sp('Subscribe to the RSS feed for this forum'));
 sp_InsertBreak();
 sp_TopicNewButton('tagClass=spHeaderAddButton spRight iconStatusClass=spLockPosition&iconLock=sp_ForumStatusLockWhite.png&icon=', __sp('New Topic'), __sp('Start a new topic'), __sp('Locked'));
 sp_ColumnEnd();
 sp_InsertBreak('');
 sp_SectionEnd('', 'flexheader');
 # Column Titles
 # ----------------------------------------------------------------------
 sp_SectionStart('tagClass=spCategoryLabels', 'catlabels');
 sp_ColumnStart('tagId=spColForum1&tagClass=spTitleColumnHidden spLeft&width=0&height=0px');
 sp_ForumHeaderIcon('tagClass=spRowIconHidden spLeft');
 sp_ColumnEnd();
 sp_ColumnStart('tagId=spColForum2&tagClass=spTitleColumn spLeft&width=0&height=0px');
 sp_UniversalTitle('tagClass=spUniversalLabel spLeft&labelClass=spColumnTitle', 'Topics');
 sp_ColumnEnd();
 sp_ColumnStart('tagId=spColForum4&tagClass=spTitleColumn spLeft&width=0&height=0px');
 sp_UniversalTitle('tagClass=spUniversalLabel spLeft&labelClass=spColumnTitle', 'Last Post');
 sp_ColumnEnd();
 sp_ColumnStart('tagId=spColForum3&tagClass=spColumnCount spLeft&width=0&height=0px');
 sp_UniversalTitle('tagClass=spUniversalLabel spLeft&labelClass=spColumnTitle', 'Views');
 sp_ColumnEnd();
 sp_ColumnStart('tagId=spColForum3&tagClass=spColumnCount spLeft&width=0&height=0px');
 sp_UniversalTitle('tagClass=spUniversalLabel spLeft&labelClass=spColumnTitle', 'Replies');
 sp_ColumnEnd();
 sp_SectionEnd('', 'catlabels');
 sp_SectionEnd('', 'header');