PHP Classes

File: uploady/forgot-password.php

Recommend this page to a friend!
  Classes of Faris AL-Otabi   Uploady PHP Upload File to MySQL   uploady/forgot-password.php   Download  
File: uploady/forgot-password.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Uploady PHP Upload File to MySQL
Store file upload details in a MySQL database
Author: By
Last change: Update of uploady/forgot-password.php
Date: 11 months ago
Size: 1,735 bytes
 

Contents

Class file image Download
<?php
include_once 'session.php';
include_once
APP_PATH . 'logic/forgetPasswordLogic.php';
?>

<?php include_once 'components/header.php'; ?>

<div class="container pb-5 pt-5">
    <div class="row justify-content-center text-center">
        <div class="col-sm-12 col-md-8 col-lg-4">
            <div class="card">
                <div class="card-header">
                    <b><?= $lang["general"]['forget_password_header']; ?></b>
                </div>
                <div class="card-body">
                    <?php if (isset($error)) : ?>
<?= $utils->alert($error, 'danger', 'times-circle'); ?>
<?php endif; ?>
<?php if (isset($msg)) : ?>
<?= $utils->alert($msg); ?>
<?php endif; ?>
<div class="text-center mb-4">
                        <h4><?= $lang["general"]['forget_password_h4'] ?></h4>
                        <p><?= $lang["general"]['forget_password_msg']; ?></p>
                    </div>
                    <form method="POST" id="login_form">
                        <div class="mb-3">
                            <input type="text" class="form-control" name="email" placeholder="<?= $lang["general"]['enter_your_email']; ?>">
                        </div>

                        <div class="text-center">
                            <button type="submit" class="btn btn-primary">
                                <?= $lang["general"]['reset_password_button']; ?>
</button>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>

<?php include_once 'components/footer.php'; ?>