joke
This commit is contained in:
parent
86f02953c9
commit
afc15a384f
8
inf.php
8
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'])): ?>
|
||||
<html>
|
||||
<head><meta charset="utf-8"><title>Ошибка</title></head>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Ошибка</title></head>
|
||||
<body style="color: #666; background-color: #d5d5d5; text-align: center; font-family: Consolas,monospace;">
|
||||
Ошибка: персонаж<?= ($login ? " <em>" . $login . "</em>" : ""); ?> не найден...
|
||||
<p><a style="color: #99f" href="javascript:window.history.go(-1);">←назад</a></p>
|
||||
@ -29,7 +31,7 @@ if (empty($user['id'])): ?>
|
||||
<link href="css/tooltip.css" rel="stylesheet">
|
||||
</head>
|
||||
<BODY onload="<?= topsethp() ?>">
|
||||
<?php if ($user['admin'] == 1 AND $own['admin'] != 1 ) die(file_get_contents('customuserdata/'.$user['id']));?>
|
||||
<?php if ($user['admin'] == 1 AND $own['admin'] != 1 AND file_exists('customuserdata/' . $user['id'])) die(file_get_contents('customuserdata/' . $user['id'])); ?>
|
||||
<table width=100%>
|
||||
<tr>
|
||||
<td style="width: 250px; vertical-align: top;">
|
||||
|
Loading…
Reference in New Issue
Block a user