1
0
mirror of https://gitlab.com/animath/si/plateforme-corres2math.git synced 2025-06-26 10:47:41 +02:00

Affichage de tous les profils existants

This commit is contained in:
Yohann
2019-12-04 12:05:53 +01:00
parent 204080f1b0
commit d33b404ca7
6 changed files with 33 additions and 13 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/profiles.php";