mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2025-06-25 18:17:28 +02:00
Problèmes de date
This commit is contained in:
@ -1,8 +1,7 @@
|
||||
<?php
|
||||
require_once "header.php";
|
||||
|
||||
|
||||
if (date("yyyy-mm-dd") < $tournament->getSolutionsDate()) {
|
||||
if (date("Y-m-d H:i:s") < $tournament->getSolutionsDate()) {
|
||||
echo "<div class=\"alert alert-danger\"><h4>Il est trop tôt pour se préoccuper des notes de synthèse, attendez le tirage des poules.</h4></div>";
|
||||
require_once "server_files/views/footer.php";
|
||||
}
|
||||
@ -13,7 +12,7 @@ if (isset($save_synthesis) && !$has_error) { ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<?php if (date("yyyy-mm-dd") < $tournament->getSynthesesDate()) { ?>
|
||||
<?php if (date("Y-m-d H:i:s") < $tournament->getSynthesesDate()) { ?>
|
||||
<form method="post" enctype="multipart/form-data">
|
||||
<input type="hidden" name="MAX_FILE_SIZE" value="5000000"/>
|
||||
<div class="form-row">
|
||||
|
Reference in New Issue
Block a user