1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-06-25 13:37:25 +02:00

Possibilité de télécharger une archive des solutions et notes de synthèse pour les organisateurs

This commit is contained in:
galaxyoyo
2019-08-26 16:27:55 +02:00
parent 369fb4fd5b
commit 2272a8b45d
3 changed files with 96 additions and 2 deletions

View File

@ -21,7 +21,7 @@ if (($data = $req->fetch()) === false) {
$data = $req->fetch();
}
}
print_r($type);
if ($data !== false) {
$team_data = $DB->query("SELECT `trigram` FROM `teams` WHERE `id` = " . $data["team"] . ";")->fetch();
$tournament_data = $DB->query("SELECT `name` FROM `tournaments` WHERE `id` = " . $data["tournament"] . ";")->fetch();