CINXE.COM
Message
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Message</title> <link href="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet"> <link href="https://cdn.bootcdn.net/ajax/libs/font-awesome/6.1.1/css/all.min.css" rel="stylesheet"> <style type="text/css"> body { background: #f5f5f5; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; color: #333; padding-top: 50px; } .system-message { background: #fff; border-radius: 8px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); padding: 30px; max-width: 800px; margin: 0 auto; text-align: center; } .system-message h1 { font-size: 80px; color: #444; margin-bottom: 20px; } .system-message .message-icon { font-size: 80px; margin-bottom: 20px; } .system-message .success { color: #28a745; font-size: 24px; } .system-message .error { color: #dc3545; font-size: 24px; } .system-message .jump { margin-top: 20px; font-size: 16px; } .system-message .jump a { color: #fff; text-decoration: none; } .system-message .jump a:hover { text-decoration: underline; } .system-message .detail { font-size: 16px; line-height: 20px; margin-top: 12px; display: none; } .system-message .btn-primary { margin-top: 20px; background-color: #007bff; border-color: #007bff; } .system-message .btn-primary:hover { background-color: #0056b3; border-color: #0056b3; } </style> </head> <body> <div class="container"> <div class="system-message"> <div class="message-icon text-danger"> <i class="fa fa-exclamation-circle"></i> </div> <p class="error">please sign in or register first</p> <p class="detail"></p> <p class="jump"> The page will redirect after <b id="wait">5</b> seconds. <br /> <a href="/index.php/Home/Member/login.html" id="href" class="btn btn-primary">Click here</a> </p> </div> </div> <script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.5.1/jquery.min.js"></script> <script src="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script> <script type="text/javascript"> (function(){ var wait = document.getElementById('wait'), href = document.getElementById('href').href; var interval = setInterval(function(){ var time = --wait.innerHTML; if(time <= 0) { location.href = href; clearInterval(interval); } }, 1000); })(); </script> </body> </html>