2019-09-27 23:14:08 +00:00
|
|
|
<?php
|
|
|
|
require_once "header.php";
|
|
|
|
?>
|
|
|
|
|
|
|
|
<div class="mt-4 mb-4">
|
2019-12-04 11:05:53 +00:00
|
|
|
<h2 class="display-3"><?= $orphans ? "Profils orphelins" : "Tous les profils" ?></h2>
|
2019-09-27 23:14:08 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div>
|
2019-12-04 11:05:53 +00:00
|
|
|
Cette page recense tous les utilisateurs inscrits<?= $orphans ? " mais qui n'ont pas rejoint d'équipe" : "" ?>.
|
2019-09-27 23:14:08 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<br />
|
|
|
|
|
|
|
|
<table class="table table-striped table-bordered table-hover">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th scope="col">
|
|
|
|
Nom
|
|
|
|
</th>
|
|
|
|
<th scope="col">
|
|
|
|
Rôle
|
|
|
|
</th>
|
|
|
|
<th scope="col">
|
|
|
|
Inscrit le
|
|
|
|
</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<?php
|
|
|
|
/** @var User $user */
|
2019-12-04 11:05:53 +00:00
|
|
|
foreach ($users as $user) {
|
2019-09-27 23:14:08 +00:00
|
|
|
?>
|
|
|
|
<tr>
|
|
|
|
<th scope="row">
|
|
|
|
<a href="/informations/<?= $user->getId() . "/" . $user->getFirstName() . " " . $user->getSurname() ?>">
|
|
|
|
<?= $user->getFirstName() . " " . $user->getSurname() ?>
|
|
|
|
</a>
|
|
|
|
</th>
|
|
|
|
<td><?= Role::getTranslatedName($user->getRole()) ?></td>
|
|
|
|
<td><?= formatDate($user->getInscriptionDate(), true) ?></td>
|
|
|
|
</tr>
|
|
|
|
<?php
|
|
|
|
}
|
|
|
|
?>
|
|
|
|
</tbody>
|
|
|
|
<tfoot>
|
|
|
|
<tr>
|
|
|
|
<th scope="col">
|
|
|
|
Nom
|
|
|
|
</th>
|
|
|
|
<th scope="col">
|
|
|
|
Rôle
|
|
|
|
</th>
|
|
|
|
<th scope="col">
|
|
|
|
Inscrit le
|
|
|
|
</th>
|
|
|
|
</tr>
|
|
|
|
</tfoot>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
<?php
|
|
|
|
require_once "footer.php";
|