1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
|
<body text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<br>
<!-- DEBUT ENTETE -->
<div class="entete" >
<?php
include('entete.htm'); // Appel de l'entete du site
?>
</div>
<!-- FIN ENTETE -->
<!-- DEBUT MENU GAUCHE -->
<div class="menu">
<?php
include('menu_ficheartiste.htm'); // Appel du menu
?>
</div>
<!-- FIN MENU GAUCHE -->
*****************************************************
<div class="centre">
<?php
// On définit le tableau contenant les pages autorisées
// ----------------------------------------------------
$pageOK = array('bas' => 'bas.php',
'config' => 'config.php',
'fonctions' => 'fonctions.php',
'haut' => 'haut.php',
'index' => 'index.php',
'inscription' => 'inscription.php',
'login' => 'login.php',
'logout' => 'logout.php',
'perdu' => 'perdu.php',
'perdu2' => 'perdu2.php',
'profil2' => 'profil2.php',
'profil' => 'profil.php',
'verification' => 'verification.php',
'verifications' => 'verifications.php',);
// On teste que le paramètre d'url existe et qu'il est bien autorisé
// -----------------------------------------------------------------
if ( (isset($_GET['page'])) && (isset($pageOK[$_GET['page']])) ) {
include($pageOK[$_GET['page']]); // Appel du contenu central de la page
} else {
include('index.php'); // Page par défaut quant elle n'existe pas dans le tableau
}
?>
</div>
*****************************************************
<!-- DEBUT PIED DE PAGE -->
<div class="pieddepage">
<?php
include('pieddepage.htm'); // Appel du pied de page
?>
<!-- FIN PIED DE PAGE -->
</div>
</body>
</html> |
Partager