<script type="text/javascript"> //<![CDATA[ $(function() { var active = new Table('#auctions-active', { column: 2, method: 'numeric' }); var sold = new Table('#auctions-sold', { column: 4, method: 'numeric', type: 'desc' }); var ended = new Table('#auctions-ended', { column: 4, method: 'numeric' }); }); //]]> </script> <div class="auction-house auctions"> <div id="auctions-active" class="table-section"> <?php if (WoW_Auction::GetSellingItemsCount() > 0) { WoW_Template::LoadTemplate('block_auction_my_lots'); } else { echo sprintf('<div class="table-bar bar-disabled"> <span class="toggler">%s</span> </div> <div class="empty-result"> %s </div>', WoW_Locale::GetString('template_auction_active_auctions'), WoW_Locale::GetString('template_auction_no_active_auctions')); } ?> </div> <div id="auctions-sold" class="table-section"> <div class="table-bar bar-disabled">
<a href="javascript:;" class="table-bar" onclick="Auction.toggleSection(this, 'auctions-active');"> <span class="toggler"> <?php echo WoW_Locale::GetString('template_auction_active_auctions'); ?> (<span id="total-auctions-active"><?php echo WoW_Auction::GetSellingItemsCount(); ?> </span>) </span> </a> <div class="table"> <table> <thead> <tr> <th> <a href="javascript:;" class="sort-link"> <span class="arrow"><?php echo WoW_Locale::GetString('template_auction_lots_table_name'); ?> </span> </a> </th> <th> <a href="javascript:;" class="sort-link numeric"> <span class="arrow"><?php echo WoW_Locale::GetString('template_auction_lots_table_count'); ?> </span> </a> </th> <th> <a href="javascript:;" class="sort-link numeric"> <span class="arrow"><?php
?> </span> </a> </li> <li> <?php echo WoW_Locale::GetString('template_auction_selling'); ?> <a href="<?php echo WoW::GetWoWPath(); ?> /wow/vault/character/auction/horde/auctions"> <span> <?php if (WoW_Auction::GetSellingItemsCount() > 0) { echo '<strong>' . WoW_Auction::GetSellingItemsCount() . '</strong>'; } else { echo '0'; } ?> </span> </a> </li> <li> <?php echo WoW_Locale::GetString('template_auction_ended'); ?> <a href="<?php echo WoW::GetWoWPath(); ?> /wow/vault/character/auction/horde/auctions">