Удаление блока кастомных страниц в профиле.

This commit is contained in:
lopar 2020-07-05 19:44:41 +03:00
parent e01bba54f8
commit 7aab82b70b
2 changed files with 1 additions and 10 deletions

View File

@ -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>

View File

@ -44,9 +44,7 @@ if (empty($user->id)): ?>
<link href="css/main.css" rel="stylesheet">
</head>
<body>
<?php if ($user->admin === 1 && private_access($uid) !== ADMINISTRATOR_ACCESS && file_exists('customuserdata/' . $user['id'])) {
die(file_get_contents('customuserdata/' . $user['id']));
}
<?php
try {
$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)) {