setExpiration(6); if ($cache->hasExpired()) { $offers = array( 'wts' => mysql_select_multi("SELECT `id`, `itemtype` AS `item_id`, `amount`, `price`, `created`, `anonymous`, (SELECT `name` FROM `players` WHERE `id` = `player_id`) AS `player_name` FROM `market_offers` WHERE `sale` = 1 ORDER BY `created` DESC;"), 'wtb' => mysql_select_multi("SELECT `id`, `itemtype` AS `item_id`, `amount`, `price`, `created`, `anonymous`, (SELECT `name` FROM `players` WHERE `id` = `player_id`) AS `player_name` FROM `market_offers` WHERE `sale` = 0 ORDER BY `created` DESC;") ); $cache->setContent($offers); $cache->save(); } else { $offers = $cache->load(); } ?>

Marketplace

You can buy and sell items by clicking on the market in depot.
To sell an item: Place item inside your depot, click on market, search for your item and sell it.

WTS: Want to sell

Item Count Price for 1 Added By Compare
" alt="Item Image"> ".$o['player_name'].""; ?>

WTB: Want to buy

Item Count Price for 1 Added By Compare
" alt="Item Image"> ".$o['player_name'].""; ?>

Comparing item

Active offers

Item Count Price for 1 Added By
" alt="Item Image"> ".$o['player_name'].""; ?>

Want to buy:

Item Count Price for 1 Added By
" alt="Item Image"> ".$o['player_name'].""; ?>

Old purchased offers

Item Count Price for 1 Offer sold
" alt="Item Image">