<?php session_start();

?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>DREAM SELLER | Connexion</title>
    <link rel="stylesheet" href="../css/login.css">
 
</head>
<body>
    <section>
        <header>
        <a href="index.php"><button>ACCUEIL</button></a>
    </header>
        <h2>CONNEXION</h2>
        <form method="post">
        <div class="box">
            <input type="email" name="email" id="email" placeholder="Adresse mail" required>
           
        </div>

        <div class="box">
            <input type="password" name="mdp" id="mdp" placeholder="Mot de passe" required>
        
        </div>

        <div class="souvenir">
            <label ><input type="checkbox">Se souvenir de moi</label>
        </div>

        
        <input class="but1" type="submit" name="formsend" id="formsend">
        

        <div class="inscrire">
            <a href="register.php">S'inscrire</a>
        </div>

        </form> 
        <div class="message">
  
        </div>
    <?php
    include '../controler/actionLogin.php'; 
    ?>
<br>
<div class="message">
<?php 
    if(!empty($message)){
        echo $message; 
    }
?>
</div>
    </section>

    
    
</body>
</html>