PHP Classes

File: fwphp/01mater/shop/admin/account/account_login.php

Recommend this page to a friend!
  Classes of Slavko Srakocic  >  B12 PHP FW  >  fwphp/01mater/shop/admin/account/account_login.php  >  Download  
File: fwphp/01mater/shop/admin/account/account_login.php
Role: Example script
Content type: text/plain
Description: Example script
Class: B12 PHP FW
Manage database records with a PDO CRUD interface
Author: By
Last change: ver 7.0.1 mnu, msg, mkd FUNCTIONAL namespaces, CRUD PDO trait, pretty URL-s
Date: 3 months ago
Size: 896 bytes


Class file image Download
<?php include 'view/header.php'; ?>
include 'view/sidebar_admin.php'; ?>
    <h1>Admin Login</h1>
    <form action="." method="post" id="login_form">
        <input type="hidden" name="action" value="login">
        <input type="text" name="email"
               value="<?php echo htmlspecialchars($email); ?>" size="30">
        <?php echo $fields->getField('email')->getHTML(); ?><br>

        <input type="password" name="password" size="30">
        <?php echo $fields->getField('password')->getHTML(); ?><br>

        <input type="submit" value="Login">
        <?php if (!empty($password_message)) : ?>
        <span class="error">
            <?php echo htmlspecialchars($password_message); ?>
        <?php endif; ?>
<?php include 'view/footer.php'; ?>

For more information send a message to info at phpclasses dot org.