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

Recommend this page to a friend!
  Classes of Slavko Srakocic  >  B12 PHP FW  >  fwphp/01mater/shop/ch24_guitar_shop/admin/account/account_login.php  >  Download  
File: fwphp/01mater/shop/ch24_guitar_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:
Date: 1 month ago
Size: 896 bytes
 

Contents

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

        <label>Password:</label>
        <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); ?>
</span><br>
        <?php endif; ?>
</form>
</main>
<?php include 'view/footer.php'; ?>

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