sp_ListViewHead(); # Start the List Loop # ---------------------------------------------------------------------- if (sp_has_list()) { while (sp_loop_list()) { sp_the_list(); # Start the 'list' section # ---------------------------------------------------------------------- sp_SectionStart('tagClass=spTopicListSection spTextLeft', 'list'); sp_ListForumName('', __sp('Browse topics in %NAME%')); sp_InsertBreak(); sp_ListViewBodyStart(); sp_ColumnStart('tagClass=spColumnSection spRight&width=15%&height=20px'); sp_ListNewPostButton('tagClass=spButton spRight', __sp('New: %COUNT%'), __sp('View the first new post in this topic')); sp_ColumnEnd(); sp_ColumnStart('tagClass=spColumnSection spLeft&width=7%&height=20px'); sp_ListTopicIcon(); sp_ColumnEnd(); sp_ColumnStart('tagClass=spColumnSection spLeft&width=74%&height=20px'); sp_ListTopicName('', __sp('Browse the thread %NAME%')); sp_ListLastPost('iconClass=spIcon spLeft&height=0px', __sp('Last Post')); sp_ColumnEnd(); sp_ListViewBodyEnd(); sp_InsertBreak(); sp_SectionEnd('', 'list'); } } else { sp_NoTopicsInListMessage('tagClass=spMessage', __sp('There were no topics found')); } sp_ListViewFoot(); sp_SectionEnd('', 'listView');
# # -------------------------------------------------------------------------------------- # Start the 'listView' section # ---------------------------------------------------------------------- sp_SectionStart('tagClass=spListSection spListViewSection', 'listView'); sp_ListViewHead(); # Start the List Loop # ---------------------------------------------------------------------- if (sp_has_list()) { while (sp_loop_list()) { sp_the_list(); # Start the 'list' section # ---------------------------------------------------------------------- sp_ListViewBodyStart(); sp_SectionStart('tagClass=spTopicListSection spTextLeft', 'list'); sp_ListForumName('', __sp('Browse topics in %NAME%'), __sp('New and Unread Posts')); sp_InsertBreak(); sp_ColumnStart('tagClass=spColumnSection spLeft&width=auto&height=auto'); sp_ListTopicName('tagClass=spLeft', __sp('Browse the thread %NAME%')); sp_InsertBreak(''); sp_ListLastPost('tagClass=spLeft&height=0px&break=0&icon=', __sp('')); sp_ColumnEnd(); sp_ListViewBodyEnd(); sp_InsertBreak(); sp_SectionEnd('', 'list'); } } else { sp_NoTopicsInListMessage('tagClass=spMessage', __sp('There were no topics found')); } sp_ListViewFoot(); sp_SectionEnd('', 'listView');
sp_SectionEnd('', 'catlabels'); # Start the List Loop # ---------------------------------------------------------------------- if (sp_has_list()) { while (sp_loop_list()) { sp_the_list(); # Start the 'list' section # ---------------------------------------------------------------------- sp_SectionStart('tagClass=spTopicListSection spTextLeft', 'list'); sp_ListViewBodyStart(); sp_ColumnStart('tagClass=spColumnSection spLeft&width=35%&height=0'); sp_ListTopicName('', __sp('Go to %NAME%')); sp_ColumnEnd(); sp_ColumnStart('tagClass=spColumnSection spLeft&width=35%&height=0'); sp_ListForumName('', __sp('Browse topics in %NAME%'), __sp('New and Unread Posts')); sp_ColumnEnd(); sp_ColumnStart('tagClass=spColumnSection spLeft&width=15%&height=0'); sp_ListLastPost('iconClass=spIcon spLeft&break=1&icon=sp_goNewPost.png&labelLink=1', __sp('')); sp_ColumnEnd(); sp_ColumnStart('tagClass=spColumnSection spLeft&width=7%&height=0'); sp_ListNewPostButton('tagClass=spButton&icon=""&spLeft', __sp('%COUNT% New'), __sp('View the first new post in this topic')); sp_ColumnEnd(); sp_ListViewBodyEnd(); sp_InsertBreak(); sp_SectionEnd('', 'list'); } } else { sp_NoTopicsInListMessage('tagClass=spMessage', __sp('There were no topics found')); } sp_ListViewFoot(); sp_SectionEnd('', 'listView');