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']); if (empty($user['id'])): ?> Ошибка Ошибка: персонаж" . $login . "" : ""); ?> не найден...

←назад

Информация о <?= $user['login'] ?>
'; ?>

query('SELECT `time` FROM `effects` WHERE `owner` = ?i AND `type` = ?i ', $user['id'], 5)->fetch_assoc(); if ($effect['time'] AND ($own['admin'] != 1)) die('

Персонаж обезличен!

'); if (!empty($user['realname'])) echo "Имя: " . $user['realname'] . "
"; ?>


Подарки getNumRows()) while ($row = $presents->fetch_assoc()) echo ""; ?>
Лицензии Лицензия наемника" /> '; if ($user['prof2'] == 22) echo ' '; if ($user['prof1'] == 1) echo ' '; if ($user['prof1'] == 2) echo ' '; ?>
1.2)) OR (!empty($own['admin']))) $okdop = 1; if ($okld == 1) { echo "

Личное дело

"; $ld = db::c()->query('SELECT * FROM `lichka` WHERE `pers` = ?i ORDER BY `id` ASC', $user['id']); while ($row_ld = $ld->fetch_assoc()) { $dat = date("d.m.Y H:i", $row_ld['date']); echo "$dat {$row_ld['text']}
"; } } if ($okdop == 1) { $iplog = db::c()->query('SELECT idperslater FROM delo_multi WHERE idpersnow = ?i GROUP BY idperslater ASC', $user['id']); if ($iplog->getNumRows()) { echo "

Возможные мульты

"; while ($row_iplog = $iplog->fetch_assoc()) echo nick::id($row_iplog['idperslater'])->full() . " "; } echo "

Дополнительные сведения

"; if (!empty($user['id'])) echo "ID: " . $user['id'] . "
"; if (!empty($user['email'])) echo "E-mail: " . $user['email'] . "
"; if (!empty($user['borndate'])) echo "День рождения: " . $user['borndate'] . "
"; if (!empty($user['ip'])) echo "IP при регистрации: " . $user['ip'] . "
"; } if ($own['admin'] == 1) { if (!empty($user['exp'])) echo "Oпыт: " . $user['exp'] . "
"; if (!empty($user['stats'])) echo "Число неиспользованных UP-ов: " . $user['stats'] . "
"; if (!empty($user['money'])) echo "Кредитов: " . $user['money'] . "
"; if (!empty($user['room'])) echo "Комната: " . $user['room'] . "
"; if (!empty($user['reputation'])) echo "Всего Репутации: " . $user['reputation'] . "
"; if (!empty($user['doblest'])) echo "Репутации: " . $user['doblest'] . "
"; if ($user_bank = db::c()->query('SELECT `id`,`cr`,`ekr` FROM `bank` WHERE `id` = ?i', $user['id'])) { echo "

Банковские счета

"; while ($row_user_bank = $user_bank->fetch_assoc()) echo "№ " . $row_user_bank['id'] . ": " . $row_user_bank['cr'] . " кр, " . $row_user_bank['ekr'] . " екр."; } //TODO Вынести управляющие элементы во внешнюю админку, подальше от прецедентов. А то были случаи. if (input::post('del')) { $itemdel = db::c()->query('SELECT `type`,`dressed` FROM `inventory` WHERE `id`=?i', input::post('del'))->fetch_assoc(); if ($itemdel['dressed'] == 1) { dropitem($itemdel['type']); if ($itemdel['type'] == 5) { dropitem(6); dropitem(7); } } db::c()->query('DELETE FROM `inventory` WHERE `id` = ?i', $del); } echo "

Вещи в инвентаре:

"; echo " "; $inv = db::c()->query('SELECT `id`,`name`,`koll`,`img` FROM `inventory` WHERE `owner` = ?i ORDER BY `id` DESC', $user['id']); while ($row_inv = $inv->fetch_assoc()) { echo " "; } echo "
ID Название Количество Картинка
{$row_inv['id']} {$row_inv['name']} {$row_inv['koll']}
"; if (isset($_POST['undress_char'])) undressall($user['id']); } ?>