1
0
mirror of https://gitlab.com/animath/si/plateforme-corres2math.git synced 2025-07-04 21:44:04 +02:00

Pas d'inscription possible après la date limite

This commit is contained in:
galaxyoyo
2019-09-12 18:47:57 +02:00
parent 1edc2cbd60
commit 4926539e25
11 changed files with 153 additions and 128 deletions

View File

@ -3,6 +3,8 @@ require_once "header.php" ;
if (isset($join_team) && !$has_error) { ?>
Vous avez bien rejoint l'équipe <?= $_SESSION["team"]->getName() ?> !
<?php } elseif(date("Y-m-d H:i:s") >= $CONFIG->getInscriptionDate()) { ?>
<h2>La date limite d'inscription est dépassée.</h2>
<?php } else { ?>
<?php if ($has_error) echo "<h2>Erreur : " . $error_message . "</h2>"; ?>