diff options
Diffstat (limited to 'view/pageArticlesSimples.php')
-rw-r--r-- | view/pageArticlesSimples.php | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/view/pageArticlesSimples.php b/view/pageArticlesSimples.php index 95f8c46..8758373 100644 --- a/view/pageArticlesSimples.php +++ b/view/pageArticlesSimples.php | |||
@@ -6,24 +6,24 @@ ob_start(); | |||
6 | if($page == 'menu') | 6 | if($page == 'menu') |
7 | { | 7 | { |
8 | ?> | 8 | ?> |
9 | <link rel="stylesheet" type="text/css" href="public/css/menu.css" /> | 9 | <link rel="stylesheet" type="text/css" href="public/css/menu.css"> |
10 | <?php | 10 | <?php |
11 | } | 11 | } |
12 | else | 12 | else |
13 | { | 13 | { |
14 | ?> | 14 | ?> |
15 | <link rel="stylesheet" type="text/css" href="public/css/pages_articles_simples.css" /> | 15 | <link rel="stylesheet" type="text/css" href="public/css/pages_articles_simples.css"> |
16 | <?php | 16 | <?php |
17 | } | 17 | } |
18 | ?> | 18 | ?> |
19 | <link rel="stylesheet" type="text/css" href="public/css/donnees_hors_editeur.css" /> | 19 | <link rel="stylesheet" type="text/css" href="public/css/donnees_hors_editeur.css"> |
20 | <?php | 20 | <?php |
21 | $css = ob_get_clean(); | 21 | $css = ob_get_clean(); |
22 | 22 | ||
23 | //variable $js | 23 | //variable $js |
24 | ob_start(); | 24 | ob_start(); |
25 | ?> | 25 | ?> |
26 | <script type="text/javascript" src="public/main.js" ></script> | 26 | <script src="public/main.js"></script> |
27 | <?php | 27 | <?php |
28 | if(isset($_GET['action']) && $_GET['action'] == 'editor') | 28 | if(isset($_GET['action']) && $_GET['action'] == 'editor') |
29 | { | 29 | { |
@@ -40,10 +40,10 @@ $js = ob_get_clean(); | |||
40 | if($page == 'archives') | 40 | if($page == 'archives') |
41 | { | 41 | { |
42 | $explications = '<p style="padding: 3px 3px 0 3px; background-color: white;"> | 42 | $explications = '<p style="padding: 3px 3px 0 3px; background-color: white;"> |
43 | <img style="float: right;" src="public/header_images/logo_real.png" /> | 43 | <img style="float: right;" src="public/header_images/logo_real.png"> |
44 | Certains liens vidéos nécessitent le lecteur <a href="https://www.real.com" target="_blank" >Real Player</a> (windows, android et iOS) pour être lus.</p> | 44 | Certains liens vidéos nécessitent le lecteur <a href="https://www.real.com" target="_blank" >Real Player</a> (windows, android et iOS) pour être lus.</p> |
45 | <p> | 45 | <p> |
46 | <img style="float: left;" src="public/header_images/logo_vlc.png" /> | 46 | <img style="float: left;" src="public/header_images/logo_vlc.png"> |
47 | Vous pouvez aussi utiliser le<br/><a href="https://www.videolan.org/vlc/" target="_blank" >lecteur VLC.</a></p>'; | 47 | Vous pouvez aussi utiliser le<br/><a href="https://www.videolan.org/vlc/" target="_blank" >lecteur VLC.</a></p>'; |
48 | $headerImage = '<div class="photo" style="display: flex; height: fit-content;" > | 48 | $headerImage = '<div class="photo" style="display: flex; height: fit-content;" > |
49 | <div class="explications" >' . $explications . '</div> | 49 | <div class="explications" >' . $explications . '</div> |
@@ -66,9 +66,11 @@ echo "\n"; | |||
66 | if($page == 'menu' && !empty($ArticlesContent)) | 66 | if($page == 'menu' && !empty($ArticlesContent)) |
67 | { | 67 | { |
68 | ?> | 68 | ?> |
69 | <h3>Actualité</h3> | 69 | <div> |
70 | <div class="sectionActu" > | 70 | <h3 class="sectionActu">Actualité</h3> |
71 | <?= $ArticlesContent ?> | 71 | <div> |
72 | <?= $ArticlesContent ?> | ||
73 | </div> | ||
72 | </div> | 74 | </div> |
73 | <?php | 75 | <?php |
74 | } | 76 | } |