1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-06-25 15:37:27 +02:00

Ajouts & correction de bugs

This commit is contained in:
Yohann D'ANELLO
2019-12-26 22:30:42 +01:00
parent e9f10ca14f
commit da8efde057
16 changed files with 363 additions and 32 deletions

View File

@ -0,0 +1,9 @@
<?php
if (!isset($_SESSION["user_id"]) || $_SESSION["role"] != Role::ADMIN)
require_once "server_files/403.php";
$orphans = isset($_GET["orphans"]);
$users = $orphans ? User::getOrphanUsers() : User::getAllUsers();
require_once "server_files/views/profils.php";