-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
53 lines (50 loc) · 1.15 KB
/
index.php
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
<?php
session_name('p1402690');
session_start();
if(isset($_GET["page"]))
{
$page = $_GET["page"];
}
else
{
$page = "connexion";
}
switch($page)
{
case "connexion" :
require("Controleur/controleurConnexion.php");
break;
case "accueil" :
require("Vue/accueil.php");
break;
case "ajoutVIP" :
require("Controleur/controleurAjoutVIP.php");
break;
case "modificationVIP" :
require("Controleur/controleurModificationVIP.php");
break;
case "suppressionVIP" :
require("Controleur/controleurSuppressionVIP.php");
break;
case "accueilAjoutEchangeVIP" :
require("Controleur/controleurAccueilAjoutEchangeVIP.php");
break;
case "ajoutEchangeVIP" :
require("Controleur/controleurAjoutEchangeVIP.php");
break;
case "modificationEchangeVIP" :
require("Controleur/controleurModificationEchangeVIP.php");
break;
case "ajouterAction" :
require("Controleur/controleurAjoutAction.php");
break;
case "modifierAction" :
require("Controleur/controleurAjoutAction.php");
break;
case "supprimerAction" :
require("Controleur/controleurAjoutAction.php");
break;
default :
require("Vue/404.php");
}
?>