From 0f6247ccaec178e0111df4b73cabe73adb6752cd Mon Sep 17 00:00:00 2001 From: "Igor Barkov [iwork]" Date: Wed, 12 Dec 2018 16:58:41 +0200 Subject: [PATCH] =?UTF-8?q?=D0=93=D1=80=D0=B0=D0=B2=D0=B8=D1=80=D0=BE?= =?UTF-8?q?=D0=B2=D0=BA=D0=B0=20=D0=BD=D0=B0=20=D0=BD=D0=BE=D0=B2=D1=8B?= =?UTF-8?q?=D0=B9=20=D0=BB=D0=B0=D0=B4.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- repair.php | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/repair.php b/repair.php index 576dc6d..4102825 100644 --- a/repair.php +++ b/repair.php @@ -47,8 +47,11 @@ if ($_GET['sid'] && $_GET['rep']) { } if (input::post('goto') == 'remont') { - $remont_query = db::c()->query('SELECT * FROM `inventory` WHERE `type` < 12 AND `dressed` = 0 AND `isrep` = 1 AND `setsale` = 0 AND `duration` > 0 AND `owner` = ?i ORDER BY `update` DESC', $_SESSION['uid']); + $remont_query = db::c()->query('SELECT `name`,`duration`,`maxdur`,`img`,`id` FROM `inventory` WHERE `type` < 12 AND `dressed` = 0 AND `isrep` = 1 AND `setsale` = 0 AND `duration` > 0 AND `owner` = ?i ORDER BY `update` DESC', $_SESSION['uid']); +} +if (input::post('goto') == 'gravirovka') { + $gravirovka_query = db::c()->query('SELECT * FROM `inventory` WHERE `owner` = ?i AND `dressed` = 0 AND `type` = 3 AND `name` NOT LIKE "?S" AND `setsale` = 0 OR `text` <> "?s" ORDER by `update` DESC', $_SESSION['uid'], '%Букет%', ''); } ?> @@ -127,6 +130,23 @@ if (input::post('goto') == 'remont') { + +fetch_assoc()): ?> +
+ +
+ [] +
+
+ Нанести надпись за 30 кр.
Стереть надпись
+
+
+ +