From da286487ed5a467b2499f949ce4ce71de4b266e1 Mon Sep 17 00:00:00 2001 From: lopar Date: Sat, 23 Jun 2018 21:26:38 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A1=D1=82=D0=BE=D0=B8=D0=BC=D0=BE=D1=81?= =?UTF-8?q?=D1=82=D1=8C=20=D0=BF=D1=80=D0=BE=D0=B4=D0=B0=D0=B6=D0=B8=2010%?= =?UTF-8?q?=20=D0=BE=D1=82=20=D1=86=D0=B5=D0=BD=D1=8B=20=D0=BC=D0=B8=D0=BD?= =?UTF-8?q?=D1=83=D1=81=20=D1=86=D0=B5=D0=BD=D0=B0=20=D0=B7=D0=B0=20=D0=BF?= =?UTF-8?q?=D0=BE=D0=B2=D1=80=D0=B5=D0=B6=D0=B4=D0=B5=D0=BD=D0=B8=D1=8F.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shop.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/shop.php b/shop.php index c69cf08..abe5d92 100644 --- a/shop.php +++ b/shop.php @@ -180,7 +180,7 @@ $shopCategoryType = empty($_POST['sale']) ?: $_POST['sale']; $shopCategoryTypeNumber = empty($_GET['otdel']) ?: $_GET['otdel']; switch ($shopCategoryTypeNumber) { default: - $shopCategoryType = "Скупка товара"; + $shopCategoryType = "Предметы в инвентаре"; $saleItems = true; break; case 1: @@ -288,6 +288,7 @@ switch ($shopCategoryTypeNumber) {

+ Вы можете продать ваши предметы за 10% от стоимости. @@ -299,7 +300,7 @@ switch ($shopCategoryTypeNumber) { $data = db::c()->query('SELECT * FROM `inventory` WHERE `owner` = ?i AND `dressed` = 0 AND `setsale` = 0 AND `cost` > 0 AND `present` = "?s" AND `tradesale` = 0 AND `podzem` = 0 ORDER BY `update` DESC', $user['id'], null); while ($row = $data->fetch_assoc()) { $row['count'] = 1; - $price = $row['cost'] * 1; + $price = $row['cost'] * 0.1; if ($row['koll']) { $price *= $row['koll']; } @@ -358,8 +359,7 @@ switch ($shopCategoryTypeNumber) { Масса всех ваших вещей: /
У вас в наличии: кр.

-

- Продажа товаров + Продать вещи
Оружие:
кастеты,ножи