This commit is contained in:
lopar 2018-03-07 01:38:51 +02:00
parent 4f46e7e5ed
commit 5cf4bd51d3

View File

@ -74,7 +74,7 @@ if (empty($user['id'])) {
<!-- Нижняя часть -->
<?php
$effect = db::c()->query('SELECT `time` FROM `effects` WHERE `owner` = ?i AND `type` = ?i ', $user['id'], 5)->fetch_assoc();
if ($effect['time'] AND ($own['admin'] != 1) die('<h3>Персонаж обезличен!</h3>');
if ($effect['time'] AND ($own['admin'] != 1)) die('<h3>Персонаж обезличен!</h3>');
if (!empty($user['realname'])) echo "Имя: " . $user['realname'] . "<br>";
?>
<p style="font-family: Consolas,monospace;"><?=nl2br($user['info'])?></p><hr>