diff options
Diffstat (limited to 'view/menu.php')
| -rw-r--r-- | view/menu.php | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/view/menu.php b/view/menu.php new file mode 100644 index 0000000..51476b4 --- /dev/null +++ b/view/menu.php | |||
| @@ -0,0 +1,74 @@ | |||
| 1 | <?php | ||
| 2 | // view/menu.php | ||
| 3 | |||
| 4 | // variable $css | ||
| 5 | ob_start(); | ||
| 6 | ?> | ||
| 7 | <link rel="stylesheet" type="text/css" href="public/<?= $page_actuelle ?>.css" /> | ||
| 8 | <?php | ||
| 9 | $css = ob_get_clean(); | ||
| 10 | |||
| 11 | //variable $js | ||
| 12 | ob_start(); | ||
| 13 | ?> | ||
| 14 | <script type="text/javascript" src="public/main.js" ></script> | ||
| 15 | <?php | ||
| 16 | $js = ob_get_clean(); | ||
| 17 | |||
| 18 | // variable $header | ||
| 19 | ob_start(); | ||
| 20 | echo "\n\n"; | ||
| 21 | ?> | ||
| 22 | <header> | ||
| 23 | <div id="titre" > | ||
| 24 | <span class="police_titre" >Choisissez une rubrique</span> | ||
| 25 | </div> | ||
| 26 | </header> | ||
| 27 | <?php | ||
| 28 | $header = ob_get_clean(); | ||
| 29 | |||
| 30 | // variable $content | ||
| 31 | ob_start(); | ||
| 32 | echo "\n"; | ||
| 33 | ?> | ||
| 34 | <div id="contenu" > | ||
| 35 | <div id="colonne1" > | ||
| 36 | <a href="index.php?page=liens" > | ||
| 37 | <div id="canoe" ></div> | ||
| 38 | </a> | ||
| 39 | |||
| 40 | <a href="index.php?page=presse" > | ||
| 41 | <div id="fille_qui_tombe" ></div> | ||
| 42 | </a> | ||
| 43 | |||
| 44 | <a href="index.php?page=melaine" > | ||
| 45 | <div id="pochette" ></div> | ||
| 46 | </a> | ||
| 47 | |||
| 48 | <a href="index.php?page=ateliers" > | ||
| 49 | <div id="cavalier" ></div> | ||
| 50 | </a> | ||
| 51 | |||
| 52 | <a href="index.php" > | ||
| 53 | <div id="pommes" ></div> | ||
| 54 | </a> | ||
| 55 | </div> | ||
| 56 | |||
| 57 | <div id="colonne2" > | ||
| 58 | <a href="index.php?page=concerts" > | ||
| 59 | <div id="sirene" ></div> | ||
| 60 | </a> | ||
| 61 | |||
| 62 | <a href="index.php?page=peinture" > | ||
| 63 | <div id="mouette_ocean" ></div> | ||
| 64 | </a> | ||
| 65 | |||
| 66 | <a href="index.php?page=archives" > | ||
| 67 | <div id="blonde"></div> | ||
| 68 | </a> | ||
| 69 | |||
| 70 | <a id="hey_ho" href="index.php?page=discographie" ></a> | ||
| 71 | </div> | ||
| 72 | </div> | ||
| 73 | <?php | ||
| 74 | $content = ob_get_clean(); \ No newline at end of file | ||
