Final: Делаем подарки.

This commit is contained in:
Igor Barkov [iwork] 2019-01-28 18:16:32 +02:00
parent 540e5bace9
commit 849ffbeb0c

View File

@ -10,7 +10,7 @@ $user = db::c()->query('SELECT `id`,`login`,`married`,`win`,borndate,`align`,`ad
$own = db::c()->query('SELECT `align`,`admin` FROM `users` WHERE `id` = "?s"', $uid)->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']);
$presents_new = db::c()->query('SELECT img, sender FROM `users_presents` WHERE owner = ?i',$user['id']); $presents_new = db::c()->query('SELECT `img`, `sender` FROM `users_presents` WHERE owner = ?i',$user['id']);
if (empty($user['id'])): ?> if (empty($user['id'])): ?>
<html> <html>