# Column 1 of the forum row # ---------------------------------------------------------------------- sp_ColumnStart('tagClass=spColumnSection spLeft&width=7%&height=55px'); sp_ForumIndexIcon('tagClass=spRowIcon spLeft'); sp_ColumnEnd(); # Column 2 of the forum row # ---------------------------------------------------------------------- sp_ColumnStart('tagClass=spColumnSection spLeft&width=47%&height=55px'); sp_ForumIndexName('tagClass=spRowName', __sp('Browse topics in %NAME%')); sp_ForumIndexDescription('tagClass=spRowDescription'); sp_ForumIndexPageLinks('tagClass=spInRowPageLinks spLeft', __sp('Jump to page %PAGE% of topics')); sp_ColumnEnd(); # Column 4 of the forum row # ---------------------------------------------------------------------- sp_ColumnStart('tagClass=spColumnSection spRight&width=32%&height=55px'); sp_ForumIndexLastPost('tagClass=spInRowPostLink&nicedate=1&date=0&time=0&stackdate=0', __sp('Last Post'), __sp('No Topics')); sp_ColumnEnd(); # Column 3 of the forum row # ---------------------------------------------------------------------- sp_ColumnStart('tagClass=spColumnSection spRight&width=14%&height=55px'); sp_ForumIndexTopicCount('tagClass=spInRowCount', __sp('Topics'), __sp('Topic')); sp_ForumIndexPostCount('tagClass=spInRowCount', __sp('Posts'), __sp('Post')); sp_ForumIndexStatusIcons('tagClass=spStatusIcon spCenter', __sp('This forum is locked'), __sp('This forum has unread posts in %COUNT% topic(s)'), __sp('Add new topic in this forum'), __sp('No permission to start topics')); sp_ColumnEnd(); sp_InsertBreak(); sp_ForumIndexSubForums('unreadIcon=sp_SubForumUnreadIcon.png', __sp('Sub-Forums'), __sp('Browse topics in %NAME%')); sp_SectionEnd('', 'forum'); } } else { sp_NoForumsInGroupMessage('tagClass=spMessage', __sp('There are no forums in this group')); }
# Column 2 of the forum row # ---------------------------------------------------------------------- sp_ColumnStart('tagId=spColGroup2&tagClass=spColumnSection spLeft&width=0&height=0px'); sp_ForumIndexName('tagClass=spRowName', __sp('Browse topics in %NAME%')); sp_InsertBreak('direction=left'); sp_ForumIndexDescription('tagClass=spRowDescription'); sp_ColumnEnd(); # Column 3 of the forum row # ---------------------------------------------------------------------- sp_ColumnStart('tagId=spColGroup3&tagClass=spColumnSection spLeft&width=0&height=0px'); sp_ForumIndexTopicCount('tagClass=spInRowCount spCenter', __sp(''), __sp('')); sp_ColumnEnd(); # Column 4 of the forum row # ---------------------------------------------------------------------- sp_ColumnStart('tagId=spColGroup4&tagClass=spColumnSection spLeft&width=0&height=0px'); sp_ForumIndexLastPost('tagClass=holder spLeft&order=TLDU&nicedate=1&date=0&time=1&stackdate=1&itemBreak= ', __sp(''), __sp('No Topics')); sp_ColumnEnd(); # Column 5 of the forum row # ---------------------------------------------------------------------- sp_ColumnStart('tagId=spColGroup5&tagClass=spColumnSection spRight&width=0&height=0px'); sp_ForumIndexLockIcon('tagClass=spIcon spRight', __sp('This forum is locked')); sp_ForumIndexAddIcon('tagClass=spIcon spRight', __sp('Add new topic in this forum')); sp_ForumIndexDeniedIcon('tagClass=spIcon spRight', __sp('No permission to start topics')); sp_ColumnEnd(); sp_SectionEnd('', 'forum'); sp_ForumIndexSubForums('unreadIcon=sp_SubForumUnreadIcon.png&topicCount=0', __sp('Sub-Forums:'), __sp('Browse topics in %NAME%')); } } else { sp_NoForumsInGroupMessage('tagClass=spMessage', __sp('There are no forums in this group')); } sp_SectionEnd('', 'forumList');