Beispiel #1
0
            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_SectionEnd('', 'pageLinks');
    # Start the 'editor' section
    # ----------------------------------------------------------------------
    sp_SectionStart('tagClass=spHiddenSection', 'editor');
    sp_TopicEditorWindow($addTopicForm);
    sp_SectionEnd('', 'editor');
} else {
    sp_NoForumMessage('tagClass=spMessage', __sp('Access denied - you do not have permission to view this page'), __sp('The requested forum does not exist'));
}
sp_SectionEnd('', 'forumView');
sp_SectionEnd('', 'body');
# Footer buttons section
# ----------------------------------------------------------------------
sp_SectionStart('tagClass=spActionsBar', 'footerButtons');
                sp_TopicIndexRating('tagClass=spTopicRating spCenter');
            }
            sp_ColumnEnd();
            sp_InsertBreak();
            sp_SectionEnd('', 'topic');
        }
    } else {
        sp_NoTopicsInForumMessage('tagClass=spMessage', __sp('There are no topics in this forum'));
    }
    sp_SectionEnd('', 'topiclist');
    sp_SectionEnd('', 'forum');
    # Start the 'pagelinks' section
    # ----------------------------------------------------------------------
    sp_SectionStart('tagClass=spPlainSection', 'pageLinks');
    sp_TopicNewButton('tagId=spTopicNewButtonBottom&tagClass=spButton spRight', __sp('Add Topic'), __sp('Start a new topic'), __sp('This forum is locked'), __sp('No permission to start topics'));
    sp_TopicIndexPageLinks('', __sp('Page: '), __sp('Jump to page %PAGE% of topics'), __sp('Jump to page'));
    sp_InsertBreak();
    sp_SectionEnd('', 'pageLinks');
    # Start the 'editor' section
    # ----------------------------------------------------------------------
    sp_SectionStart('tagClass=spHiddenSection', 'editor');
    sp_TopicEditorWindow($addTopicForm);
    sp_SectionEnd('', 'editor');
} else {
    sp_NoForumMessage('tagClass=spMessage', __sp('Access denied - you do not have permission to view this page'), __sp('The requested forum does not exist'));
}
sp_SectionEnd('', 'forumView');
sp_SectionEnd('', 'body');
# Load the forum footer template - normally last thing
# ----------------------------------------------------------------------
sp_SectionStart('tagClass=spFootContainer', 'foot');
Beispiel #3
0
            sp_TopicIndexStatusIcons('tagClass=spStatusIcon spRight', __sp('This topic is locked'), __sp('This topic is pinned'), __sp('This topic has unread posts'));
            #if (function_exists('sp_TopicIndexRating')) sp_TopicIndexRating('tagClass=spStatusIcon spRight&thumbClass=');
            sp_ColumnEnd();
            sp_InsertBreak();
            sp_SectionEnd('', 'topic');
            sp_InsertBreak('spacer=15px');
        }
    } 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=spPageLinksBottom', 'pageLinks');
    sp_TopicIndexPageLinks('tagClass=spPageLinks spPageLinksBottom spRight&prevIcon=&nextIcon=&showLinks=1&showEmpty=1', '', __sp('Jump to page %PAGE% of topics'), __sp('Jump to page'));
    sp_InsertBreak();
    sp_SectionEnd('', 'pageLinks');
    # Start the 'editor' section
    # ----------------------------------------------------------------------
    sp_SectionStart('tagClass=spHiddenSection', 'editor');
    sp_TopicEditorWindow($addTopicForm);
    sp_SectionEnd('', 'editor');
} else {
    sp_NoForumMessage('tagClass=spMessage', __sp('Access denied - you do not have permission to view this page'), __sp('The requested forum does not exist'));
}
sp_SectionEnd('', 'forumView');
sp_SectionEnd('', 'body');
# Footer buttons section
# ----------------------------------------------------------------------
sp_SectionStart('tagClass=spActionsBar', 'footerButtons');