1
0
mirror of https://gitlab.com/animath/si/plateforme-corres2math.git synced 2025-02-06 22:53:01 +00:00

11 lines
292 B
PHP
Raw Normal View History

<?php
if (!isset($_SESSION["user_id"]) || $_SESSION["role"] != Role::ADMIN)
require_once "server_files/403.php";
$videos = [];
for ($problem = 1; $problem <= 4; ++$problem)
$videos[] = Video::getVideos(Reason::SOLUTION, $problem);
require_once "server_files/views/videos_solutions.php";