Файл: page/settings/index.php
Строк: 57
<?php
$title = 'Настройки';
require_once($_SERVER["DOCUMENT_ROOT"]."/inc/head.php");
if (isset($active)) {
echo '<div class="title">Настройки</div>
<div class="forlink"><a href="/settings/profile" class="links"><img src="/img/edit.png" alt="edit">Настройки профиля</a></div>
<div class="forlink"><a href="/settings/gradient" class="links"><img src="/img/looks.png" alt="looks">Градиент ника</a></div>
<div class="forlink"><a href="/settings/icon" class="links"><img src="/img/face.png" alt="face">Личная иконка</a></div>
<div class="forlink"><a href="/settings/rename" class="links"><img src="/img/text.png" alt="text">Смена ника</a></div>
<div class="forlink"><a href="/settings/password" class="links"><img src="/img/lock.png" alt="lock">Смена пароля</a></div>
<div class="forlink"><a href="/settings/email" class="links"><img src="/img/email.png" alt="email">Смена E-mail</a></div>
<div class="forlink"><a href="/settings/blacklist" class="links"><img src="/img/nonotif.png" alt="nonotif">Черный список<div class="chi">'.$count_black.'</div></a></div>
<div class="forlink"><a href="/settings/authlog" class="links"> <img src="/img/vpn.png" alt="vpn">История авторизаций<div class="chi">'.$count_auth.'</div>'.($user['captcha'] && $user['attempts'] ? '<img src="/img/danger.png" alt="danger">' : '').'</a></div>
<div class="forlink"><a href="/settings/wmid" class="links"><img src="/img/webmoney.png" alt="webmoney">Платёжные реквизиты</a></div>';
} else {
header('Location: /');
}
require($_SERVER["DOCUMENT_ROOT"]."/inc/foot.php");
?>