Informations sur l'équipe

Nom de l'équipe :
Trigramme :
Tournoi : ">
query("SELECT `id`, `surname`, `first_name` FROM `users` WHERE `id` = " . $team_data["encadrant_" . $i] . " AND `year` = '$YEAR';")->fetch(); $id = $user_data["id"]; echo "Encadrant $i : " . $user_data["first_name"] . " " . $user_data["surname"] . "
"; } for ($i = 1; $i <= 6; ++$i) { if ($team_data["participant_" . $i] == NULL) continue; $user_data = $DB->query("SELECT `id`, `surname`, `first_name` FROM `users` WHERE `id` = " . $team_data["participant_" . $i] . " AND `year` = '$YEAR';")->fetch(); $id = $user_data["id"]; echo "Participant $i : " . $user_data["first_name"] . " " . $user_data["surname"] . "
"; } if ($team_data["final_selection"]) { $final_name = $_SESSION["final_name"]; 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
"; } ?>

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_data["validation_status"] == "WAITING" && $_SESSION["role"] == "ADMIN") { ?>