diff --git a/market.php b/market.php
index bbfe465..b876008 100644
--- a/market.php
+++ b/market.php
@@ -27,7 +27,7 @@ if (!$compare) {
Item |
Count |
- Price |
+ Price for 1 |
Added |
By |
Compare |
@@ -52,7 +52,7 @@ if (!$compare) {
Item |
Count |
- Price |
+ Price for 1 |
Added |
By |
Compare |
@@ -79,7 +79,7 @@ if (!$compare) {
// First list active bids
$offers = mysql_select_multi("SELECT `id`, `sale`, `itemtype` AS `item_id`, `amount`, `price`, `created`, `anonymous`, (SELECT `name` FROM `players` WHERE `id` = `player_id`) AS `player_name` FROM `market_offers` WHERE `itemtype`='$compare' ORDER BY `price` ASC;");
- $historyOffers = mysql_select_multi("SELECT `id`, `itemtype` AS `item_id`, `amount`, `price`, `inserted`, `expires_at`, (SELECT `name` FROM `players` WHERE `id` = `player_id`) AS `player_name` FROM `market_history` WHERE `itemtype`='$compare' AND `state` IN (3, 255) ORDER BY `price` ASC;");
+ $historyOffers = mysql_select_multi("SELECT `id`, `itemtype` AS `item_id`, `amount`, `price`, `inserted`, `expires_at` FROM `market_history` WHERE `itemtype`='$compare' AND `state`=255 ORDER BY `price` ASC;");
$buylist = false;
// Markup
?>
@@ -90,7 +90,7 @@ if (!$compare) {
Item |
Count |
- Price |
+ Price for 1 |
Added |
By |
@@ -123,7 +123,7 @@ if (!$compare) {
Item |
Count |
- Price |
+ Price for 1 |
Added |
By |
@@ -149,10 +149,8 @@ if (!$compare) {
Item |
Count |
- Price |
- Offer added |
- Offer expired |
- By |
+ Price for 1 |
+ Offer sold |
|
|
- |
- ".$o['player_name'].""; ?> |