1
0
Fork 0
This repository has been archived on 2024-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
PHP_TP3/views/v_menu.php

30 lines
566 B
PHP
Raw Normal View History

2020-10-16 08:16:09 +02:00
<?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>