Деньги в инвентарь

This commit is contained in:
lopar 2019-01-10 02:02:03 +02:00
parent 58f964b35d
commit 4f4978c83d

View File

@ -2202,7 +2202,7 @@ if (input::get('edit')) {
<?php endif; ?>
<?php
if (in_array(input::get('razdel'), [0, 1, 2, 3, 4, 5, 6])) $_SESSION['razdel'] = input::get('razdel');
if (in_array(input::get('razdel'), [0, 1, 2, 3, 4, 5])) $_SESSION['razdel'] = input::get('razdel');
?>
<table border=0 width=100% cellspacing="0" cellpadding="0" bgcolor="#A5A5A5">
<tr>
@ -2221,9 +2221,6 @@ 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>
</td>
@ -2235,7 +2232,7 @@ if (input::get('edit')) {
<tr>
<td align=center>
<table BORDER=0 WIDTH=100% CELLSPACING="1" CELLPADDING="2" BGCOLOR="#A5A5A5">
<?php if ($_SESSION['razdel'] == 6): ?>
<?php if (!empty($user['money'])): ?>
<tr>
<td width="100" align="center"><img src="i/sh/mesh1.gif"></td>
<td></td>