# 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 'stats' section # ---------------------------------------------------------------------- sp_SectionStart('tagId=spStatsSectionId&tagClass=spStatsSection', 'stats'); #sp_AllRSSButton('tagClass=spRight spAllRSSButton&icon=', 'All RSS', __sp('Subscribe to the all forums RSS feed')); sp_SectionStart('tagClass=spTimeZoneBar', 'timeZoneBar'); sp_ForumTimeZone('tagClass=spForumTimeZone spLeft', __sp('Forum Timezone: ')); sp_UserTimeZone('tagClass=spUserTimeZone spLeft', __sp('Your Timezone: ')); sp_AllRSSButton('tagClass=spRight spAllRSSButton&icon=', 'All RSS', __sp('Subscribe to the all forums RSS feed')); sp_OpenCloseControl("targetId=spForumStatsHolder&linkClass=spRight&default=closed&setCookie=0&asLabel=1", 'Show Stats', 'Hide Stats'); sp_SectionEnd('tagClass=spClear', 'timeZoneBar'); sp_SectionStart('tagId=spForumStatsHolder', 'statsHolder'); sp_ColumnStart('tagClass=spColumnSection spRight spAdminsMods&width=24%'); sp_AdminsList('tagClass=spCenter spAdministrators&postCount=0&stack=1', __sp('Administrators: ')); sp_InsertBreak(); sp_ModsList('tagClass=spModerators&postCount=0&stack=1', __sp('Moderators: ')); sp_ColumnEnd(); sp_ColumnStart('tagClass=spColumnSection spRight spTopPosterStats&width=24%'); sp_TopPostersStats('tagClass=spRight', __sp('Top Posters: ')); sp_ColumnEnd(); sp_ColumnStart('tagClass=spColumnSection spRight spMembershipStats&width=24%&height=0'); sp_NewMembers('tagClass=spNewMembers&list=1', __sp('Newest Members: ')); sp_ColumnEnd(); sp_ColumnStart('tagClass=spColumnSection spRight spForumStats&width=24%&height=0'); sp_ForumStats('tagClass=spRight', __sp('Forum Stats: '), __sp('Groups: '), __sp('Forums: '), __sp('Topics: '), __sp('Posts: '));
sp_SectionEnd('', 'header'); sp_InsertBreak('spacer=5px'); sp_SectionStart('tagClass=spTopicPostContainer', 'postlist'); # Start the Post Loop # ---------------------------------------------------------------------- if (sp_has_posts()) { while (sp_loop_posts()) { sp_the_post(); # Start the 'post' section # ---------------------------------------------------------------------- sp_SectionStart('tagClass=spTopicPostSection', 'post'); sp_PostIndexAnchor(); sp_SectionStart('', 'post-info'); sp_PostIndexNumber('tagClass=spPostNumber spLeft'); sp_PostIndexUserDate('tagClass=spPostUserDate spLeft&stackdate=0'); sp_OpenCloseControl("targetId=spPostAction&context=postLoop&linkClass=spFooterButton spRight&default=closed&setCookie=0&asLabel=1", 'Post Actions', 'Hide'); # Start the 'post' section # ---------------------------------------------------------------------- sp_InsertBreak(''); sp_SectionStart("tagId=spPostAction&context=postLoop&tagClass=spPostActionSection", 'action'); sp_SectionStart("tagId=&tagClass=spFlexHolder&context=postLoop", 'holder'); sp_PostForumToolButton("tagClass=spPostActionLabel spLeft&hide=0&icon=", 'Tools', __sp('Open the forum toolset')); sp_PostIndexEdit('tagClass=spPostActionLabel spLeft&icon=', __sp('Edit'), __sp('Edit this post')); sp_PostIndexDelete('tagClass=spPostActionLabel spLeft&icon=', __sp('Delete'), __sp('Delete this post')); #if (function_exists('sp_PostIndexSendPm')) sp_PostIndexSendPm('tagClass=spButton spRight', __sp(''), __sp('Send PM to this user')); sp_PostIndexQuote('tagClass=spPostActionLabel spRight&icon=', __sp('Quote'), __sp('Quote this post')); if (function_exists('sp_thanks_thank_the_post')) { sp_thanks_thank_the_post('tagClass=spPostActionLabel spRight&iconThanks=&iconThanked=', __sp('Thank'), __sp('Thanked'), __sp('Add thanks to this post'), __sp('You have already thanked this post')); } sp_PostIndexPrint('tagClass=spPostActionLabel spRight&icon=', 'Print', __sp('Print this post')); if (function_exists('sp_PostIndexReportPost')) {