1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
| <? PHP
// Vérifications de la variable page
if ($page=='accueil') {include('accueil.htm');}
elseif ($page=='presentation') {include('presentation.htm');}
elseif ($page=='liste-choristes') {include('liste-choristes.htm');}
elseif ($page=='a-venir') {include('a-venir.htm');}
elseif ($page=='historique-manif') {include('historique-manif.htm');}
elseif ($page=='album_photos') {include('album_photos.htm');}
elseif ($page=='repertoire') {include('repertoire.htm');}
elseif ($page=='livredor') {echo '<script type="text/javascript">parent.frame.location.replace("http://site.fr/livredor/");</script>';}
elseif ($page=='contact') {include('contact.htm');}
elseif ($page=='liens') {include('liens.htm');}
elseif ($page=='maj') {include('maj.htm');}
elseif ($page=='logo') {echo '<script type="text/javascript">window.frame.location.replace("http://site.fr/perso/chorale.htm");</script>';}
// Si la variable n'est pas définie, on affiche une page par défaut
else {include('accueil.htm');}
?> |