コード例 #1
0
# Start the 'groupView' section
# ----------------------------------------------------------------------
sp_SectionStart('tagClass=spListSection', 'groupView');
if (function_exists('sp_ShareThisTag')) {
    sp_ShareThisTag('tagClass=ShareThisTag spRight');
}
sp_InsertBreak('spacer=5px');
# Start the Group Loop
# ----------------------------------------------------------------------
if (sp_has_groups()) {
    while (sp_loop_groups()) {
        sp_the_group();
        # Start the 'groupHeader' section
        # ----------------------------------------------------------------------
        sp_SectionStart('tagClass=spGroupViewSection', 'group');
        sp_GroupHeaderRSSButton('tagClass=spButton spRight', __sp('Group RSS'), __sp('Subscribe to the RSS feed for this forum group'));
        sp_GroupHeaderIcon('tagClass=spHeaderIcon spLeft');
        sp_GroupHeaderName('tagClass=spHeaderName');
        sp_InsertBreak('direction=right');
        sp_GroupOpenClose('tagClass=spIcon spRight&default=open', 'Open forum listing', 'Close forum listing');
        sp_GroupHeaderDescription('tagClass=spHeaderDescription');
        sp_GroupHeaderMessage('tagClass=spHeaderMessage');
        sp_InsertBreak();
        sp_SectionStart('tagClass=spGroupForumContainer', 'forumlist');
        # Start the Forum Loop
        # ----------------------------------------------------------------------
        if (sp_has_forums()) {
            while (sp_loop_forums()) {
                sp_the_forum();
                # Start the 'forum' section
                # ----------------------------------------------------------------------
コード例 #2
0
 # Start the 'groupHeader' section
 # ----------------------------------------------------------------------
 sp_SectionStart('tagClass=spGroupViewSection', 'group');
 sp_SectionStart('tagClass=spGroupViewHeader', 'header');
 sp_SectionStart('tagClass=spFlexHeadContainer', 'flexheader');
 sp_ColumnStart('tagId=spIconCol&tagClass=spIconColumnSectionTitle  spLeft&width=0&height=0px');
 sp_GroupHeaderIcon('tagClass=spRowIcon spLeft');
 sp_ColumnEnd();
 sp_ColumnStart('tagId=spHeadColumn2&tagClass=spTitleColumnTitle spLeft&width=80%&height=0');
 #sp_GroupOpenClose('tagClass=spIcon spRight&default=open&openIcon=&closeIcon=', 'Open forum listing', 'Close forum listing');
 sp_GroupHeaderName('tagClass=spHeaderName');
 sp_GroupHeaderDescription('tagClass=spHeaderDescription');
 sp_InsertBreak();
 sp_ColumnEnd();
 sp_ColumnStart('tagClass=spHeadColumn3 spRight&width=auto&height=0');
 sp_GroupHeaderRSSButton('tagClass=spLink spRight&iconClass=spIcon&icon=', 'RSS', __sp('Subscribe to the RSS feed for this forum group'));
 sp_ColumnEnd();
 #sp_InsertBreak();
 sp_SectionEnd('', 'flexheader');
 sp_GroupHeaderMessage('tagClass=spHeaderMessage');
 # Column Titles
 # ----------------------------------------------------------------------
 sp_SectionStart('tagClass=spCategoryLabels', 'catlabels');
 sp_ColumnStart('tagId=spIconCol&tagClass=spColumnSection spLeft&width=0&height=0px');
 sp_GroupHeaderIcon('tagClass=spRowIconHidden spLeft');
 sp_ColumnEnd();
 sp_ColumnStart('tagId=spColGroup2&tagClass=spTitleColumn spLeft&width=0&height=0px');
 sp_UniversalTitle('tagClass=spUniversalLabel spLeft&labelClass=spColumnTitle', 'Forum');
 sp_ColumnEnd();
 sp_ColumnStart('tagId=spColGroup3&tagClass=spTitleColumn  spLeft&width=0&height=0px');
 sp_UniversalTitle('tagClass=spUniversalLabel&labelClass=spColumnTitleCentered spLeft', 'Topics');