<div class="masthead">
  <h3 class="muted">Energie Control - ZedBox Network Configuration</h3>
  <div class="navbar navbar-inner container">
    <ul class="nav">
      <li <?php if ($_SERVER["REQUEST_URI"] == "/projet/index.php") {echo 'class="active"';} ?>><a href="./index.php">Accueil</a></li>
      <li class="dropdown">
        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Ajouter <b class="caret"></b></a>
        <ul class="dropdown-menu">
          <li <?php if ($_SERVER["REQUEST_URI"] == "/projet/add_sensor.php") {echo 'class="active"';} ?>><a href="add_sensor.php">Capteur</a></li>
          <li <?php if ($_SERVER["REQUEST_URI"] == "/projet/add_WaterRadiator.php") {echo 'class="active"';} ?>><a href="add_WaterRadiator.php">Thermostat à eau chaude</a></li>
          <li <?php if ($_SERVER["REQUEST_URI"] == "/projet/add_ElectricRadiator.php") {echo 'class="active"';} ?>><a href="add_ElectricRadiator.php">Thermostat Electrique</a></li>
        </ul>
      </li>
      <li class="dropdown">
        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Configuration <b class="caret"></b></a>
        <ul class="dropdown-menu">
          <li><a href="#">Localisation</a></li>
          <li><a href="#">Infrastructure</a></li>
          <li><a href="#">Base de donnée</a></li>
        </ul>
      </li>
    </ul>
  </div><!-- /.navbar -->
</div>