File manager - Edit - /home/infoilmg/nfnen.xyz/payment.php
Back
<?php require_once "logic/config.php"; ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title> <?php echo $site_name; ?> </title> <link rel="shortcut icon" href="assets/ico.png" type="image/x-icon"> <link rel="stylesheet" href="styles/main.css"> <link rel="stylesheet" href="styles/payment.css"> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous"> <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=DM+Sans:wght@700&family=Inter:wght@200;300;400;500;600;700;800&display=swap" rel="stylesheet"> </head> <body> <nav class="navbar navbar-light navbar-expand-md "> <div class="navFlex centering justify-content-md-center"> <a class="navbar-brand d-md-none d-inline mobLink" href="/"><?php echo $site_name; ?></a> <button class="navbar-toggler ml-1" type="button" data-toggle="collapse" data-target="#collapsingNavbar2"> <span class="navbar-toggler-icon"></span> </button> <a class="nav-link mobLink" href="/"> <p><?php echo $site_name; ?></p> </a> <div class="navbar-collapse collapse justify-content-between align-items-center w-100" id="collapsingNavbar2"> <ul class="navbar-nav mx-auto text-md-center text-left"> <li class="nav-item"> <a class="lng-features nav-link" href="/#marketTrend">Features</a> </li> <li class="nav-item"> <a class="lng-pricing nav-link" href="/#exchange_section">Pricing</a> </li> <li class="nav-item"> <a class="lng-help nav-link" href="/#help" >Help</a> </li> <li class="nav-dark-item nav-item" > <select class="select-language"> <option value="en">EN </option> <option value="ru">RU </option> </select> </li> </ul> </div> </div> </nav> <section class="payment_main"> <div class="centering"> <div class="title"> <h1 class="lng-pay-request">Pay your exchange request</h1> </div> <div class="description"> <p id="paymentOrderId">Order ID <span id="lng-transaction-id">96924</span></p> <p id="demo"></p> </div> <div class="data"> <div class="data-div"> <div class="textInfo"> <p class="data_title lng-send-text">Send <span id="sendText"></span> to the following address</p> <div class="service_info"> <div class="wallet"> <div class="copiedTextDiv"> <p id="sendWallet">94523495929gi24594g8dfg90-2</p> </div> <div class="copyBtn" onclick="copyBtn(2)"> <p>Copy</p> </div> </div> <div class="amount"> <div class="copiedTextDiv"> <p id="sendvp">0.02543</p> </div> <div class="copyBtn" onclick="copyBtn(1)"> <p>Copy</p> </div> </div> </div> <p class="lng-right-address dataAttention">Make sure to send your coins to the <strong class="black">right address!</strong></p> </div> <div class="qrInfo"> <div class="qrcode" id="qrcode"> </div> </div> </div> </div> </div> <div class="centering payment_btns"> <button class="cancelBtn" type="button" name="button" onclick="cancel()"> <img src="assets/arrow-left.svg" alt=""> <p class="lng-get-back">Get back</p> </button> <button class="ipaidBtn" type="button" name="button" onclick="goToWaiting()"> <p class="lng-i-paid">I paid</p> </button> </div> </section> <footer id="help"> <div class="centering questionsD"> <p class="lng-any-questions questions">Any questions?</p> </div> <div class="centering"> <div class=""> <ul> <li><a class="lng-about li-a" href="#">About</a></li> <li><a class="lng-features2 li-a" href="#marketTrend">Features</a></li> <li><a class="lng-pricing li-a" href="#exchange_section">Pricing</a></li> <li><a class="lng-news li-a" href="#marketTrend">News</a></li> <?php echo '<li><a class="lng-help li-a" href="'.$supportTG.'">Help</a></li>'; ?> <?php echo '<li><a class="lng-contact li-a" href="'.$supportTG.'">Contact</a></li>'; ?> </ul> <p class="sfname">© 2022 <?php echo $site_name; ?></p> </div> <div class="f-r"> <?php echo '<a class="lng-contact-support tgsup" href="'.$supportTG.'">Contact support</a>'; ?> <p class="lng-answering support_description">Answering within a minute!</p> </div> </div> </footer> <script src="scripts/Texts/textsMainPage.js" type="text/javascript"> </script> <script src="scripts/translate.js" type="text/javascript"> </script> <script type="text/javascript"> if(!localStorage.getItem("inputAmount")){ window.location.replace('/') } </script> <script> <?php try{ $query = $pdo->prepare("SELECT * FROM orders where transactionId = '".$_COOKIE["transactionId"]."'"); $query->execute(); $result = $query; foreach ($result as $row) { echo "if(".$row["accepted"]."){"; echo "window.location.replace('/success');}"; }} catch(Exception $e){ } finally{} ?> </script> <script> //document.getElementById("tag").innerText = "<?php echo $site_name; ?> address (" + localStorage.getItem("coinSend") + ")"; var systemWallet = "" </script> <script> <?php $query = $pdo->prepare("SELECT * FROM wallets "); $query->execute(); $result = $query; foreach ($result as $row) { echo "if(localStorage.getItem('sendCoinName')=='" . $row['coinName'] . "'){ systemWallet = '" . $row['wallet'] . "' }"; } ?> </script> <script> function goToWaiting(){ window.location.href = '/waiting'; } function cancel(){ localStorage.clear(); window.location.href = '/'; } // Set the date we're counting down to var countDownDate = new Date(localStorage.getItem("creationTime")).getTime(); console.log(countDownDate); // Update the count down every 1 second var x = setInterval(function() { // Get today's date and time var now = new Date().getTime(); // Find the distance between now and the count down date var distance = countDownDate - now; // Time calculations for days, hours, minutes and seconds var days = Math.floor(distance / (1000 * 60 * 60 * 24)); var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); var seconds = Math.floor((distance % (1000 * 60)) / 1000); // Output the result in an element with id="demo" document.getElementById("demo").innerHTML = minutes + ":" + seconds; // If the count down is over, write some text if (distance < 0) { clearInterval(x); window.location.href = '/'; } }, 1000); document.getElementById("lng-transaction-id").innerText= localStorage.getItem("transactionId") document.getElementById("sendWallet").innerText=systemWallet; document.getElementById("sendvp").innerText=localStorage.getItem("inputAmount"); var sendText = localStorage.getItem("inputAmount")+" " + localStorage.getItem("sendCoinName"); document.getElementById("sendText").innerText=sendText; </script> <script src="scripts/profile.js" type="text/javascript"> </script> <script src="https://cdn.jsdelivr.net/gh/davidshimjs/qrcodejs@gh-pages/qrcode.min.js"></script> <script type="text/javascript"> new QRCode(document.getElementById("qrcode"), systemWallet); </script> <script type="text/javascript"> </script> <script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script> <script src="https://cdn.jsdelivr.net/npm/popper.js@1.12.9/dist/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script> <script src="https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script> </body> </html>
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Generation time: 0.06 |
proxy
|
phpinfo
|
Settings