minor fixing

This commit is contained in:
Igor Barkov [iwork] 2019-02-14 13:00:51 +02:00
parent 3d53d94fa9
commit 1062d53b8e

View File

@ -237,7 +237,7 @@ switch ($shopCategoryTypeNumber) {
</TR>
<?php
}
} elseif ($_REQUEST['unsale']) {
} elseif ($get === 'unsale') {
$data = db::c()->query('SELECT * FROM `inventory` WHERE `setsale` > 0 AND `dressed` = 0 AND `owner` = ?i ORDER BY `update` DESC', $_SESSION['uid']);
while ($row = $data->fetch_assoc()) {
@ -287,11 +287,6 @@ switch ($shopCategoryTypeNumber) {
</TD>
<TD valign=top width=280>
<div style="MARGIN-LEFT:15px; MARGIN-TOP: 10px;">
<FORM>
<INPUT TYPE="button" onclick="location.href='city.php?cp=1';" value="Вернуться" name="cp"><br>
<INPUT TYPE="submit" value="Сдать вещи в магазин" name="sale"><BR>
<INPUT TYPE="submit" value="Забрать вещи из магазина" name="unsale"><BR>
</FORM>
<B>Масса всех ваших вещей: <?= getItemsMassaInfo() ?>
<BR>У вас в наличии: <span style="color: darkgreen;"><?= $user['money'] ?></span> кр.</B>
<hr>