EVOLUTION-NINJA
Edit File: forgot_password.php
<!DOCTYPE html> <html> <head> <title>Forgot Password</title> <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet"> <style> body { background: url('<?= base_url("public/assets/images/money-2696229_1280.jpg") ?>') no-repeat center center fixed; background-size: 100%; /* Compress to 80% of the screen */ background-repeat: no-repeat; background-position: center; background-color: #f8f9fa; /* fallback color */ } </style> </head> <body> <div class="container mt-5" style="max-width: 450px;"> <div class="card shadow"> <div class="card-body"> <h4 class="mb-4 text-center">Forgot Password</h4> <?php if(session()->getFlashdata('error')): ?> <div class="alert alert-danger"><?= session()->getFlashdata('error') ?></div> <?php endif; ?> <?php if(session()->getFlashdata('message')): ?> <div class="alert alert-success"><?= session()->getFlashdata('message') ?></div> <?php endif; ?> <form method="post" action="<?= base_url('send-otp') ?>"> <div class="mb-3"> <label for="email" class="form-label">Enter Your Registered Email</label> <input type="email" class="form-control" name="email" required> </div> <button type="submit" class="btn btn-primary w-100">Send OTP</button> </form> </div> </div> </div> </body> </html>