<th class="price" id="buyout-total"> <?php $total_price = WoW_Auction::GetBuyOutTotalPrice(); $money_format = WoW_Utils::GetMoneyFormat($total_price); echo sprintf('<span class="hide">%d</span><span class="icon-gold">%d</span> <span class="icon-silver">%d</span> <span class="icon-copper">%d</span>', $total_price, $money_format['gold'], $money_format['silver'], $money_format['copper']); ?> </th> <th> </th> </tr> </tfoot> <tbody> <?php $auction_items = WoW_Auction::GetSellingItems(); if (is_array($auction_items)) { $toggleStyle = 2; foreach ($auction_items as $item) { echo sprintf('<tr id="auction-%d" class="row%d"> <td class="item" data-raw="-4 %s"> <a href="%s/wow/' . WoW_Locale::GetLocale() . '/item/%d" data-item="t=true&i=%d&s=%d" class="icon-frame frame-36" style="background-image: url(\'http://eu.media.blizzard.com/wow/icons/36/%s.jpg\');"> </a> <a href="%s/wow/' . WoW_Locale::GetLocale() . '/item/%d" data-item="t=true&i=%d&s=%d" class="color-q%d"><strong>%s</strong></a><br /> <a href="%s">%s</a> <span class="png-fix" data-tooltip="%s"> <img src="%s/wow/static/images/character/auction/me.png" alt="" style="margin-bottom: -3px" /> </span> </td> <td class="quantity">%d</td> <td class="time" data-raw="%d">