-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathindex.php
More file actions
34 lines (34 loc) · 957 Bytes
/
Copy pathindex.php
File metadata and controls
34 lines (34 loc) · 957 Bytes
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
<?php
if (isset($_GET['action']) && $_GET['action'] != null) {
$action = $_GET['action'];
switch ($action) {
case 'connexion' :
$page = 'ctrlConnexion.inc.php';
break;
case 'accueil' :
$page = 'ctrlAccueil.inc.php';
break;
case 'coordonnees' :
$page = 'ctrlCoordonnees.inc.php';
break;
case 'entreprise' :
$page = 'ctrlEntreprise.inc.php';
break;
case 'stages':
$page = 'ctrlStages.inc.php';
break;
case 'visites':
$page = 'ctrlVisites.inc.php';
break;
case 'deconnexion' :
$page = 'ctrlDeconnexion.inc.php';
break;
case 'erreur' :
$page = 'ctrlErreur.inc.php';
break;
}
} else {
$page = 'ctrlConnexion.inc.php';
}
include("./controleur/" . $page);
?>