mirror of
https://gitlab.com/animath/si/plateforme-corres2math.git
synced 2025-06-24 23:40:29 +02:00
Copie du site du TFJM² à adapter aux Correspondances
This commit is contained in:
33
server_files/views/rejoindre_equipe.php
Normal file
33
server_files/views/rejoindre_equipe.php
Normal file
@ -0,0 +1,33 @@
|
||||
<?php
|
||||
require_once "header.php" ;
|
||||
|
||||
if (isset($join_team) && !$has_error) { ?>
|
||||
Vous avez bien rejoint l'équipe <?= $_SESSION["team"]->getName() ?> !
|
||||
<?php } else { ?>
|
||||
|
||||
<?php if ($has_error) echo "<h2>Erreur : " . $error_message . "</h2>"; ?>
|
||||
|
||||
<form method="POST">
|
||||
<input type="hidden" name="submitted" value="true" />
|
||||
<table style="width: 100%;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="width: 30%;">
|
||||
<label for="access_code">Code d'accès :</label>
|
||||
</td>
|
||||
<td style="width: 70%;">
|
||||
<input style="width: 100%;" type="text" id="access_code" name="access_code" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<input style="width: 100%;" type="submit" value="Rejoindre l'équipe" />
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</form>
|
||||
|
||||
<?php } ?>
|
||||
|
||||
<?php require_once "footer.php" ?>
|
Reference in New Issue
Block a user