inf bug
This commit is contained in:
parent
4f46e7e5ed
commit
5cf4bd51d3
2
inf.php
2
inf.php
@ -74,7 +74,7 @@ if (empty($user['id'])) {
|
|||||||
<!-- Нижняя часть -->
|
<!-- Нижняя часть -->
|
||||||
<?php
|
<?php
|
||||||
$effect = db::c()->query('SELECT `time` FROM `effects` WHERE `owner` = ?i AND `type` = ?i ', $user['id'], 5)->fetch_assoc();
|
$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>";
|
if (!empty($user['realname'])) echo "Имя: " . $user['realname'] . "<br>";
|
||||||
?>
|
?>
|
||||||
<p style="font-family: Consolas,monospace;"><?=nl2br($user['info'])?></p><hr>
|
<p style="font-family: Consolas,monospace;"><?=nl2br($user['info'])?></p><hr>
|
||||||
|
Loading…
Reference in New Issue
Block a user