Деньги в инвентарь
This commit is contained in:
parent
8e635b572e
commit
0d1ea7d7ec
10
main.php
10
main.php
@ -2221,6 +2221,8 @@ if (input::get('edit')) {
|
||||
href="?edit=1&razdel=5" ajax="mZeInventory">Квестовые вещи</a></td>
|
||||
<td align=center bgcolor="<?= ($_SESSION['razdel'] == 2) ? "#A5A5A6" : "#C7C7C8" ?>"><a
|
||||
href="?edit=1&razdel=2" ajax="mZeInventory">Прочее</a></td>
|
||||
<td align=center bgcolor="<?= ($_SESSION['razdel'] == 6) ? "#A5A5A6" : "#C7C7C8" ?>"><a
|
||||
href="?edit=1&razdel=6" ajax="mZeInventory">Деньги</a></td>
|
||||
|
||||
</tr>
|
||||
</table>
|
||||
@ -2233,7 +2235,13 @@ if (input::get('edit')) {
|
||||
<tr>
|
||||
<td align=center>
|
||||
<table BORDER=0 WIDTH=100% CELLSPACING="1" CELLPADDING="2" BGCOLOR="#A5A5A5">
|
||||
<?php
|
||||
<?php if ($_SESSION['razdel'] == 6): ?>
|
||||
<tr>
|
||||
<td width="100" align="center"><img src="i/sh/mesh1.gif"></td>
|
||||
<td></td>
|
||||
<td valign="top">Мешок денег (Масса: 0)<br><b><?= $user['money'] ?> кр.</b></td>
|
||||
</tr>
|
||||
<?php endif;
|
||||
if ($_SESSION['razdel'] == null) {
|
||||
$data = db::c()->query('SELECT * FROM `inventory` WHERE `owner` = ?i AND `dressed` = 0 AND (`type` < 12 OR `type` = 22 OR `type` = 23 OR `type` = 24) AND `setsale` = 0 ORDER BY `update` DESC', $user['id']);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user