diff options
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -115,7 +115,7 @@ else | |||
115 | // page du site demandée | 115 | // page du site demandée |
116 | if(isset($_GET['page'])) | 116 | if(isset($_GET['page'])) |
117 | { | 117 | { |
118 | $pagesArticlesSimples = ['melaine', 'concerts', 'presse', 'ateliers', 'liens', 'peinture', 'archives']; | 118 | $pagesArticlesSimples = ['melaine', 'musique', 'presse', 'jaime', 'peinture', 'archives', 'legal']; |
119 | 119 | ||
120 | // page d'accueil | 120 | // page d'accueil |
121 | if($_GET['page'] == 'accueil') | 121 | if($_GET['page'] == 'accueil') |
@@ -145,25 +145,21 @@ if(isset($_GET['page'])) | |||
145 | // modification | 145 | // modification |
146 | if(isset($_GET['file_code']) || !empty($_GET['file_code'])) | 146 | if(isset($_GET['file_code']) || !empty($_GET['file_code'])) |
147 | { | 147 | { |
148 | //melaineEdit($_GET['file_code'], 0); | ||
149 | $fonctionEdit($_GET['file_code'], 0); | 148 | $fonctionEdit($_GET['file_code'], 0); |
150 | } | 149 | } |
151 | // nouvel article | 150 | // nouvel article |
152 | else | 151 | else |
153 | { | 152 | { |
154 | //melaineEdit('', 0); | ||
155 | $fonctionEdit('', 0); | 153 | $fonctionEdit('', 0); |
156 | } | 154 | } |
157 | } | 155 | } |
158 | // suppression | 156 | // suppression |
159 | else if($_SESSION['admin'] == 1 && isset($_GET['action']) && $_GET['action'] == 'suppression') | 157 | else if($_SESSION['admin'] == 1 && isset($_GET['action']) && $_GET['action'] == 'suppression') |
160 | { | 158 | { |
161 | //melaineEdit($_GET['file_code'], 1); | ||
162 | $fonctionEdit($_GET['file_code'], 1); | 159 | $fonctionEdit($_GET['file_code'], 1); |
163 | } | 160 | } |
164 | else | 161 | else |
165 | { | 162 | { |
166 | //melaineVisitor(); | ||
167 | $fonctionVisitor(); | 163 | $fonctionVisitor(); |
168 | } | 164 | } |
169 | 165 | ||