main inventory shown as class, not function 2
This commit is contained in:
parent
4bd6ed58a0
commit
98af3bfc14
3
main.php
3
main.php
@ -2162,7 +2162,6 @@ if (input::get('edit')) {
|
||||
<?php if (!empty($user['money'])): ?>
|
||||
<tr bgcolor="#C7C7C7">
|
||||
<td width="100" align="center"><img src="i/sh/money-bag.png"></td>
|
||||
<td></td>
|
||||
<td valign="top">Мешок денег (Масса: 0)<br><b><?= $user['money'] ?> кр.</b></td>
|
||||
</tr>
|
||||
<?php endif;
|
||||
@ -2236,7 +2235,6 @@ if (input::get('edit')) {
|
||||
#while ($row = $data->fetch_assoc()) showitem($row);
|
||||
while ($row = $data->fetch_assoc()) $iteminfo[] = new InventoryItem($row);
|
||||
|
||||
echo "<table width='100%'>";
|
||||
foreach ($iteminfo as $ii) {
|
||||
echo "<tr><td bgcolor='#d3d3d3'>";
|
||||
$ii->printImage();
|
||||
@ -2246,7 +2244,6 @@ if (input::get('edit')) {
|
||||
$ii->printInfo();
|
||||
echo "</td></tr>";
|
||||
}
|
||||
echo "</table>";
|
||||
|
||||
if ($viewInventory and $getItems) {
|
||||
foreach ($viewInventory as $viewCategiryes) {
|
||||
|
Loading…
Reference in New Issue
Block a user