header.php 1.01 KB

<!-- header -->
<header class="container-fluid header" style="position: fixed; z-index:289;">
	<div class="container">
		<a href ="accueil.php" class="logo"><i class="fa fa-home"></i> Accueil</a>
		<div class="menu">
			<?php 
			if(isset($_SESSION['Login'], $_SESSION['Password']))
			{
				require_once("accesBase.php") ;
				$membre = getMembreByIdPwd($_SESSION['Login'], $_SESSION['Password']);
				?>
				<a href="ajoutRaspberry.php"><i class="far fa-plus-square"></i> Raspberry</a>
				<a href="ajoutCapteur.php"><i class="far fa-plus-square"></i> Capteur</a>
				<a href="send.php"><i class="fa fa-file-upload"></i> Envoyer un code</a>
				<a href="history.php"><i class="fas fa-history"></i> Historique</a>
				<a href="rechercheGraphe.php"><i class="fas fa-chart-line"></i> Graphiques</a>
				<a href="data.php"><i class="fas fa-database"></i> Valeurs</a>
				<a href="deconnecter.php"><i class="fa fa-power-off"></i> Deconnexion</a>
				<?php
			}
			?>
		</div>
	</div>
</header>
<!-- end header -->