X-Git-Url: http://git.euphorik.ch/?p=cl7.git;a=blobdiff_plain;f=index.php;h=e0b42df58eedf8b2b43c24c4bca4e8a0c812a8c5;hp=e1d6fb1802d8a66fd2d2e25f62ec61acb7cb75a9;hb=2dd3ec5a6855e861d5d678126a344a2d9227d886;hpb=eb13d74a54796fabaa4034eeb2e803f41c7424ab diff --git a/index.php b/index.php index e1d6fb1..e0b42df 100644 --- a/index.php +++ b/index.php @@ -1,7 +1,7 @@ -participant; +$controller = new Controller($participant); +$panel = new Panel($participant); $MENU = array( - 'acceuil' => 'Accueil', + 'accueil' => 'Accueil', 'jeux_joues' => 'Jeux joués', 'inscription' => 'Inscription', - 'inscrits' => 'Inscrits', + 'inscrits' => 'Inscrits', 'http://www.euphorik.ch/#page="minichat";conv=[1642]' => 'Chat', 'contacts' => 'Contacts', #'mods' => 'Mods', @@ -35,96 +43,110 @@ echo '';
'; + # Permet d'afficher un message à l'utilisateur lors du chargement de la page via le javascript, voir 'cl7.js'. + if ($controller->message_utilisateur) echo ''; + + # Des constantes stockées en BD accessible par le javascript. echo ''; echo ''; + $nbPeriodes = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM periodes")); + echo ''; ?> -