2019-09-07 11:42:36 +00:00
|
|
|
<?php require_once "header.php" ?>
|
|
|
|
|
2019-09-06 11:48:50 +00:00
|
|
|
<h2>Liste des tournois</h2>
|
|
|
|
|
|
|
|
<table style="border: 1px solid black; width: 100%">
|
|
|
|
<thead style="border: 1px solid black">
|
|
|
|
<tr>
|
2019-09-07 23:35:05 +00:00
|
|
|
<th style="border: 1px solid black; text-align: center">Nom</th>
|
2019-09-06 11:48:50 +00:00
|
|
|
<th style="border: 1px solid black; text-align: center">Dates</th>
|
|
|
|
<th style="border: 1px solid black; text-align: center">Inscription avant le</th>
|
|
|
|
<th style="border: 1px solid black; text-align: center">Date de rendu des solutions</th>
|
|
|
|
<th style="border: 1px solid black; text-align: center">Places disponibles</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody style="border: 1px solid black">
|
|
|
|
<?php
|
2019-09-07 23:35:05 +00:00
|
|
|
foreach ($tournaments as $tournament) {
|
2019-09-06 11:48:50 +00:00
|
|
|
?>
|
|
|
|
<tr style="border: 1px solid black">
|
2019-09-07 23:35:05 +00:00
|
|
|
<td style="border: 1px solid black; text-align: center"><a href="<?= $URL_BASE ?>/tournoi/<?= $tournament->getName() ?>"><?= $tournament->getName() ?></a></td>
|
|
|
|
<td style="border: 1px solid black; text-align: center">Du <?= formatDate($tournament->getStartDate()) ?> au <?= formatDate($tournament->getEndDate()) ?></td>
|
|
|
|
<td style="border: 1px solid black; text-align: center"><?= formatDate($tournament->getSolutionsDate()) ?></td>
|
|
|
|
<td style="border: 1px solid black; text-align: center"><?= formatDate($tournament->getSynthesesDate()) ?></td>
|
|
|
|
<td style="border: 1px solid black; text-align: center"><?= $tournament->getSize() ?></td>
|
2019-09-06 11:48:50 +00:00
|
|
|
</tr>
|
|
|
|
<?php
|
|
|
|
}
|
|
|
|
?>
|
|
|
|
</tbody>
|
|
|
|
<tfoot style="border: 1px solid black">
|
|
|
|
<tr>
|
2019-09-07 23:35:05 +00:00
|
|
|
<th style="border: 1px solid black; text-align: center">Nom</th>
|
2019-09-06 11:48:50 +00:00
|
|
|
<th style="border: 1px solid black; text-align: center">Dates</th>
|
|
|
|
<th style="border: 1px solid black; text-align: center">Inscription avant le</th>
|
|
|
|
<th style="border: 1px solid black; text-align: center">Date de rendu des solutions</th>
|
|
|
|
<th style="border: 1px solid black; text-align: center">Places disponibles</th>
|
|
|
|
</tr>
|
|
|
|
</tfoot>
|
2019-09-07 11:42:36 +00:00
|
|
|
</table>
|
|
|
|
|
|
|
|
<?php require_once "footer.php" ?>
|