diff --git a/comission.php b/comission.php index 332970d..11b1892 100644 --- a/comission.php +++ b/comission.php @@ -104,9 +104,7 @@ if ($get === 'sale') { FROM `inventory` LEFT JOIN `magic` ON `magic` = `magic`.`id` WHERE `setsale` = 0 AND `dressed` = 0 AND `present` = "?s" AND `owner` = ?i ORDER BY `update` DESC ', '', $_SESSION['uid']); $classPrintControlName = "marketput"; -} - -elseif ($get === 'unsale') { +} elseif ($get === 'unsale') { $data = db::c()->query('SELECT `inventory`.*, `magic`.`name` AS `magic_name`, `magic`.`chanse` AS `magic_chanse`, @@ -119,9 +117,7 @@ elseif ($get === 'unsale') { FROM `inventory` LEFT JOIN `magic` ON `magic` = `magic`.`id` WHERE `setsale` > 0 AND `dressed` = 0 AND `owner` = ?i ORDER BY `update` DESC', $_SESSION['uid']); $classPrintControlName = "marketgetback"; -} - -else if (!empty($_POST['search'])) { +} else if (!empty($_POST['search'])) { $data = db::c()->query('SELECT `inventory`.*, `magic`.`name` AS `magic_name`, `magic`.`chanse` AS `magic_chanse`, @@ -133,9 +129,7 @@ else if (!empty($_POST['search'])) { 0 AS `maxdur` FROM `inventory` LEFT JOIN `magic` ON `magic` = `magic`.`id` WHERE `dressed` = 0 AND `inventory`.`name` LIKE "%?S%" AND `setsale` > 0 ORDER BY `setsale` ASC', $_POST['search']); -} - -else { +} else { $data = db::c()->query('SELECT `inventory`.*, `magic`.`name` AS `magic_name`, `magic`.`chanse` AS `magic_chanse`, @@ -170,7 +164,7 @@ while ($row = $data->fetch_assoc()) { - +
@@ -213,10 +205,14 @@ MARKET; Масса всех ваших вещей:
У вас в наличии: кр.

-
-
-
-
+
+ +
+ +
+ +
+
fetch_assoc()) { MARKET; - } ?> + } ?>
- +
"; - echo ""; - } - + foreach ($iteminfo as $ii) { + echo ""; + echo ""; + } ?>
"; - $ii->printImage(); - $ii->printControls($classPrintControlName); - echo ""; - $ii->printInfo(); - echo "
"; + $ii->printImage(); + $ii->printControls($classPrintControlName); + echo ""; + $ii->printInfo(); + echo "