Файл: umenu.php
Строк: 104
<?php
require_once 'sys/inc/start.php';
require_once 'sys/inc/compress.php';
require_once 'sys/inc/sess.php';
require_once 'sys/inc/settings.php';
require_once 'sys/inc/db_connect.php';
require_once 'sys/inc/ipua.php';
require_once 'sys/inc/fnc.php';
require_once 'sys/inc/user.php';
only_reg();
$set['title'] = 'Личный кабинет';
require_once 'sys/inc/thead.php';
title();
err();
aut();
if ((!isset($_SESSION['refer']) || $_SESSION['refer'] == NULL) && isset($_SERVER['HTTP_REFERER']) && $_SERVER['HTTP_REFERER'] != NULL &&
!preg_match('#umenu.php#', $_SERVER['HTTP_REFERER'])) {
$_SESSION['refer'] = str_replace('&', '&', preg_replace('#^http://[^/]*/#', '/', $_SERVER['HTTP_REFERER']));
}
echo "<div class = 'razd1'>";
echo "<span class = 'icon icon130' /> Ваши монеты: $user[money]<br /><br />";
echo "<span class = 'icon icon51' /> Ваши уникальные монеты: $user[unical_money]<br />";
echo "</div>";
echo "<a href = '/pages/shop'><div class = 'razd'>n";
echo img('shop.png') . " Магазин</div></a>";
echo "<a href = '/user/my_aut.php'><div class = 'razd'>n";
echo img('door-open-in.png')." Журнал авторизаций</div></a>";
echo "<a href = '/user/avtolog.php'><div class = 'razd'>n";
echo img('textfield_password_green.png')." Автологин</div></a>";
echo "<a href = '/info/kodex/'><div class = 'razd'>n";
echo img('set_security_question.png')." Кодекс</div></a>";
echo "<a href = '/info/rules.php'><div class = 'razd'>n";
echo img('information-white.png')." Правила сайта</div></a>";
echo "<div class = 'blok'>Настройки</div>";
echo "<a href = '/user/settings.php'><div class = 'razd'>n";
echo img('wrench.png') . " Обновные настройки</div></a>";
echo "<a href = '/user/anketa/setting.php'><div class = 'razd'>n";
echo img('vcard_edit.png') . " Анкета</div></a>";
echo "<a href = '/user/settings/avatar.php'><div class = 'razd'>n";
echo img('photo.png') . " Аватар</div></a>";
echo "<a href = '/user/settings/them.php'><div class = 'razd'>n";
echo img('color_management.png') . " Тема оформления</div></a>";
echo "<a href = '/user/settings/time.php'><div class = 'razd'>n";
echo img('clock.png') . " Время</div></a>";
echo "<a href = '/user/settings/stat.php'><div class = 'razd'>n";
echo img('image-instagram.png') . " Статы</div></a>";
echo "<a href = '/user/links/'><div class = 'razd'>n";
echo img('marker.png') . " Панель навигации</div></a>";
echo "<a href = '/user/settings/online.panel.php'><div class = 'razd'>n";
echo img('application_side_list.png') . " Онлайн панель</div></a>";
echo "<a href = '/user/settings/login.php'><div class = 'razd'>n";
echo img('text_area.png') . " Логин</div></a>";
echo "<a href = '/user/settings/ncolor.php'><div class = 'razd'>n";
echo img('color_swatch.png') . " Цвет логина</div></a>";
echo "<a href = '/user/settings/password.php'><div class = 'razd'>n";
echo img('lock_edit.png') . " Пароль</div></a>";
if (user_access('adm_panel_show')) {
echo "<div class = 'blok'>Администрирование</div>";
echo "<a href = '/adm_panel/'><div class = 'razd'>n";
echo img('application_side_list.png') . " <b>Панель управления сайтом</b></div></a>";
}
if (isset($_SESSION['refer']) && $_SESSION['refer'] != NULL && otkuda($_SESSION['refer'])) {
echo "<div class = 'razd'>";
echo img('left.png') . " <a href = '$_SESSION[refer]'>" . otkuda($_SESSION['refer']) . "</a>";
echo "</div>";
}
require_once 'sys/inc/tfoot.php';