<td class="post-views">%d</td> <td class="post-lastPost"><a href="../topic/%d%s#%s" data-tooltip="%s">%s</a>' . ($thread['last_blizzpost'] != 1 ? '<span class="more-arrow"></span>' : '') . '</td> </tr>', $thread['author'], $thread['replies'], $thread['views'], $thread['thread_id'], $thread['pages'] > 1 ? '?page=' . $thread['pages'] : NULL, $thread['replies'] > 0 ? $thread['replies'] + 1 : 1, $thread['last_formated_date'], $thread['last_author']); } } echo '</tbody>'; } } ?> </table> </div> <div class="forum-info"> <div class="forum-actions topic-bottom"> <div class="actions-panel"> <?php echo WoW_Paginator::Initialize(WoW_Template::GetPageData('current_page'), WoW_Forums::GetTotalCategoryThreads(), 20, 'forum'); ?> <a class="ui-button button1<?php echo WoW_Account::IsLoggedIn() && !WoW_Account::IsHaveActiveCharacter() ? ' disabled' : null; ?> " href="topic"<?php echo !WoW_Account::IsLoggedIn() ? ' onclick="return Login.open(\'' . WoW::GetWoWPath() . '/login/login.frag\');"' : null; ?> > <span> <span><?php echo WoW_Locale::GetString('template_forums_create_thread'); ?> </span> </span> </a>