<?php session_start(); ?> <!DOCTYPE html> <html> <head> <?php include("head.php"); ?> </head> <!-- Contenu du site --> <body> <?php include("header.php"); if(isset($_SESSION['Login'], $_SESSION['Password'])) { ?> <div class="row"> <div class="col-8 col-md-8 offset-md-2 offset-2"> <br/> <h1 style="margin-bottom:20px; margin-top:30px; border-bottom:1px solid #CCC; padding-bottom:20px;"><i class="fas fa-chart-line"></i> Graphe du capteur</h1> <br/> <img src="graphe.php" alt="graphe"> </div> </div> <?php } else { include("formConnexion.php"); } ?> </body> </html>