diff --git a/inf.php b/inf.php index a04ef96..e0b6797 100644 --- a/inf.php +++ b/inf.php @@ -9,11 +9,13 @@ $user = db::c()->query('SELECT `id`,`login`,`married`,`win`,borndate,`align`,`ad WHERE `login` = "?s" OR `id` = "?s"', $login, $login)->fetch_assoc(); $own = db::c()->query('SELECT `align`,`admin` FROM `users` WHERE `id` = "?s"', $uid)->fetch_assoc(); -$presents = db::c()->query('SELECT `img`,`present` FROM `inventory` WHERE type = 200 AND `present`<>"?s" AND `owner` = ?i','',$user['id']); +$presents = db::c()->query('SELECT `img`,`present` FROM `inventory` WHERE type = 200 AND `present`<>"?s" AND `owner` = ?i', '', $user['id']); if (empty($user['id'])): ?> - Ошибка + + + Ошибка Ошибка: персонаж" . $login . "" : ""); ?> не найден...

←назад

@@ -29,7 +31,7 @@ if (empty($user['id'])): ?> - +