PHP Classes

File: uploady/auth.php

Recommend this page to a friend!
  Classes of Faris AL-Otabi   Uploady PHP Upload File to MySQL   uploady/auth.php   Download  
File: uploady/auth.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/auth.php
Date: 4 months ago
Size: 1,730 bytes


Class file image Download
include_once 'session.php';
APP_PATH . 'logic/authLogic.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"]['two_factor_title']; ?></b>
                <div class="card-body container text-left">
                    <?php if (isset($error)) : ?>
<?= $utils->alert($error, 'danger', 'times-circle'); ?>
<?php endif; ?>
<form method="POST" id="login_form">
                        <div class="mb-3">
                            <input type="text" maxlength="6" max="6" class="form-control" name="otp_code" placeholder="<?= $lang["general"]['please_enter_your_code']; ?>">

                        <div class="custom-control custom-checkbox">
                            <input type="checkbox" class="custom-control-input" id="remberme" name="remberme">
                            <label class="custom-control-label" for="remberme"><?= $lang["general"]['trust_device']; ?></label>

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

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