Example #1
0
            # ----------------------------------------------------------------------
            sp_ColumnStart('tagId=spColForum2&tagClass=spColumnSection spLeft&width=0&height=0px');
            sp_TopicIndexName('tagClass=spRowName  spLeft', __sp('Browse the thread %NAME%'));
            sp_InsertBreak();
            if (function_exists('sp_TopicDescription')) {
                sp_TopicDescription();
            }
            sp_InsertBreak();
            if (function_exists('sp_TopicIndexTagsList')) {
                sp_TopicIndexTagsList('tagClass=spTopicTagsList spLeft&icon=&delimiter=/&delimiterClass=spTagsDelimiterForum&collapse=0&iconClass=spIcon', __sp('Tags: '), __sp('Show the tags for this topic'));
            }
            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
         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');
         }
         sp_ColumnEnd();
         sp_InsertBreak();
         sp_SectionEnd('', 'topic');
     }
 } else {
Example #3
0
 # ----------------------------------------------------------------------
 if (sp_has_topics()) {
     while (sp_loop_topics()) {
         sp_the_topic();
         # Start the 'topic' section
         # ----------------------------------------------------------------------
         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();