code cleaning
This commit is contained in:
7
inf.php
7
inf.php
@@ -28,12 +28,12 @@ if (empty($user['id'])) {
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<title>Информация о <?= $user['login'] ?></title>
|
||||
<title>Информация о <?=$user['login']?></title>
|
||||
<meta charset=UTF-8"/>
|
||||
<link href="css/main.css" rel="stylesheet">
|
||||
<link href="css/tooltip.css" rel="stylesheet">
|
||||
</head>
|
||||
<BODY bgColor=#e2e0e0 onload="<?= topsethp(); ?>">
|
||||
<BODY bgColor=#e2e0e0 onload="<?=topsethp()?>">
|
||||
<TABLE cellPadding=0 cellSpacing=0 width=100% border=0>
|
||||
<TBODY>
|
||||
<TR>
|
||||
@@ -74,9 +74,8 @@ 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 OR ((int)$own['align']) != 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['lozung'])) echo "Лозунг: " . $user['lozung'] . "<br>";
|
||||
?>
|
||||
<p style="font-family: Consolas,monospace;"><?=nl2br($user['info'])?></p><hr>
|
||||
<div id="Content">
|
||||
|
||||
Reference in New Issue
Block a user