query('SELECT `id`,`login`,`married`,`win`,borndate,`align`,`admin`,`realname`,`info`,`prof1`,`prof2`,`email`,`ip`,`exp`,`stats`,`money`,`room`,`doblest`
FROM `users`
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_new = db::c()->query('SELECT `img`, `sender` FROM `users_presents` WHERE owner = ?i',$user['id']);
if (empty($user['id'])): ?>
exit(); endif; ?>
Информация о = $user['login'] ?>
= showinf_pers($user['id']);
if (!empty($user['married']))
echo ' ';
?>
query('SELECT `time` FROM `effects` WHERE `owner` = ?i AND `type` = ?i ', $user['id'], 5)->fetch_assoc();
if ($effect['time'] AND ($own['admin'] != 1)) die('
fetch_assoc())
if (empty($row['sender'])) $sender = 'Анонимный подарок';
else $sender = 'Подарок от ' . $row['sender'];
echo "";
?>
';
if ($user['prof2'] == 22) echo ' ';
if ($user['prof1'] == 1) echo ' ';
?>
query('SELECT * FROM `lichka` WHERE `pers` = ?i ORDER BY `id` ASC', $user['id']);
$iplog = db::c()->query('SELECT idperslater FROM delo_multi WHERE idpersnow = ?i GROUP BY idperslater ASC', $user['id']);
echo "