30 lines
566 B
PHP
30 lines
566 B
PHP
|
<?php
|
||
|
/*
|
||
|
* TP PHP
|
||
|
* Vue menu
|
||
|
*
|
||
|
* Copyright 2016, Eric Dufour
|
||
|
* http://techfacile.fr
|
||
|
*
|
||
|
* Licensed under the MIT license:
|
||
|
* http://www.opensource.org/licenses/MIT
|
||
|
*
|
||
|
* menu: http://www.w3schools.com/bootstrap/bootstrap_ref_comp_navs.asp
|
||
|
*/
|
||
|
?>
|
||
|
<!-- Menu du site -->
|
||
|
|
||
|
<nav class="navbar navbar-default">
|
||
|
<div class="container-fluid">
|
||
|
<ul class="nav navbar-nav">
|
||
|
<li <?php echo ($page=='accueil' ? 'class="active"':'')?>>
|
||
|
<a href="index.php">
|
||
|
<?= MENU_ACCUEIL ?>
|
||
|
</a>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
</nav>
|
||
|
|
||
|
|