This commit is contained in:
lopar 2019-01-16 03:22:09 +02:00
parent 86f02953c9
commit afc15a384f

View File

@ -13,7 +13,9 @@ $presents = db::c()->query('SELECT `img`,`present` FROM `inventory` WHERE type =
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 ? "&nbsp;<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;">