MOD déplacement des fichiers php dans le dossier PHP (sauf index.php)
[cl7.git] / index.php
index 9e1c878..6d614a3 100644 (file)
--- a/index.php
+++ b/index.php
@@ -9,10 +9,10 @@ $MASK_RESEAU = '255.255.255.0';
 if($titre[1] && (ip2long($REMOTE_ADDR) & ip2long($MASK_RESEAU)) != (ip2long($IP_SERVEUR) & ip2long($MASK_RESEAU)))
 */
 
-include_once("config.php");
-include_once("class_participant.php");\r
-include_once("connexion.php");
-include_once("controller.php");
+include_once("php/config.php");
+include_once("php/class_participant.php");\r
+include_once("php/connexion.php");
+include_once("php/controller.php");
 
 $MENU = array(
    'acceuil' => 'Accueil',
@@ -73,42 +73,42 @@ echo '<?xml version="1.0" encoding="UTF-8"?>';
                   ?>
             </ul>
             <div id="contenu">
-               <div id="informations"><?php include("menu_droit.php") ?></div>
+               <div id="informations"><?php include("php/menu_droit.php") ?></div>
                 <?php
                   switch ($page)
                   {
                   case 'acceuil':
-                     include("tx_informations.php");
+                     include("php/tx_informations.php");
                      break;
                   case 'jeux_joues' :
-                     include("tx_jeux_joues.php");
+                     include("php/tx_jeux_joues.php");
                      break;
                   case 'inscription' :
                      if (Participant::nombre_participant_max_atteint() && !$le_participant->valide)
                         echo 'Nous sommes désolés, il n\'y a plus de places libres';
                      else
-                        include("tx_inscription.php");
+                        include("php/tx_inscription.php");
                      break;
                   case 'inscrits' :
-                     include("tx_inscrits.php");
+                     include("php/tx_inscrits.php");
                      break;
                   case 'tournoi' :
-                     include("tx_tournoi.php");
+                     include("php/tx_tournoi.php");
                      break;
                   case 'intranet' :
-                     include("tx_intranet.php");
+                     include("php/tx_intranet.php");
                      break;
                   case 'bienvenue' :
-                     include("tx_bienvenue.php");
+                     include("php/tx_bienvenue.php");
                      break;
                   case 'contacts' :
-                     include("tx_contacts.php");
+                     include("php/tx_contacts.php");
                      break;
                   case 'photos' :
-                     include("tx_photos.php");
+                     include("php/tx_photos.php");
                      break;
                   case 'pizzas':
-                     include("pizzas.php");
+                     include("php/pizzas.php");
                      break;
                   default :
                      echo 'erreur, page introuvable';