1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2024-11-30 03:33:03 +00:00
plateforme-tfjm2/server_files/controllers/profils.php

9 lines
265 B
PHP
Raw Normal View History

2019-12-26 21:30:42 +00:00
<?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";