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 @@ + + +
+ Nom + | ++ Prénom + | ++ Adresse e-mail + | +|
---|---|---|---|
+ getSurname() ?>"> + = $admin->getSurname() ?> + + | ++ getSurname() ?>"> + = $admin->getFirstName() ?> + + | ++ + = $admin->getEmail() ?> + + | +|
+ Nom + | ++ Prénom + | ++ Date d'inscription + | + 0) { ?> ++ Adresse e-mail + | + +