mirror of
https://gitlab.com/animath/si/plateforme-corres2math.git
synced 2024-12-26 05:02:21 +00:00
17 lines
411 B
PHP
17 lines
411 B
PHP
<?php
|
|
|
|
if (isset($_SESSION["user_id"]) && isset($_SESSION["team"]) && $_SESSION["team"] !== null) {
|
|
/**
|
|
* @var User $user
|
|
* @var Team $team
|
|
*/
|
|
$user = $_SESSION["user"];
|
|
$team = $_SESSION["team"];
|
|
|
|
$video = Video::getVideo(Reason::SOLUTION, $team);
|
|
$questions_received = Question::getQuestionsTo($team);
|
|
}
|
|
else
|
|
require_once "server_files/403.php";
|
|
|
|
require_once "server_files/views/mon_tournoi.php"; |