2019-09-12 10:18:15 +00:00
|
|
|
<?php require_once "header.php" ?>
|
|
|
|
|
2019-09-25 21:20:05 +00:00
|
|
|
<div class="mt-4 mb-4">
|
|
|
|
<h2 class="display-3">Problème <?= $problem ?></h2>
|
|
|
|
</div>
|
2019-09-12 10:18:15 +00:00
|
|
|
|
2019-09-19 22:02:01 +00:00
|
|
|
<hr/>
|
2019-09-12 10:18:15 +00:00
|
|
|
|
2019-09-19 22:02:01 +00:00
|
|
|
<h2>Équipes inscrites pour ce problème :</h2>
|
2019-09-12 10:18:15 +00:00
|
|
|
|
2019-09-25 21:20:05 +00:00
|
|
|
<table class="table table-striped table-bordered table-hover">
|
2019-09-19 22:02:01 +00:00
|
|
|
<thead>
|
|
|
|
<tr>
|
2019-09-25 21:20:05 +00:00
|
|
|
<th scope="col">
|
2019-09-19 22:02:01 +00:00
|
|
|
Équipe
|
|
|
|
</th>
|
2019-09-25 21:20:05 +00:00
|
|
|
<th scope="col">
|
2019-09-19 22:02:01 +00:00
|
|
|
Trigramme
|
|
|
|
</th>
|
2019-09-25 21:20:05 +00:00
|
|
|
<th scope="col">
|
2019-09-19 22:02:01 +00:00
|
|
|
Date d'inscription
|
|
|
|
</th>
|
2019-09-25 21:20:05 +00:00
|
|
|
<th scope="col">
|
2019-09-19 22:02:01 +00:00
|
|
|
État de validation de l'inscription
|
|
|
|
</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
2019-09-12 10:18:15 +00:00
|
|
|
<?php
|
2019-09-19 22:02:01 +00:00
|
|
|
/** @var Team $team */
|
|
|
|
foreach ($teams as $team) {
|
|
|
|
?>
|
|
|
|
<tr>
|
2019-09-25 21:20:05 +00:00
|
|
|
<th scope="row">
|
2019-09-19 22:02:01 +00:00
|
|
|
<?php
|
|
|
|
if (isset($_SESSION["role"]) && $_SESSION["role"] == Role::ADMIN)
|
2019-09-23 22:16:50 +00:00
|
|
|
echo "<a href=\"/equipe/" . $team->getTrigram() . "\">" . $team->getName() . "</a>";
|
2019-09-19 22:02:01 +00:00
|
|
|
else
|
|
|
|
echo $team->getName();
|
|
|
|
?>
|
2019-09-25 21:20:05 +00:00
|
|
|
</th>
|
|
|
|
<td><?= $team->getTrigram() ?></td>
|
|
|
|
<td><?= formatDate($team->getInscriptionDate()) ?></td>
|
|
|
|
<td><?= ValidationStatus::getTranslatedName($team->getValidationStatus()) ?></td>
|
2019-09-19 22:02:01 +00:00
|
|
|
</tr>
|
|
|
|
<?php
|
|
|
|
}
|
2019-09-12 10:18:15 +00:00
|
|
|
?>
|
2019-09-19 22:02:01 +00:00
|
|
|
</tbody>
|
|
|
|
<tfoot>
|
|
|
|
<tr>
|
2019-09-25 21:20:05 +00:00
|
|
|
<th>
|
2019-09-19 22:02:01 +00:00
|
|
|
Équipe
|
|
|
|
</th>
|
2019-09-25 21:20:05 +00:00
|
|
|
<th>
|
2019-09-19 22:02:01 +00:00
|
|
|
Trigramme
|
|
|
|
</th>
|
2019-09-25 21:20:05 +00:00
|
|
|
<th>
|
2019-09-19 22:02:01 +00:00
|
|
|
Date d'inscription
|
|
|
|
</th>
|
2019-09-25 21:20:05 +00:00
|
|
|
<th>
|
2019-09-19 22:02:01 +00:00
|
|
|
État de validation de l'inscription
|
|
|
|
</th>
|
|
|
|
</tr>
|
|
|
|
</tfoot>
|
|
|
|
</table>
|
2019-09-12 10:18:15 +00:00
|
|
|
|
|
|
|
<?php require_once "footer.php" ?>
|
|
|
|
|