# 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 {
     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');
Пример #2
0
            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');
            ?>
</div><?php 
        }