From 3e2690d819e5a4c609c41da0854f9d8b970c5898 Mon Sep 17 00:00:00 2001 From: Yohann Date: Wed, 23 Oct 2019 12:17:17 +0200 Subject: [PATCH] Liste des administrateurs --- dispatcher.php | 1 + server_files/controllers/admins.php | 8 ++++ server_files/views/admins.php | 72 +++++++++++++++++++++++++++++ server_files/views/header.php | 1 + 4 files changed, 82 insertions(+) create mode 100644 server_files/controllers/admins.php create mode 100644 server_files/views/admins.php diff --git a/dispatcher.php b/dispatcher.php index 11f91ce..b682605 100644 --- a/dispatcher.php +++ b/dispatcher.php @@ -29,6 +29,7 @@ $ROUTES = []; $ROUTES["^(|accueil|index|accueil\.php|accueil\.html|accueil\.py|index\.php|index\.html|index\.py)/?$"] = ["server_files/controllers/index.php"]; $ROUTES["^(modifier-page)$"] = ["server_files/controllers/index.php", "edit"]; +$ROUTES["^admins$"] = ["server_files/controllers/admins.php"]; $ROUTES["^ajouter-equipe$"] = ["server_files/controllers/ajouter_equipe.php"]; $ROUTES["^ajouter-admin$"] = ["server_files/controllers/ajouter_admin.php"]; $ROUTES["^calendrier/(modifier)$"] = ["server_files/controllers/calendrier.php", "edit"]; diff --git a/server_files/controllers/admins.php b/server_files/controllers/admins.php new file mode 100644 index 0000000..23ece61 --- /dev/null +++ b/server_files/controllers/admins.php @@ -0,0 +1,8 @@ + + +
+

Liste des administrateurs

+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + 0) { ?> + + + + +
+ Nom + + Prénom + + Adresse e-mail +
+ getSurname() ?>"> + getSurname() ?> + + + getSurname() ?>"> + getFirstName() ?> + + + + getEmail() ?> + +
+ Nom + + Prénom + + Date d'inscription + + Adresse e-mail +
+ +Problème 4 +