X-Git-Url: http://git.euphorik.ch/?a=blobdiff_plain;f=index.php;h=73edd6ef0d9a91f04d152f4a951927fd12516d17;hb=72508fb3290057e8afd090d06e5763ee8ff68cd7;hp=e0b42df58eedf8b2b43c24c4bca4e8a0c812a8c5;hpb=7e415f0586afe35a45d7fc6c34bfe32f55381096;p=cl7.git diff --git a/index.php b/index.php index e0b42df..73edd6e 100644 --- a/index.php +++ b/index.php @@ -1,13 +1,16 @@ 'Accueil', # la page par défaut + 'jeux_joues' => 'Jeux joués', + 'inscription' => 'Inscription', + 'inscrits' => 'Inscrits', + 'http://www.euphorik.ch/#page="minichat";conv=[1642]' => 'Chat', + 'contacts' => 'Contacts', + #'mods' => 'Mods', + #'cracks' => 'Cracks', + #'pizzas' => 'Pizza', +); include_once("php/participant.php"); include_once("php/connexion.php"); @@ -15,25 +18,14 @@ include_once("php/config.php"); include_once("php/controller.php"); include_once("php/panel.php"); -# Différents objets, sont accessibles directements par les pages (voir dossier '/php/pages/'). +# Différents objets, sont accessibles directement par les pages (voir dossier '/php/pages/'). +$page = $_GET['page'] ? $_GET['page'] : 'accueil'; $config = new Config(); $connexion = new Connexion(); $participant = $connexion->participant; $controller = new Controller($participant); $panel = new Panel($participant); -$MENU = array( - 'accueil' => 'Accueil', - 'jeux_joues' => 'Jeux joués', - 'inscription' => 'Inscription', - 'inscrits' => 'Inscrits', - 'http://www.euphorik.ch/#page="minichat";conv=[1642]' => 'Chat', - 'contacts' => 'Contacts', - #'mods' => 'Mods', - #'cracks' => 'Cracks', - #'pizzas' => 'Pizza', -); - echo ''; ?> @@ -52,7 +44,7 @@ echo ''; $nbPeriodes = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM periodes")); echo ''; ?> - Corcelles-Lan 7 + Corcelles-Lan 8 @@ -82,7 +74,7 @@ echo ''; } ?> - Corcelles-Lan 7 + Corcelles-Lan 8