Удаление блока кастомных страниц в профиле.
This commit is contained in:
parent
e01bba54f8
commit
7aab82b70b
@ -1,7 +0,0 @@
|
|||||||
<div style="text-align: center;font-variant: small-caps;color: crimson;">
|
|
||||||
<h3>Праотец</h3>
|
|
||||||
<img src="https://fun-lover.com/graphic-shop/Clips/images/Wizards/wz-10.png">
|
|
||||||
<p>Когда ты отправляешь противника к праотцам — ты отправляешь его ко мне.</p>
|
|
||||||
</div>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
4
inf.php
4
inf.php
@ -44,9 +44,7 @@ if (empty($user->id)): ?>
|
|||||||
<link href="css/main.css" rel="stylesheet">
|
<link href="css/main.css" rel="stylesheet">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<?php if ($user->admin === 1 && private_access($uid) !== ADMINISTRATOR_ACCESS && file_exists('customuserdata/' . $user['id'])) {
|
<?php
|
||||||
die(file_get_contents('customuserdata/' . $user['id']));
|
|
||||||
}
|
|
||||||
try {
|
try {
|
||||||
$effect = db::c()->query('SELECT `time` FROM `effects` WHERE `owner` = ?i AND `type` = ?i ', $this->id, 5)->fetch_assoc();
|
$effect = db::c()->query('SELECT `time` FROM `effects` WHERE `owner` = ?i AND `type` = ?i ', $this->id, 5)->fetch_assoc();
|
||||||
if ($effect['time'] && !private_access($uid)) {
|
if ($effect['time'] && !private_access($uid)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user