plateforme-corres2math/server_files/controllers/ma_participation.php

17 lines
416 B
PHP
Raw Normal View History

2019-09-27 22:12:40 +00:00
<?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";
2019-10-06 22:12:23 +00:00
require_once "server_files/views/ma_participation.php";