<?php
/* **
 * @application PhpMyShopping
 * @part        Admin boutique
 * @file        login.php
 * @path        ./admin/
 * @author      Stephane DINE <stephane@phpmyshopping.org>
 * @site        http://www.phpmyshopping.org
 * @license     http://www.php.net/license/3_0.txt  PHP License 3.0
 *
 * PHP version 5
 */

session_start();
?>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html dir="ltr" lang="fr">
<head>
  <title>Administration - Identification</title>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <link href="./css/default.css" rel="stylesheet" type="text/css" />
  <link href="./css/style.css" rel="stylesheet" type="text/css" />
</head>
<body>

<div id="header"><h1>Administration</h1></div>

<table cellspacing="5" cellpadding="6" id="login">
  <tr>
    <td colspan="2" style="font-size: 14px;">
<?php
if ($_SESSION['msgErrorLogin']) {
    echo '<b class="red" style="font-size: 0.8em;">'.$_SESSION['msgErrorLogin'].'</b>';
}
?>
    </td>
  </tr>

  <tr>
    <td><img src="./images/login.png" /></td>
    <td id="login_form">
      <form action="verif_login.php" method="POST">
        <table cellpadding="1">
          <tr><td>Identifiant</td></tr>
          <tr><td><input type="text" name="Username" /></td></tr>
          <tr><td>Mot de passe</td></tr>
          <tr><td><input type="password" name="Password" /></td></tr>
          <tr><td><input type="submit" value="Login" id="login_button" /></td></tr>
        </table>
      </form>
    </td>
  </tr>
</table>

</body>
</html>
