mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-04-30 19:29:22 +02:00
Show item name at market
This commit is contained in:
parent
721a52867f
commit
ef3f8ce91b
10
market.php
10
market.php
@ -25,6 +25,7 @@ if (!$compare) {
|
|||||||
<h2>WTS: Want to sell</h2>
|
<h2>WTS: Want to sell</h2>
|
||||||
<table class="table tbl-hover">
|
<table class="table tbl-hover">
|
||||||
<tr class="yellow">
|
<tr class="yellow">
|
||||||
|
<td>Item name</td>
|
||||||
<td>Item</td>
|
<td>Item</td>
|
||||||
<td>Count</td>
|
<td>Count</td>
|
||||||
<td>Price for 1</td>
|
<td>Price for 1</td>
|
||||||
@ -36,6 +37,7 @@ if (!$compare) {
|
|||||||
foreach (($offers['wts'] ? $offers['wts'] : array()) as $o) {
|
foreach (($offers['wts'] ? $offers['wts'] : array()) as $o) {
|
||||||
?>
|
?>
|
||||||
<tr>
|
<tr>
|
||||||
|
<td><?php getItemNameById($o['item_id']); ?></td>
|
||||||
<td><img src="<?php echo "http://".$server."/".$o['item_id'].".".$imageType; ?>" alt="Item Image"></td>
|
<td><img src="<?php echo "http://".$server."/".$o['item_id'].".".$imageType; ?>" alt="Item Image"></td>
|
||||||
<td><?php echo $o['amount']; ?></td>
|
<td><?php echo $o['amount']; ?></td>
|
||||||
<td><?php echo number_format($o['price'], 0, "", " "); ?></td>
|
<td><?php echo number_format($o['price'], 0, "", " "); ?></td>
|
||||||
@ -50,6 +52,7 @@ if (!$compare) {
|
|||||||
<h2>WTB: Want to buy</h2>
|
<h2>WTB: Want to buy</h2>
|
||||||
<table class="table tbl-hover">
|
<table class="table tbl-hover">
|
||||||
<tr class="yellow">
|
<tr class="yellow">
|
||||||
|
<td>Item name</td>
|
||||||
<td>Item</td>
|
<td>Item</td>
|
||||||
<td>Count</td>
|
<td>Count</td>
|
||||||
<td>Price for 1</td>
|
<td>Price for 1</td>
|
||||||
@ -61,6 +64,7 @@ if (!$compare) {
|
|||||||
foreach (($offers['wtb'] ? $offers['wtb'] : array()) as $o) {
|
foreach (($offers['wtb'] ? $offers['wtb'] : array()) as $o) {
|
||||||
?>
|
?>
|
||||||
<tr>
|
<tr>
|
||||||
|
<td><?php getItemNameById($o['item_id']); ?></td>
|
||||||
<td><img src="<?php echo "http://".$server."/".$o['item_id'].".".$imageType; ?>" alt="Item Image"></td>
|
<td><img src="<?php echo "http://".$server."/".$o['item_id'].".".$imageType; ?>" alt="Item Image"></td>
|
||||||
<td><?php echo $o['amount']; ?></td>
|
<td><?php echo $o['amount']; ?></td>
|
||||||
<td><?php echo number_format($o['price'], 0, "", " "); ?></td>
|
<td><?php echo number_format($o['price'], 0, "", " "); ?></td>
|
||||||
@ -88,6 +92,7 @@ if (!$compare) {
|
|||||||
<h2>Active offers</h2>
|
<h2>Active offers</h2>
|
||||||
<table class="table tbl-hover">
|
<table class="table tbl-hover">
|
||||||
<tr class="yellow">
|
<tr class="yellow">
|
||||||
|
<td>Item name</td>
|
||||||
<td>Item</td>
|
<td>Item</td>
|
||||||
<td>Count</td>
|
<td>Count</td>
|
||||||
<td>Price for 1</td>
|
<td>Price for 1</td>
|
||||||
@ -104,6 +109,7 @@ if (!$compare) {
|
|||||||
} else {
|
} else {
|
||||||
?>
|
?>
|
||||||
<tr>
|
<tr>
|
||||||
|
<td><?php getItemNameById($o['item_id']); ?></td>
|
||||||
<td><img src="<?php echo "http://".$server."/".$o['item_id'].".".$imageType; ?>" alt="Item Image"></td>
|
<td><img src="<?php echo "http://".$server."/".$o['item_id'].".".$imageType; ?>" alt="Item Image"></td>
|
||||||
<td><?php echo $o['amount']; ?></td>
|
<td><?php echo $o['amount']; ?></td>
|
||||||
<td><?php echo number_format($o['price'], 0, "", " "); ?></td>
|
<td><?php echo number_format($o['price'], 0, "", " "); ?></td>
|
||||||
@ -121,6 +127,7 @@ if (!$compare) {
|
|||||||
<h2>Want to buy:</h2>
|
<h2>Want to buy:</h2>
|
||||||
<table class="table tbl-hover">
|
<table class="table tbl-hover">
|
||||||
<tr class="yellow">
|
<tr class="yellow">
|
||||||
|
<td>Item name</td>
|
||||||
<td>Item</td>
|
<td>Item</td>
|
||||||
<td>Count</td>
|
<td>Count</td>
|
||||||
<td>Price for 1</td>
|
<td>Price for 1</td>
|
||||||
@ -131,6 +138,7 @@ if (!$compare) {
|
|||||||
foreach ($buylist as $o) {
|
foreach ($buylist as $o) {
|
||||||
?>
|
?>
|
||||||
<tr>
|
<tr>
|
||||||
|
<td><?php getItemNameById($o['item_id']); ?></td>
|
||||||
<td><img src="<?php echo "http://".$server."/".$o['item_id'].".".$imageType; ?>" alt="Item Image"></td>
|
<td><img src="<?php echo "http://".$server."/".$o['item_id'].".".$imageType; ?>" alt="Item Image"></td>
|
||||||
<td><?php echo $o['amount']; ?></td>
|
<td><?php echo $o['amount']; ?></td>
|
||||||
<td><?php echo number_format($o['price'], 0, "", " "); ?></td>
|
<td><?php echo number_format($o['price'], 0, "", " "); ?></td>
|
||||||
@ -147,6 +155,7 @@ if (!$compare) {
|
|||||||
<h2>Old purchased offers</h2>
|
<h2>Old purchased offers</h2>
|
||||||
<table class="table tbl-hover">
|
<table class="table tbl-hover">
|
||||||
<tr class="yellow">
|
<tr class="yellow">
|
||||||
|
<td>Item name</td>
|
||||||
<td>Item</td>
|
<td>Item</td>
|
||||||
<td>Count</td>
|
<td>Count</td>
|
||||||
<td>Price for 1</td>
|
<td>Price for 1</td>
|
||||||
@ -156,6 +165,7 @@ if (!$compare) {
|
|||||||
foreach (($historyOffers ? $historyOffers : array()) as $o) {
|
foreach (($historyOffers ? $historyOffers : array()) as $o) {
|
||||||
?>
|
?>
|
||||||
<tr>
|
<tr>
|
||||||
|
<td><?php getItemNameById($o['item_id']); ?></td>
|
||||||
<td><img src="<?php echo "http://".$server."/".$o['item_id'].".".$imageType; ?>" alt="Item Image"></td>
|
<td><img src="<?php echo "http://".$server."/".$o['item_id'].".".$imageType; ?>" alt="Item Image"></td>
|
||||||
<td><?php echo $o['amount']; ?></td>
|
<td><?php echo $o['amount']; ?></td>
|
||||||
<td><?php echo number_format($o['price'], 0, "", " "); ?></td>
|
<td><?php echo number_format($o['price'], 0, "", " "); ?></td>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user