diff options
Diffstat (limited to 'view/album.php')
-rw-r--r-- | view/album.php | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/view/album.php b/view/album.php new file mode 100644 index 0000000..39d180a --- /dev/null +++ b/view/album.php | |||
@@ -0,0 +1,35 @@ | |||
1 | <?php | ||
2 | // view/album.php | ||
3 | |||
4 | // variable $css | ||
5 | // avec discographie.css | ||
6 | ob_start(); | ||
7 | ?> | ||
8 | <link rel="stylesheet" type="text/css" href="public/discographie.css" /> | ||
9 | <link rel="stylesheet" type="text/css" href="public/donnees_hors_editeur.css" /> | ||
10 | <?php | ||
11 | $css = ob_get_clean(); | ||
12 | |||
13 | // variable $header | ||
14 | ob_start(); | ||
15 | echo "\n"; | ||
16 | ?> | ||
17 | <header> | ||
18 | <div id="titre" > | ||
19 | <span class="police_titre" ><?= $albumName ?></span> | ||
20 | </div> | ||
21 | <div id="photo" ></div> | ||
22 | </header> | ||
23 | <?php | ||
24 | $header = ob_get_clean(); | ||
25 | |||
26 | // variable $content | ||
27 | ob_start(); | ||
28 | ?> | ||
29 | <article id="albumHTML" > | ||
30 | <?= $album ?> | ||
31 | </article> | ||
32 | |||
33 | <p><a href="index.php?page=discographie" >Retour à la discographie</a></p> | ||
34 | <?php | ||
35 | $content = ob_get_clean(); | ||