Ejemplo n.º 1
0
            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
            # ----------------------------------------------------------------------
            sp_ColumnStart('tagId=spColForum3&tagClass=spColumnCount spRight&width=0&height=0px');
            sp_TopicIndexViewCount('tagClass=spRowDescription spLeft&labelClass=spViewsLabel&numberClass=&before= &after= ', __sp(''), __sp(''));
 sp_ForumHeaderSubForums('', __sp('Sub-Forums'), __sp('Browse topics in %NAME%'));
 if (function_exists('sp_ShareThisForumTag')) {
     sp_ShareThisForumTag('tagClass=spRight ShareThisForum');
 }
 sp_InsertBreak();
 sp_ForumHeaderMessage('tagClass=spHeaderMessage');
 sp_SectionStart('tagClass=spForumTopicContainer', 'topiclist');
 # Start the Topic Loop
 # ----------------------------------------------------------------------
 if (sp_has_topics()) {
     while (sp_loop_topics()) {
         sp_the_topic();
         # Start the 'topic' section
         # ----------------------------------------------------------------------
         sp_SectionStart('tagClass=spForumTopicSection', 'topic');
         sp_TopicForumToolButton('', '', __sp('Open the forum toolset'));
         # Column 1 of the topic row
         # ----------------------------------------------------------------------
         sp_ColumnStart('tagClass=spColumnSection spLeft&width=7%&height=50px');
         sp_TopicIndexIcon('tagClass=spRowIcon spLeft');
         sp_ColumnEnd();
         # Column 2 of the topic row
         # ----------------------------------------------------------------------
         sp_ColumnStart('tagClass=spColumnSection spLeft&width=47%&height=50px');
         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'));
Ejemplo n.º 3
0
         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();
         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');