-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
executable file
·91 lines (75 loc) · 1.85 KB
/
Copy pathindex.php
File metadata and controls
executable file
·91 lines (75 loc) · 1.85 KB
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<!DOCTYPE html>
<?php
/*
* index.php
* Fidelity
*
* Created by Richard Degenne on 30/12/2013. CC by-nc-sa.
*
* Cette page sert de frame à Fidelity. Elle permet l'appel vers les autres modules du système et organise la frame principale de l'affichage.
*/
?>
<html lang="fr">
<head>
<meta charset="utf-8">
<title>Fidelity</title>
<!-- Feuilles de styles standard -->
<link rel="stylesheet" href="Stylesheets/default.css">
<!-- Scripts standard -->
<!-- Désactivation du cache (DEBUG_ONLY) -->
<META http-equiv="Cache-Control" content="no-cache">
<META http-equiv="Pragma" content="no-cache">
<META http-equiv="Expires" content="0">
</head>
<body>
<?php
include_once("filenames.php"); // Inclusion des noms de fichier
include_once($filename["db_functions"]); // Inclusion du fichier de fonctions base de données
echo "\n<!-- HEADER -->\n";
include_once($filename["header"]);
echo "\n<!-- FIN HEADER -->\n";
echo "\n<!-- BODY -->\n";
if (isset($_GET["page"]))
{
switch($_GET["page"])
{
case "accueil":
include_once($filename["accueil"]);
break;
case "aide":
include_once($filename["aide"]);
break;
case "apropos":
include_once($filename["apropos"]);
break;
case "caisse":
include_once($filename["caisse"]);
break;
case "clients":
include_once($filename["clients"]);
break;
case "mail":
include_once($filename["mail"]);
break;
case "options":
include_once($filename["options"]);
break;
case "reductions":
include_once($filename["reductions"]);
break;
default:
include_once($filename["accueil"]);
break;
}
}
else
{
include_once($filename["accueil"]);
}
echo "\n<!-- FIN BODY -->\n";
echo "\n<!-- FOOTER -->\n";
include_once($filename["footer"]);
echo "\n<!-- FIN FOOTER -->\n";
?>
</body>
</html>