query('SELECT * FROM `users` WHERE `login` = "?s" LIMIT 1', $user_login)->fetch_assoc(); $own = db::c()->query('SELECT `id`, `align`, `admin` FROM `users` WHERE `id` = "?s" LIMIT 1', $_SESSION['uid'])->fetch_assoc(); $_SERVER['QUERY_STRING'] = $user['id']; if ($user['id'] == null) { ?> Ошибка Ошибка: персонаж не найден...

Назад

Short($user['id'], $own['align'])); //} // //?> Информация о <?= $user['login'] ?>
'; } if ($user['deal'] == 1) echo ''; if ($user['reputation'] >= 20000 && $user['repcost'] <= 22229) echo ''; for ($i = 0; $i < count($medals); $i++) { switch ($medals[$i]) { case "009": echo ' '; break; case "beta_test": echo ' '; break; } } if ($user['win'] >= 20000) echo ''; if ($user['win'] >= 50000) echo ''; if ($user['win'] >= 100000) echo ''; $medals = explode(";", $user['medals']); ?>
0) { if ($user['vip'] == 1) { $vip_type = "Серебряный vip аккаунт"; } elseif ($user['vip'] == 2) { $vip_type = "Золотой vip аккаунт"; } elseif ($user['vip'] == 3) { $vip_type = "Платиновый vip аккаунт"; } echo ''; } if ((int)$user['align'] == 1) { ?> Орден паладинов

Персонаж обезличен!'); if (!empty($user['realname'])) echo "Имя: " . $user['realname'] . "
"; if (!empty($user['city'])) echo "Город: " . $user['city'] . "
"; if (!empty($user['lozung'])) echo "Лозунг: " . $user['lozung'] . "
"; ?>


Подарки '; $i++; } if (isset($_GET['chest'])) { $chest = $_GET['chest'] + 15; } else { $chest = 15; } $data = mysql_query("SELECT * FROM `inventory` WHERE `owner` = '" . $user['id'] . "' AND (`name` LIKE '%Сундук%') AND `present` != '' AND `cost` > 24 ORDER BY `id` DESC LIMIT $chest"); $cnt = mysql_query("SELECT `id` FROM `inventory` WHERE `owner` = '" . $user['id'] . "' AND (`name` LIKE '%Сундук%') AND `present` != '' AND `cost` > 24"); if (mysql_num_rows($data)) { echo '
Сундуки :
'; $i = 0; } elseif ($chest > 15 && $i >= mysql_num_rows($cnt)) { echo '
Сундуков больше нет ...
'; } if ($i < mysql_num_rows($cnt)) echo '
Показать еще Сундуки
'; ###Start Особые подарки### if (isset($_GET['uniqs'])) { $uniqs = $_GET['uniqs'] + 15; } else { $uniqs = 15; } $datas = mysql_query("SELECT * FROM `inventory` WHERE `owner` = '" . $user['id'] . "' AND (`name` LIKE '%Сувенир%' OR `name` LIKE '%Подарок%' OR `name` LIKE '%Валентинка%' OR `name` LIKE '%Открытка%' OR `name` LIKE 'Ель%' OR `name` LIKE '%Медаль%' OR `name` LIKE '%Статуэтка%'OR `name` LIKE '%Уник%') AND `present` != '' AND `cost` > 24 ORDER BY `id` DESC LIMIT $uniqs"); $cnt = mysql_query("SELECT `id` FROM `inventory` WHERE `owner` = '" . $user['id'] . "' AND (`name` LIKE '%Сувенир%' OR `name` LIKE '%Подарок%' OR `name` LIKE '%Валентинка%' OR `name` LIKE '%Открытка%' OR `name` LIKE 'Ель%' OR `name` LIKE '%Медаль%' OR `name` LIKE '%Статуэтка%'OR `name` LIKE '%Уник%') AND `present` != '' AND `cost` > 24"); if (mysql_num_rows($datas)) echo '

Уникальные подарки :
'; $i = 0; while ($row = mysql_fetch_array($datas)) { $why_gift = mysql_fetch_assoc(mysql_query("SELECT `id` FROM `users` WHERE `login` = '" . mysql_real_escape_string($row['present']) . "' LIMIT 1")); echo ' '; $i++; } if ($i < mysql_num_rows($cnt)) { echo '
Показать еще Уникальные подарки
'; } elseif ($uniqs > 15 && $i >= mysql_num_rows($cnt)) { echo '
Уникальных подарков больше нет ...
'; } ###End Особые подарки### if (isset($_GET['gifts'])) { $gifts = $_GET['gifts'] + 15; } else { $gifts = 15; } $data = mysql_query("SELECT * FROM `inventory` WHERE `owner` = '" . $user['id'] . "' AND (`name` LIKE '%Сувенир%' OR `name` LIKE '%Подарок%' OR `name` LIKE '%Валентинка%' OR `name` LIKE '%Открытка%' OR `name` LIKE 'Ель%' OR `name` LIKE '%Медаль%' OR `name` LIKE '%Статуэтка%'OR `name` LIKE '%Статуэтка%') AND `present` != '' AND `cost` < 24 ORDER BY `id` DESC LIMIT $gifts"); $cnt = mysql_query("SELECT `id` FROM `inventory` WHERE `owner` = '" . $user['id'] . "' AND (`name` LIKE '%Сувенир%' OR `name` LIKE '%Подарок%' OR `name` LIKE '%Валентинка%' OR `name` LIKE '%Открытка%' OR `name` LIKE 'Ель%' OR `name` LIKE '%Медаль%' OR `name` LIKE '%Статуэтка%'OR `name` LIKE '%Статуэтка%') AND `present` != '' AND `cost` < 24"); if (mysql_num_rows($data)) echo '

Сувениры :
'; $i = 0; while ($row = mysql_fetch_array($data)) { $why_gift = mysql_fetch_assoc(mysql_query("SELECT `id` FROM `users` WHERE `login` = '" . mysql_real_escape_string($row['present']) . "' LIMIT 1")); echo ''; $i++; } if ($i < mysql_num_rows($cnt)) { echo '
Показать еще Сувениры
'; } elseif ($gifts > 15 && $i >= mysql_num_rows($cnt)) { 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 "

Личное дело

"; $ldd = mysql_query("SELECT * FROM `lichka` WHERE `pers` = '" . $user['id'] . "' ORDER BY `id` ASC"); while ($ld = mysql_fetch_array($ldd)) { $dat = date("d.m.Y H:i", $ld['date']); $text = $ld['text']; echo "$dat $text
"; } } if ($okdop == 1) { echo "

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

"; $lplist = mysql_query("SELECT idperslater FROM delo_multi WHERE idpersnow = {$user['id']} GROUP BY idperslater ASC;"); while ($iplog = mysql_fetch_array($lplist)) { echo nick3($iplog['idperslater']) . " "; } echo "

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

"; if (!empty($user['id'])) echo "ID: " . $user['id'] . "
"; if (!empty($user['borndate'])) echo "День рождения: " . $user['borndate'] . "
"; if (!empty($user['ip'])) echo "IP при регистрации: " . $user['ip'] . "
"; # $data = mysql_query("SELECT `id`, `ip`, `login`, `status`, `level`, `room`, `align`, (select `id` from `online` WHERE `date` >= " . (time() - 60) . " AND `id` = users.`id`) as `online` FROM users WHERE refer='$user[id]' ORDER BY level DESC"); $i = 0; while ($row = mysql_fetch_array($data)) { $i++; if ($i == 1) echo "

Список рефералов:

"; if ($row['online'] > 0) { echo ''; nick2($row['id']); if ($row['id'] == $user['deal']) echo ' - ' . $row['status'] . ''; $rrm = $rooms[$row['room']]; echo ' - ', $rrm, '
'; } if ($row['online'] < 1) { echo 'Нет в клубе'; nick2($row['id']); if ($row['id'] == $user['deal']) echo ' - ', $row['status'], ''; echo ' - нет в игре'; } echo ' - IP:' . $row['ip'] . '
'; } echo ""; } if ($own['admin'] == 1) { if (!empty($user['email'])) echo "E-mail: " . $user['email'] . "
"; 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_s = mysql_query("SELECT * FROM `bank` WHERE `owner` = '{$user['id']}';")) { echo "

Банк

"; echo " "; while ($user_bank = mysql_fetch_assoc($user_bank_s)) { echo "
Кредитов. ЕвроКредитов. Репутации.
" . $user_bank['id'] . " " . $user_bank['cr'] . " " . $user_bank['ekr'] . " " . $user_bank['reputation'] . "

"; } } $own = mysql_fetch_array(mysql_query("SELECT `id`,`align`,`login` FROM `users` WHERE `id` = '{$_SESSION['uid']}' LIMIT 1;")); if ($_POST['del']) { $invs = mysql_query("SELECT * FROM `inventory` WHERE `id`='" . $_POST['del'] . "'"); $bbc = mysql_fetch_array($invs); if ($bbc['dressed'] == 1) { dropitem($bbc['type']); if ($bbc['type'] == 5) { dropitem(6); dropitem(7); } } mysql_query("DELETE FROM `inventory` WHERE `id` = '{$_POST['del']}' LIMIT 1;"); } $invv = mysql_query("SELECT * FROM `inventory` WHERE `owner` = '{$user['id']}' ORDER by `id` DESC;"); echo "

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

"; echo " "; while ($inv = mysql_fetch_array($invv)) { $ip = $iplog['ip']; echo " "; } echo "
ID Название Долговечность Колл. Картинка ×
{$inv['id']} {$inv['name']} {$inv['duration']}/{$inv['maxdur']} {$inv['koll']}
"; if ($_POST['undress_char']) undressall($user['id']); } ?>
www.old-dark.ru