<!--<?php
//On vérifie si il y a quelqu'un de connecté ou non
if ($_SESSION == NULL) {
    echo "<div>";
    echo "    <div id='menu_title'>";
    echo "<h1>Connexion</h1>";
    echo "</div>";
    echo "<form method = 'post' action = 'index.php'>";
    echo "<div id = 'login'>";
    echo "<label for = 'login_form'>Login</label>";
    echo "<input name = 'login' id = 'login_form' />";
    echo "</div>";
    echo "<div id = 'mdp'>";
    echo "<label for = 'login_form'>Mot de passe</label>";
    echo "<input name = 'mdp' id = 'mdp_form' />";
    echo "</div>";
    echo "<div>";
    echo "<button type = 'submit'>Se connecter</button>";
    echo "<button type = 'reset'>Effacer</button>";
    echo "</div>";
    echo "</form>";
    echo "</div>";
} else {
    echo "<div>";
    echo "    <div id='menu_title'>";
    echo "<h3>Bienvenue " . $_SESSION->getUser()->getLogin() . "</h3>";
    echo "</div>";
}
?> 