Informations sur l'équipe

Nom de l'équipe : getName() ?>
Trigramme : getTrigram() ?>
Tournoi : getName() ?>">getName() ?>
getEncadrants()[$i] == NULL) continue; $encadrant = User::fromId($team->getEncadrants()[$i - 1]); $id = $encadrant->getId(); echo "Encadrant $i : getFirstName() . " " . $encadrant->getSurname() . "\">" . $encadrant->getFirstName() . " " . $encadrant->getSurname() . "
"; } for ($i = 1; $i <= 6; ++$i) { if ($team->getParticipants()[$i - 1] == NULL) continue; $participant = User::fromId($team->getParticipants()[$i - 1]); $id = $participant->getId(); echo "Participant $i : getFirstName() . " " . $participant->getSurname() . "\">" . $participant->getFirstName() . " " . $participant->getSurname() . "
"; } if ($team->isSelectedForFinal()) { $final_name = $_SESSION["final"]->getName(); echo "Équipe sélectionnée pour la finale nationale."; } ?>

Autorisations

fetch()) !== false) { $file_id = $data["file_id"]; $type = $data["type"]; $user_id = $data["user"]; $user_data = $DB->query("SELECT `surname`, `first_name` FROM `users` WHERE `id` = '$user_id';")->fetch(); $surname = $user_data["surname"]; $first_name = $user_data["first_name"]; $version = $data["version"]; switch ($data["type"]) { case "PARENTAL_CONSENT": $name = "Autorisation parentale"; break; case "PHOTO_CONSENT": $name = "Autorisation de droit à l'image"; break; case "SANITARY_PLUG": $name = "Fiche sanitaire"; break; } echo "$name de $first_name $surname : Télécharger
"; } ?> isSelectedForFinal()) { ?>

Autorisations pour la finale

fetch()) !== false) { $file_id = $data["file_id"]; $type = $data["type"]; $user_id = $data["user"]; $user_data = $DB->query("SELECT `surname`, `first_name` FROM `users` WHERE `id` = '$user_id';")->fetch(); $surname = $user_data["surname"]; $first_name = $user_data["first_name"]; $version = $data["version"]; switch ($data["type"]) { case "PARENTAL_CONSENT": $name = "Autorisation parentale"; break; case "PHOTO_CONSENT": $name = "Autorisation de droit à l'image"; break; case "SANITARY_PLUG": $name = "Fiche sanitaire"; break; } echo "$name de $first_name $surname : Télécharger
"; } } if ($team->getValidationStatus() == ValidationStatus::WAITING && $_SESSION["role"] == Role::ADMIN) { ?>
isSelectedForFinal() && isset($_SESSION["user_id"]) && $_SESSION["role"] == Role::ADMIN) { ?>