placeBid($session->uid, (int) $_POST['aucid'], (int) $_POST['maxbid']); if ($t4Result === HeroAuction::BID_OK) { $t4Msg = HERO_AUC_BID_OK; } elseif ($t4Result === HeroAuction::BID_OUTBID) { $t4Msg = HERO_AUC_BID_OUTBID; } elseif ($t4Result === HeroAuction::BID_NO_SILVER) { $t4Msg = HERO_AUC_BID_NOSILVER; } else { $t4Msg = HERO_AUC_BID_FAIL; } } elseif ($_POST['t4action'] === 'sell' && isset($_POST['rowid'], $_POST['qty'], $_POST['price'], $_POST['duration'])) { $t4Result = $t4Auction->createAuction( $session->uid, (int) $_POST['rowid'], (int) $_POST['qty'], (int) $_POST['price'], (int) $_POST['duration'] ); $t4Msg = ($t4Result > 0) ? HERO_AUC_SELL_OK : HERO_AUC_SELL_FAIL; } } $t4Open = $t4Auction->getOpenAuctions(50, $session->uid); $t4MyBids = $t4Auction->getMyBids($session->uid); $t4MySales = $t4Auction->getMySales($session->uid); $t4Now = time(); // Unequipped items sellable from the inventory. $t4Sellable = array(); foreach ($t4HeroItems->getInventory($session->uid) as $t4Row) { if ($t4Row['equipped'] == 0 && !$t4Row['orphan']) { $t4Sellable[] = $t4Row; } } ?>

() getTimeFormat(max(0, $t4A['time_end'] - $t4Now)); ?> uid) { ?>
-
(x) : : getTimeFormat(max(0, $t4A['time_end'] - $t4Now)); ?>
(x) : getTimeFormat(max(0, $t4A['time_end'] - $t4Now)); ?>
: : :