Пример #1
0
            }
            sp_InsertBreak();
            if (function_exists('sp_TopicIndexTopicStatus')) {
                sp_TopicIndexTopicStatus('tagClass=spTopicIndexStatus&icon=', __sp('Search for other topics with this status'), __sp('Status:'));
            }
            sp_TopicIndexFirstPost('tagClass=holder spLeft&icon=&nicedate=1&date=1&time=1&stackdate=0&stackuser=0&stackdate=0&itemBreak=&beforeUser=&beforeDate= ', __sp(''));
            ?>
<div class="spTransitionHoverContent"><?php 
            sp_TopicForumToolButton("hide=0&icon=tagClass=spInRowLabel", 'Tools', __sp('Open the forum toolset'));
            ?>
</div><?php 
            sp_ColumnEnd();
            # Column 4 of the forum row
            # ----------------------------------------------------------------------
            sp_ColumnStart('tagId=spColForum4&tagClass=spColumnSection spLeft&height=0px');
            sp_TopicIndexLastPost('tagClass=holder spLeft&nicedate=1&date=0&time=0&stackuser=0&stackdate=0&beforeUser=&labelLink=1&icon=sp_goNewPost.png', __sp(''));
            sp_InsertBreak();
            sp_TopicIndexStatusIcons('tagClass=spStatusIcon', __sp('This topic is locked'), __sp('This topic is pinned'), __sp('This topic has unread posts'));
            sp_InsertBreak();
            sp_ColumnEnd();
            # Column 3 of the forum row
            # ----------------------------------------------------------------------
            sp_ColumnStart('tagId=spColForum3&tagClass=spColumnCount spRight&width=0&height=0px');
            sp_TopicIndexViewCount('tagClass=spRowDescription spLeft&labelClass=spViewsLabel&numberClass=&before= &after= ', __sp(''), __sp(''));
            sp_ColumnEnd();
            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');
            ?>
 sp_TopicIndexName('tagClass=spRowName', __sp('Browse the thread %NAME%'));
 if (function_exists('sp_TopicDescription')) {
     sp_TopicDescription();
 }
 sp_TopicIndexPostPageLinks('tagClass=spInRowPageLinks spLeft', __sp('Jump to page %PAGE% of posts'));
 if (function_exists('sp_TopicIndexTagsList')) {
     sp_TopicIndexTagsList('tagClass=spTopicTagsList spButton spLeft', __sp('Tags'), __sp('Show the tags for this topic'));
 }
 if (function_exists('sp_TopicIndexTopicStatus')) {
     sp_TopicIndexTopicStatus('tagClass=spTopicIndexStatus spButton spLeft', __sp('Search for other topics with this status'));
 }
 sp_ColumnEnd();
 # Column 5 of the forum row
 # ----------------------------------------------------------------------
 sp_ColumnStart('tagClass=spColumnSection spRight&width=16%&height=50px');
 sp_TopicIndexLastPost('iconClass=spIcon spRight&nicedate=1&date=0&time=0&stackdate=0', __sp('Last Post'));
 sp_ColumnEnd();
 # Column 4 of the forum row
 # ----------------------------------------------------------------------
 sp_ColumnStart('tagClass=spColumnSection spRight&width=16%&height=50px');
 sp_TopicIndexFirstPost('iconClass=spIcon spRight&nicedate=1&date=0&time=0&stackdate=0', __sp('First Post'));
 sp_ColumnEnd();
 # Column 3 of the forum row
 # ----------------------------------------------------------------------
 sp_ColumnStart('tagClass=spColumnSection spRight&width=14%&height=50px');
 sp_TopicIndexPostCount('tagClass=spInRowCount', __sp('Posts'), __sp('Post'));
 sp_TopicIndexViewCount('tagClass=spInRowCount', __sp('Views'), __sp('View'));
 sp_TopicIndexStatusIcons('tagClass=spStatusIcon spCenter', __sp('This topic is locked'), __sp('This topic is pinned'), __sp('This topic has unread posts'), __sp('No permission to create posts'));
 if (function_exists('sp_TopicIndexRating')) {
     sp_TopicIndexRating('tagClass=spTopicRating spCenter');
 }
Пример #3
0
 sp_SectionStart('tagClass=spForumTopicSection', 'topic');
 # Column 1 of the forum row
 # ----------------------------------------------------------------------
 # Column 2 of the topic row
 # ----------------------------------------------------------------------
 sp_TopicIndexName('tagClass=spTopicRowName', __sp('Browse the thread %NAME%'));
 sp_ColumnStart('tagClass=spColumnSection spLeft&width=97%&height=55px');
 #sp_TopicIndexName('tagClass=spTopicRowName', __sp('Browse the thread %NAME%'));
 sp_InsertBreak();
 sp_TopicIndexFirstPost('iconClass=spIcon spLeft&icon=&labelLink=1&nicedate=1&date=1&time=1&stackdate=0&stackuser=0&stackdate=0&itemBreak= ', __sp(''));
 sp_InsertBreak('spacer=5px');
 #if (function_exists('sp_TopicDescription')) sp_TopicDescription();
 sp_TopicIndexReplyCount('tagClass=spRowDescription spLeft&labelClass=spPostsLabel&numberClass=spBoldCount', __sp('Replies'), __sp('Reply:'));
 sp_TopicIndexViewCount('tagClass=spRowDescription spLeft&labelClass=spViewsLabel&numberClass=spBoldCount&before= &after= ', __sp('Views'), __sp('View'));
 sp_InsertBreak('spacer=5px');
 sp_TopicIndexLastPost('iconClass=spIcon spLeft&icon=&labelLink=1&nicedate=1&date=0&time=0&stackdate=0&stackuser=0&stackdate=0&itemBreak= ', __sp('Last Post '));
 sp_InsertBreak('spacer=5px');
 if (function_exists('sp_TopicIndexTopicStatus')) {
     sp_TopicIndexTopicStatus('tagClass=spTopicIndexStatus spLeft&icon=', __sp('Search for other topics with this status'));
 }
 sp_InsertBreak('spacer=5px');
 if (function_exists('sp_TopicIndexTagsList')) {
     sp_TopicIndexTagsList('tagClass=spTopicTagsList spLeft', __sp('Tags'), __sp('Show the tags for this topic'));
 }
 sp_ColumnEnd();
 sp_InsertBreak();
 sp_ColumnStart('tagClass=spStatusColumnSection spRight&width=100%&height=auto');
 sp_TopicForumToolButton("tagClass=spToolsButtonMobile spLeft&icon=&hide=0", 'Tools', __sp('Open the forum toolset'));
 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();