<div id="station-view"> <div class="bt-lite"> <div class="bt-link readmore"><?php echo WoW_Locale::GetString('template_forums_blizztracker_title'); ?> <span><a href="blizztracker/"><?php echo WoW_Locale::GetString('template_forums_all_blizz_posts'); ?> </a></span></div> <a href="javascript:;" onclick="Cms.Station.btLiteScroll(1)" class="bt-left"></a> <a href="javascript:;" onclick="Cms.Station.btLiteScroll(-1)" class="bt-right"></a> <div class="bt-adjust"> <div class="bt-mask"> <div id="bt-holder"> <?php $blizz_posts = WoW_Forums::GetLoadedBlizzPosts(); $posts_count = count($blizz_posts); if (is_array($blizz_posts)) { for ($i = 0; $i < $posts_count; ++$i) { if ($i % 3 == 0) { echo '<div class="bt-set">'; } if ($blizz_posts[$i]['post_days'] > 0) { $before_text = sprintf(WoW_Locale::getString('template_blizztracker_posted_before_days'), $blizz_posts[$i]['post_days'], $blizz_posts[$i]['post_hours']); } elseif ($blizz_posts[$i]['post_days'] == 0 && $blizz_posts[$i]['post_hours'] > 0) { $before_text = sprintf(WoW_Locale::getString('template_blizztracker_posted_before_hours'), $blizz_posts[$i]['post_hours'], $blizz_posts[$i]['post_minutes']); } elseif ($blizz_posts[$i]['post_hours'] == 0) { $before_text = sprintf(WoW_Locale::getString('template_blizztracker_posted_before_minutes'), $blizz_posts[$i]['post_minutes']); } echo sprintf('<a href="topic/%d%s"> <span class="desc"><span class="int">ā%sā</span></span>
?> </div> </div> <div id="posts-container"> <table id="posts" cellspacing="0" class="simple"> <thead> <tr class="post-th"> <td></td> <td colspan="2">Subject</td> <td>Author</td> </tr> </thead> <tbody class="bluetracker-body"> <?php $blizz_posts = WoW_Forums::GetLoadedBlizzPosts(WoW_Template::GetPageData('current_page')); if (is_array($blizz_posts)) { foreach ($blizz_posts as $post) { if ($post['post_days'] > 0) { $before_text = sprintf(WoW_Locale::getString('template_blizztracker_posted_before_days'), $post['post_days'], $post['post_hours']); } elseif ($post['post_days'] == 0 && $post['post_hours'] > 0) { $before_text = sprintf(WoW_Locale::getString('template_blizztracker_posted_before_hours'), $post['post_hours'], $post['post_minutes']); } elseif ($post['post_hours'] == 0) { $before_text = sprintf(WoW_Locale::getString('template_blizztracker_posted_before_minutes'), $post['post_minutes']); } echo sprintf('<tr id="postRow%d" class="blizzard"> <td class="post-icon"> <div class="forum-post-icon"> <div class="blizzard_icon"><a href="../topic/%d#%d" data-tooltip="%s"></a></div> </div> </td>