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'));
        }
        sp_SectionEnd('', 'forumlist');
        sp_SectionEnd('', 'group');
    }
} else {
    sp_NoGroupMessage('tagClass=spMessage', __sp('The requested group does not exist or you do not have permission to view it'), __sp('No groups have been created yet'));
}
sp_SectionEnd('', 'groupView');
sp_RecentPostList('show=10', __sp('Unread and recently updated topics'));
sp_SectionEnd('', 'body');
# Load the forum footer template - normally last thing
Ejemplo n.º 2
0
                #sp_ForumIndexPostCount('tagClass=spInRowCount spLeft',__sp('Posts'), __sp('Post'));
                #sp_InsertBreak('spacer=15px');
                sp_ForumIndexLastPost('tagClass=holder spLeft&order=TLDU&truncate=40&nicedate=1&date=0&time=1&stackdate=1&itemBreak= ', __sp('Last Post'), __sp('No Topics'));
                sp_ColumnEnd();
                # Column 2 of the forum row
                # ----------------------------------------------------------------------
                sp_ColumnStart('tagClass=spActionsColumnSection spRight&width=10%&height=55px');
                sp_ForumIndexLockIcon('tagClass=spIcon spRight', __sp('This forum is locked'));
                sp_InsertBreak();
                sp_ForumIndexAddIcon('tagClass=spIcon spRight', __sp('Add new topic in this forum'));
                sp_InsertBreak();
                #sp_ForumIndexPostsIcon('tagClass=spIcon spRight&popup=0&openIcon=sp_GroupOpenDark.png&closeIcon=sp_GroupCloseDark.png', __sp('This forum has unread posts in %COUNT% topic(s)'));
                sp_ColumnEnd();
                sp_SectionEnd('', 'forum');
                sp_SectionStart('tagClass=spSubForumHolder', 'subForumHolder');
                sp_ForumIndexSubForums('stack=0&unreadIcon=sp_SubForumUnreadIcon.png&stack=1&topicCount=0', __sp(''), __sp('Browse topics in %NAME%'));
                sp_SectionEnd('', 'subForumHolder');
                sp_InsertBreak('spacer=15px');
                sp_ForumIndexInlinePosts();
            }
        } else {
            sp_NoForumsInGroupMessage('tagClass=spMessage', __sp('There are no forums in this group'));
        }
        sp_SectionEnd('', 'forumlist');
        sp_SectionEnd('', 'group');
    }
} else {
    sp_NoGroupMessage('tagClass=spMessage', __sp('The requested group does not exist or you do not have permission to view it'), __sp('No groups have been created yet'));
}
sp_SectionEnd('', 'groupView');
sp_SectionEnd('', 'body');