Файл: start.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';
err();
aut();
if ((!isset($_SESSION['refer']) || $_SESSION['refer'] == NULL) && isset($_SERVER['HTTP_REFERER']) && $_SERVER['HTTP_REFERER'] != NULL &&
!preg_match('#start.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 = '/user/login_edit.php'><div class = 'razd'>n";
echo "<span class = 'icon icon93' /> Изменить логин</div></a>";
echo "<a href = '/user/ncolor.php'><div class = 'razd'>n";
echo "<span class = 'icon icon94' /> Изменить цвет логина</div></a>";
echo "<a href = '/user/password_edit.php'><div class = 'razd'>n";
echo "<span class = 'icon icon123' /> Изменить пароль</div></a>";
echo "<a href = '/user/stat.php'><div class = 'razd'>n";
echo "<span class = 'icon icon19' /> Изменить стат</div></a>";
echo "<a href = '/user/anketa/setting.php'><div class = 'razd'>n";
echo "<span class = 'icon icon111' /> Изменить анкету</div></a>";
echo "<a href = '/user/avatar.php'><div class = 'razd'>n";
echo "<span class = 'icon icon147' /> Изменить аватар</div></a>";
echo "<a href = '/user/settings.php'><div class = 'razd'>n";
echo "<span class = 'icon icon96' /> Настройки</div></a>";
echo "<a href = '/user/links'><div class = 'razd'>n";
echo "<span class = 'icon icon119' /> Панель навигации</div></a>";
echo "<a href = '/pages/shop'><div class = 'razd'>n";
echo "<span class = 'icon icon169' /> Магазин</div></a>";
echo "<a href = '/user/my_aut.php'><div class = 'razd'>n";
echo "<span class = 'icon icon142' /> Журнал авторизаций</div></a>";
echo "<a href = '/user/avtolog.php'><div class = 'razd'>n";
echo "<span class = 'icon icon141' /> Автологин</div></a>";
echo "<a href = '/info/kodex/'><div class = 'razd'>n";
echo "<span class = 'icon icon168' /> Кодекс</div></a>";
echo "<a href = '/info/rules.php'><div class = 'razd'>n";
echo "<span class = 'icon icon113' /> Правила сайта</div></a>";
if (user_access('adm_panel_show')) {
echo "<a href = '/adm_panel/'><div class = 'razd'>n";
echo "<span class = 'icon icon124' /> <b>Панель управления сайтом</b></div></a>";
}
if (isset($_SESSION['refer']) && $_SESSION['refer'] != NULL && otkuda($_SESSION['refer'])) {
echo "<div class = 'razd'>";
echo "<span class = 'icon icon63' /> <a href = '$_SESSION[refer]'>" . otkuda($_SESSION['refer']) . "</a>";
echo "</div>";
}
require_once 'sys/inc/tfoot.php';