Commit | Line | Data |
---|---|---|
fb6aedc2 JB |
1 | <?php |
2 | include('header.html'); | |
65fc0194 JB |
3 | /** |
4 | * Let's use an array as the list of tunables. | |
5 | * Put in a variable the inclusion of this file: | |
6 | * $config_var = include('config.php'); | |
7 | */ | |
8 | $configs = include('config.php'); | |
9 | ?> | |
10 | <div id="header"> | |
11 | <!-- Put headers stuff here --> | |
12 | <a href="<?php echo $configs['root_url'] ?>/index.php?page=home">Bienvenue sur Air Polytech !</a> | |
13 | </div> | |
14 | <?php | |
15 | ||
fb6aedc2 JB |
16 | function display_menu() { |
17 | switch ($page) { | |
18 | case "home": | |
19 | break; | |
20 | case "register": | |
21 | break; | |
22 | } | |
23 | ||
24 | } | |
25 | ?> |