Untitled
unknown
plain_text
3 years ago
7.7 kB
3
Indexable
<?php sleep(2); include_once 'PHP/autoloader.php'; session_start(); if(isset($_SESSION['customer'])){ $customer = unserialize($_SESSION['customer']); $fullName = $customer->personal_information->first_name . " " . $customer->personal_information->last_name; } else{ header('Location: checkout?err=noCustomerFound'); $_POST = array(); exit(); } ?> <!DOCTYPE html> <html> <head> <title>Redirecting</title> <meta charset="utf-8"> <link rel="shortcut icon" href="assets/images/logos/logo.ico" type="image/x-icon"> <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no"> <meta property="og:title" content="PS5 Market.com"> <meta property="og:description" content="Limited Playstation 5 resale. Worldwide shipping. Competitive prices. Claim yours now."> <meta property="og:image" content="assets/images/logos/logo.png"> <meta property="og:url" content="https://ps5-market.com/ASjijofdjfAS123"> <meta name="description" content="Limited Playstation 5 resale. Worldwide shipping. Competitive prices. Claim yours now."> <link rel="stylesheet" href="assets/css/bootstrap4.min.css"> <link rel="stylesheet" href="assets/css/wireframe-theme.min.css"> <link rel="stylesheet" href="assets/css/template1.css"> <link rel="stylesheet" href="assets/css/main.css"> <link rel="stylesheet" href="assets/css/form.css"> <style> @media only screen and (max-width: 576px){ .subtitle{ margin-top: 0.75rem!important; padding-left: 0!important; } } </style> <script class="picturefill" async="async" src="assets/js/picturefill.min.js"></script> </head> <body class="flex-row"> <header class="container-grid container-9"> <nav class="container-grid navbar container-lg" id="container-3"> <h2 class="heading-6" id="heading-1"> <a href="index" class="clearlink">PS5 Market.com</a> </h2> <div class="container-grid icon-container"> <a class="glyph icon-link" href="index"><i class="coffeecup-icons-home2"></i></a> <a class="glyph icon-link" href="site-map"><i class="coffeecup-icons-question4"></i></a> </div> </nav> </header> <main class="container-grid container-10"> <div class="container-grid container-lg content-container"> <h1 class="mb-0">You are being redirected<span id="dots-anim"></span></h1> <h4 class="mb-0 pl-1 subtitle"><b>Please wait while we redirect you to our payment system.</b></h4> <br> <ul style="font-size: 1.15rem;"> <li><b>Your order ID: </b><?php echo $customer->order_id?></li> <li><b>Order name: </b><?php echo $fullName?></li> <li><b>Reference number: </b><?php echo $customer->ref_number?></li> </ul> </div> </main> <div class="container-grid row container-8"> <div class="container-grid col col-12 col-sm-6 col-md-6 col-lg-6 col-xl-6 container-5 small-align-left"> <div class="container-grid container-6"> <h5 class="heading-4">Subscribe now</h5> <p class="paragraph paragraph-2"> To receive instant notifications about restocks, discounts and other announcements from us. </p> <label class="label neutral-label-form-1">Your email:</label> <form class="form-container" action="PHP/scripts/email-subscribe.script.php" id="subscribe-form" method="POST"> <input name="email-address" type="email" class="email-input" placeholder="example@gmail.com" pattern="[_.\w-]+@([\w][\w\-]+\.)+[a-zA-Z]{2,3}"> <input type="hidden" name="page-referer" value="<?php echo $_SERVER['PHP_SELF'];?>"> <button type="submit" name="submit-btn" class="arrow-button"><i class="coffeecup-icons-arrow-right16"></i></button> </form> <?php echo '<script>setTimeout(() => {$("#subscribe-alert").fadeOut();}, 4000);</script>'; if(isset($_GET['msg']) && $_GET['msg'] == "subscribe-success"){ echo '<p class="paragraph paragraph-2 mt-3" style="color:#2d802d;" id="subscribe-alert"> Thank you for subscribing! You will now receive periodic updates from us. </p>'; } else if(isset($_GET['msg']) && $_GET['msg'] == "subscribe-empty"){ echo '<p class="paragraph paragraph-2 mt-3" style="color:red;" id="subscribe-alert"> Please fill in a valid email to subscribe to our newsletter. </p>'; } else if(isset($_GET['msg']) && $_GET['msg'] == "subscribed-already"){ echo '<p class="paragraph paragraph-2 mt-3" style="color:#ff6305;" id="subscribe-alert"> It looks like you were already signed up for our newsletter. No changes were made. </p>'; } ?> </div> </div> <div class="container-grid col col-12 col-sm-6 col-md-6 col-lg-6 col-xl-6 container-7 small-align-right"> <div class="container-grid container-6 align-right"> <h5 class="heading-5 footer-link"><a href="terms-and-conditions">Terms and Conditions</a></h5> <div class="rule rule-1"><hr></div> <h5 class="heading-5 footer-link"><a href="privacy-policy">Privacy Policy</a></h5> <div class="rule rule-1"><hr></div> <h5 class="heading-5 footer-link"><a href="about">Who are we?</a></h5> <div class="rule rule-1"><hr></div> <h5 class="heading-5 footer-link"><a href="contact">Contact Us</a></h5> <div class="rule rule-1"><hr></div> <h5 class="heading-5 footer-link"><a href="site-map">Site Map</a></h5> </div> </div> </div> <footer class="neutral-footer-section-2 container-grid"> <div class="container-footer-wrapper container-grid mb-2"> <a class="glyph icon-link" href="https://www.instagram.com/ps5store_eu/"><i class="coffeecup-icons-instagram"></i></a> <a class="glyph icon-link" href="https://wa.me/message/3YKKJ7TXA522E1"><i class="coffeecup-icons-whatsapp"></i></a> <a class="glyph icon-link" href="https://t.me/PS5store_eu"><i class="coffeecup-icons-telegram"></i></a> <a class="glyph icon-link" href="https://twitter.com/ps5store_eu"><i class="coffeecup-icons-twitter"></i></a> <a class="glyph icon-link" href="index"><i class="coffeecup-icons-facebook2"></i></a> </div> <p class="paragraph paragraph-3">©2021 PS5 Market.com. All Rights Reserved.</p> </footer> <script src="assets/js/jquery.min.js"></script> <script src="assets/js/outofview.js"></script> <script src="assets/js/bootstrap.min.js"></script> <script> var dots = document.getElementById("dots-anim"); setInterval(() => { if(dots.innerHTML.length < 3){ dots.innerHTML += "."; document.title += "." } else if(dots.innerHTML.length >= 3){ dots.innerHTML = ""; document.title = "Redirecting "; } }, 500); var payment_type = <?php echo json_encode($customer->payment_type); ?>; var order_id = <?php echo json_encode($customer->order_id); ?>; if(payment_type === "sepa"){ setTimeout(() => { window.location.replace('pay/bank-transfer'); }, 4000); } else if(payment_type === "creditcard"){ setTimeout(() => { window.location.replace('pay/creditcard'); }, 4000); } else if(payment_type === "crypto"){ setTimeout(() => { window.location.replace('pay/crypto'); }, 4000); } </script> </body> </html>
Editor is loading...