diff --git a/repair.php b/repair.php index e21d429..9b2f6a4 100644 --- a/repair.php +++ b/repair.php @@ -48,6 +48,11 @@ if ($_GET['sid'] && $_GET['rep']) { } } +if (input::post('goto') == 'remont') { + $data = db::c()->query('SELECT * FROM `inventory` WHERE `type` < 12 AND `dressed` = 0 AND `isrep` = 1 AND `setsale` = 0 AND `owner` = ?i ORDER BY `update` DESC', $_SESSION['uid']); + $onecost = 0.1; +} + ?>
@@ -113,6 +118,16 @@ if ($_GET['sid'] && $_GET['rep']) { = $status ?> +fetch_assoc()): ?> +