header2.html
1.18 KB
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
32
33
34
35
36
37
<!-- header -->
<header class="header" style="position: fixed; z-index:289;">
<nav class="navbar navbar-inverse">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="accueil.php">Accueil</a>
</div>
<?php
if(isset($_SESSION['Login'], $_SESSION['Password']))
{
require_once("accesBase.php") ;
$membre = getMembreByIdPwd($_SESSION['Login'], $_SESSION['Password']);
?>
<ul class="nav navbar-nav">
<li><a href="gestionRaspberry.php">Raspberry</a></li>
<li><a href="gestionCapteur.php">Capteur</a></li>
<li><a href="send.php">Upload</a></li>
<li><a href="history.php">Historique</a></li>
<li><a href="rechercheGraphe.php">Graphiques</a></li>
<li><a href="data.php">Valeurs</a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
<?php
if(getGroupe($_SESSION['Login'])==1)
{
echo '<li><a href="inscrire.php"><span class="glyphicon glyphicon-user"></span> Comptes</a></li>';
}
?>
<li><a href="deconnecter.php"><span class="glyphicon glyphicon-log-out"></span> Deconnexion</a></li>
</ul>
<?php
}
?>
</div>
</nav>
</header>
<!-- end header -->