# ---------------------------------------------------------------------- sp_ColumnStart('tagId=spColGroup4&tagClass=spColumnSection spLeft&width=0&height=0px'); sp_SubForumIndexLastPost('tagClass=holder spLeft&order=TLDU&nicedate=1&date=0&time=1&stackdate=1&itemBreak= ', __sp(''), __sp('No Topics')); #sp_SubForumIndexLockIcon('tagClass=spIcon spRight', __sp('This forum is locked')); #sp_SubForumIndexAddIcon('tagClass=spIcon spRight', __sp('Add new topic in this forum')); #sp_SubForumIndexPostsIcon('tagClass=spIcon spRight&popup=0', __sp('This forum has unread posts in %COUNT% topic(s)')); sp_ColumnEnd(); # Column 5 of the forum row # ---------------------------------------------------------------------- sp_ColumnStart('tagId=spColGroup5&tagClass=spColumnSection spRight&width=0&height=0px'); sp_SubForumIndexLockIcon('tagClass=spIcon spRight', __sp('This forum is locked')); sp_ColumnEnd(); sp_SubForumIndexInlinePosts(); sp_InsertBreak(); sp_SectionEnd('', 'subForumForums'); sp_ForumHeaderSubForums('unreadIcon=sp_SubForumUnreadIcon.png', __sp('Sub-Forums'), __sp('Browse topics in %NAME%')); } } sp_SectionEnd('', 'subForumList'); sp_SectionEnd('', 'subForum'); } # End of subforum section # Start the 'forumHeader' section # ---------------------------------------------------------------------- sp_SectionStart('tagClass=spForumViewSection', 'forum'); sp_SectionStart('tagClass=spForumViewHeader', 'header'); sp_SectionStart('tagClass=spFlexHeadContainer', 'flexheader'); sp_ColumnStart('tagId=spIconCol&tagClass=spIconColumnSectionTitle spLeft&width=0&height=0px'); sp_ForumHeaderIcon('tagClass=spRowIcon spLeft'); sp_ColumnEnd(); sp_ColumnStart('tagId=spHeadColumn2&tagClass=spTitleColumnTitle spLeft&width=80%&height=0');
} # 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 # ---------------------------------------------------------------------- sp_SectionStart('tagClass=spForumTopicSection', 'topic'); sp_TopicForumToolButton('', '', __sp('Open the forum toolset'));
sp_SectionEnd('', 'forumHeader'); sp_SectionStart('tagClass=spGroupForumSection', 'subForumForums'); #sp_SubForumIndexPostCount('tagClass=spInRowCount spLeft', ' - '.__sp('Posts')); #sp_InsertBreak(); #sp_SubForumIndexLastPost('tagClass=spInRowPostLink spLeft&nicedate=1&date=0&time=0&stackdate=0&itemBreak= - &order=TLDU', __sp('Last Post'), __sp('No Topics')); sp_ColumnStart('tagClass=spColumnSection spLeft&width=89%&height=auto'); sp_SubForumIndexLastPost('tagClass=holder spLeft&order=TLDU&truncate=30&nicedate=1&date=0&time=1&stackdate=1&itemBreak= ', __sp('Last Post'), __sp('No Topics')); sp_ColumnEnd(); sp_ColumnStart('tagClass=spActionsColumnSection spRight&width=10%&height=55px'); sp_SubForumIndexLockIcon('tagClass=spIcon spRight', __sp('This forum is locked')); #sp_SubForumIndexAddIcon('tagClass=spIcon spRight', __sp('Add new topic in this forum')); #sp_SubForumIndexPostsIcon('tagClass=spIcon spRight&popup=0', __sp('This forum has unread posts in %COUNT% topic(s)')); sp_ColumnEnd(); sp_InsertBreak(); sp_SectionEnd('', 'subForumForums'); sp_ForumHeaderSubForums('stack=0&unreadIcon=sp_TopicStatusPost.png', __sp(''), __sp('Browse topics in %NAME%')); sp_SubForumIndexInlinePosts(); } } sp_SectionEnd('', 'subforumlist'); sp_SectionEnd('', 'subForum'); } # End of subforum section sp_InsertBreak('spacer=15px'); # Start the 'forumHeader' section # ---------------------------------------------------------------------- sp_SectionStart('tagClass=spForumViewSection', 'forum'); sp_SectionStart('tagClass=spForumViewHeader', 'header'); sp_SectionStart('tagClass=spFlexHeadContainer', 'flexheader'); sp_ColumnStart('tagId=spIconCol&tagClass=spIconColumnSectionTitle spLeft&width=0&height=0px'); sp_ForumHeaderIcon('tagClass=spHeaderIcon spLeft');