PHP Classes

File: compiles/2736fab291f04e69b62d490c3c09361f5b82461a.bladec

Recommend this page to a friend!
  Classes of Jorge Castro   PHP PDO Login System One   compiles/2736fab291f04e69b62d490c3c09361f5b82461a.bladec   Download  
File: compiles/2736fab291f04e69b62d490c3c09361f5b82461a.bladec
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP PDO Login System One
Authenticate users with records on MySQL using PDO
Author: By
Last change:
Date: 3 years ago
Size: 1,293 bytes
 

Contents

Class file image Download
<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<link href="css/css.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>

<!------ Include the above in your HEAD tag ---------->

<div class="wrapper fadeInDown">
 <div id="formContent">
 <!-- Tabs Titles -->
 <br>
 <!-- Icon -->
 <div class="fadeIn first">
 <img src="https://avatars3.githubusercontent.com/u/19829219?s=200&v=4" style="width:128px; height:128px;" id="icon" alt="User Icon" />
 </div>

 <!-- Login Form -->
 <form method="post">
 <input type="text" id="login" class="fadeIn second" name="login" placeholder="login"
 value="<?php echo static::e($login); ?>">
 <input type="text" id="password" class="fadeIn third" name="password" placeholder="password"
 value="<?php echo static::e($password); ?>">
 <input type="submit" class="fadeIn fourth" name="buttonlogin" value="Log In">
 </form>
 <?php if(validationOne()->messageList->firstErrorText()): ?>
<div class="alert alert-danger" role="alert">
 <?php echo validationOne()->messageList->firstErrorText(); ?>

 </div>
 <?php endif; ?>



 </div>
</div>