Blame view

site/header2.php 1.14 KB
002de3aa   grouille   Test navbar
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
  <!-- 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 flex-column flex-sm-row">
  			<?php 
  			if(isset($_SESSION['Login'], $_SESSION['Password']))
  			{
  				require_once("accesBase.php") ;
  				$membre = getMembreByIdPwd($_SESSION['Login'], $_SESSION['Password']);
  				?>
  				<a href="gestionRaspberry.php"><i class="fas fa-cogs"></i> Raspberry</a>
  				<a href="gestionCapteur.php"><i class="fas fa-cogs"></i> Capteur</a>
  				<a href="send.php"><i class="fa fa-file-upload"></i> Upload</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>
  				<?php
  					if(getGroupe($_SESSION['Login'])==1)
  					{
  						echo '<a href="inscrire.php"><i class="fas fa-users-cog"></i> Compte</a>';
  					}
  				?>
  				<a href="deconnecter.php"><i class="fa fa-power-off"></i> Deconnexion</a>
  				<?php
  			}
  			?>
  		</div>
  	</div>
  </header>
  <!-- end header -->