sp_ColumnEnd(); # Column 4 of the forum row # ---------------------------------------------------------------------- sp_ColumnStart('tagId=spColForum4&tagClass=spColumnSection spLeft&height=0px'); sp_TopicIndexLastPost('tagClass=holder spLeft&nicedate=1&date=0&time=0&stackuser=0&stackdate=0&beforeUser=&labelLink=1&icon=sp_goNewPost.png', __sp('')); sp_InsertBreak(); sp_TopicIndexStatusIcons('tagClass=spStatusIcon', __sp('This topic is locked'), __sp('This topic is pinned'), __sp('This topic has unread posts')); sp_InsertBreak(); sp_ColumnEnd(); # Column 3 of the forum row # ---------------------------------------------------------------------- sp_ColumnStart('tagId=spColForum3&tagClass=spColumnCount spRight&width=0&height=0px'); sp_TopicIndexViewCount('tagClass=spRowDescription spLeft&labelClass=spViewsLabel&numberClass=&before= &after= ', __sp(''), __sp('')); sp_ColumnEnd(); sp_ColumnStart('tagId=spColForum3&tagClass=spColumnCount spRight&width=0&height=0px'); sp_TopicIndexReplyCount('tagClass=spRowDescriptionBold spLeft&labelClass=spPostsLabel&numberClass=&', __sp(''), __sp('')); sp_ColumnEnd(); sp_InsertBreak(); sp_SectionEnd('', 'topic'); ?> </div><?php } } else { sp_NoTopicsInForumMessage('tagClass=spMessage', __sp('There are no topics in this forum')); } sp_SectionEnd('', 'topiclist'); sp_SectionEnd('', 'forum'); # Start the bottom 'pagelinks' section sp_SectionStart('tagClass=spPageLinksBottomSection', 'pageLinks'); sp_TopicIndexPageLinks('tagClass=spPageLinksBottom spRight&prevIcon=&nextIcon=&showEmpty=0', __sp(''), __sp('Jump to page %PAGE%'), __sp('Jump to page')); sp_InsertBreak();
sp_the_topic(); # Start the 'topic' section # ---------------------------------------------------------------------- sp_SectionStart('tagClass=spForumTopicSection', 'topic'); # Column 1 of the forum row # ---------------------------------------------------------------------- # Column 2 of the topic row # ---------------------------------------------------------------------- sp_TopicIndexName('tagClass=spTopicRowName', __sp('Browse the thread %NAME%')); sp_ColumnStart('tagClass=spColumnSection spLeft&width=97%&height=55px'); #sp_TopicIndexName('tagClass=spTopicRowName', __sp('Browse the thread %NAME%')); sp_InsertBreak(); sp_TopicIndexFirstPost('iconClass=spIcon spLeft&icon=&labelLink=1&nicedate=1&date=1&time=1&stackdate=0&stackuser=0&stackdate=0&itemBreak= ', __sp('')); sp_InsertBreak('spacer=5px'); #if (function_exists('sp_TopicDescription')) sp_TopicDescription(); sp_TopicIndexReplyCount('tagClass=spRowDescription spLeft&labelClass=spPostsLabel&numberClass=spBoldCount', __sp('Replies'), __sp('Reply:')); sp_TopicIndexViewCount('tagClass=spRowDescription spLeft&labelClass=spViewsLabel&numberClass=spBoldCount&before= &after= ', __sp('Views'), __sp('View')); sp_InsertBreak('spacer=5px'); sp_TopicIndexLastPost('iconClass=spIcon spLeft&icon=&labelLink=1&nicedate=1&date=0&time=0&stackdate=0&stackuser=0&stackdate=0&itemBreak= ', __sp('Last Post ')); sp_InsertBreak('spacer=5px'); if (function_exists('sp_TopicIndexTopicStatus')) { sp_TopicIndexTopicStatus('tagClass=spTopicIndexStatus spLeft&icon=', __sp('Search for other topics with this status')); } sp_InsertBreak('spacer=5px'); if (function_exists('sp_TopicIndexTagsList')) { sp_TopicIndexTagsList('tagClass=spTopicTagsList spLeft', __sp('Tags'), __sp('Show the tags for this topic')); } sp_ColumnEnd(); sp_InsertBreak(); sp_ColumnStart('tagClass=spStatusColumnSection spRight&width=100%&height=auto'); sp_TopicForumToolButton("tagClass=spToolsButtonMobile spLeft&icon=&hide=0", 'Tools', __sp('Open the forum toolset'));