Файл: pages/_account.php
Строк: 92
<?PHP
$_OPTIMIZATION["title"] = "Аккаунт";
$_OPTIMIZATION["description"] = "Аккаунт пользователя";
$_OPTIMIZATION["keywords"] = "Аккаунт, личный кабинет, пользователь";
# Блокировка сессии
if(!isset($_SESSION["user_id"])){ Header("Location: /"); return; }
if(isset($_GET["sel"])){
        
    $smenu = strval($_GET["sel"]);
            
    switch($smenu){
        
        case "404": include("pages/_404.php"); break; // Страница ошибки
        case "knb": include("pages/_knb.php"); break; // КНБ
        case "auc": include("pages/account/_auc.php"); break; // Аукцион
        case "eco": include("pages/_eco.php"); break; // Эко-Житель
        case "rul": include("pages/account/_rul.php"); break;
        
        case "success": include("pages/_success.php"); break; // Успешный платёж
        case "fail": include("pages/_fail.php"); break; // Платёж отменён
        
        case "chat": include("pages/account/_chat.php"); break; // ЧАТ
        case "donations": include("pages/account/_donations.php"); break; // Пожертвования
        case "stats": include("pages/account/_story.php"); break; // Статистика
        case "referals": include("pages/account/_referals.php"); break; // Рефералы
        case "farm": include("pages/account/_farm.php"); break; // ЭКо
        
        case "aqua": include("pages/account/_aqua.php"); break; // Аква
        
        case "bitva": include("pages/account/_bitva.php"); break; // Битва
        
        case "store": include("pages/account/_store.php"); break; // Эко Склад
        
        case "aquastore": include("pages/account/_aqua_store.php"); break; // Аква Склад
        
        case "swap": include("pages/account/_swap.php"); break; // Обменный пункт
        case "swap2": include("pages/account/_swap2.php"); break; // Обменный пункт 2
        case "market": include("pages/account/_market.php"); break; // Гос-Рынок
        
        case "aquamarket": include("pages/account/_aqua_market.php"); break; // Аква-Рынок
        
        case "payment": include("pages/account/_payment.php"); break; // Выплата WM
        case "payment_qiwi": include("pages/account/_payment_qiwi.php"); break; // Выплата QIWI
        case "insert": include("pages/account/_insert.php"); break; // Пополнение баланса
        case "config": include("pages/account/_config.php"); break; // Настройки
        case "bonus": include("pages/account/_bonus.php"); break; // Ежедневный бонус
        case "bonus2": include("pages/account/_bonus2.php"); break; // Бонус с риском
        
            case "promo": include("pages/account/_promo.php"); break; // Рекламные материалы
            
            case "best": include("pages/account/_best.php"); break; // Конкурсы
            
            case "help": include("pages/account/_help.php"); break; // Помощь проекту
            
            case "static": include("pages/account/_static.php"); break; // Статистика
        
        case "set": include("pages/account/_set.php"); break; // Сэты
        case "lottery": include("pages/account/_lottery.php"); break; // Лотерея
        case "back": include("pages/account/_back.php"); break; // Накопительный банк
                
        case "exit": @session_destroy(); Header("Location: /"); return; break; // Выход
                
    # Страница ошибки
    default: @include("pages/_404.php"); break;
            
    }
            
}else @include("pages/account/_user_account.php");
?>