header.php
776 Bytes
<!-- header -->
<header class="container-fluid header">
<div class="container">
<a href ="accueil.php" class="logo"><i class="fa fa-home"></i> Gestion des noeuds</a>
<div class="menu">
<?php
if(isset($_SESSION['Login'], $_SESSION['Password']))
{
require("accesBase.php") ;
$membre = getMembreByIdPwd($_SESSION['Login'], $_SESSION['Password']);
?>
<a href="settings.php"><i class="fa fa-cog"></i> <?php echo $membre['prenom']; echo ' '; echo $membre['nom'];?></a>
<a href="deconnecter.php"><i class="fa fa-power-off"></i> Deconnexion</a>
<?php
}
else
{
?>
<a href="inscrire.php"><i class="fa fa-user-circle"></i> Inscription</a>
<?php
}
?>
</div>
</div>
</header>
<!-- end header -->