mirror of
				https://gitlab.com/animath/si/plateforme.git
				synced 2025-11-04 13:12:17 +01:00 
			
		
		
		
	Problèmes de date
This commit is contained in:
		@@ -19,7 +19,7 @@ require_once "header.php";
 | 
			
		||||
    <div class="alert alert-info">
 | 
			
		||||
        <?php
 | 
			
		||||
        for ($i = 1; $i <= 2; ++$i) {
 | 
			
		||||
            if ($team->getEncadrants()[$i] == NULL)
 | 
			
		||||
            if ($team->getEncadrants()[$i - 1] == NULL)
 | 
			
		||||
                continue;
 | 
			
		||||
            $encadrant = User::fromId($team->getEncadrants()[$i - 1]);
 | 
			
		||||
            $id = $encadrant->getId();
 | 
			
		||||
@@ -113,7 +113,7 @@ require_once "header.php";
 | 
			
		||||
		<?php } else { ?>
 | 
			
		||||
            <hr />
 | 
			
		||||
            <div class="alert alert-warning">
 | 
			
		||||
                Pour demander à valider votre équipe, vous devez avoir au moins un encadrant, trois participants,
 | 
			
		||||
                Pour demander à valider votre équipe, vous devez avoir au moins un encadrant, quatre participants,
 | 
			
		||||
                choisi un problème et soumis une autorisation de droit à l'image par participant.
 | 
			
		||||
            </div>
 | 
			
		||||
		<?php } ?>
 | 
			
		||||
 
 | 
			
		||||
@@ -7,7 +7,7 @@ if (!$has_error && isset($save_solution)) { ?>
 | 
			
		||||
    </div>
 | 
			
		||||
<?php } ?>
 | 
			
		||||
 | 
			
		||||
<?php if (date("yyyy-mm-dd") < $tournament->getSolutionsDate()) { ?>
 | 
			
		||||
<?php if (date("Y-m-d H:i:s") < $tournament->getSolutionsDate()) { ?>
 | 
			
		||||
    <form method="post" enctype="multipart/form-data">
 | 
			
		||||
        <input type="hidden" name="MAX_FILE_SIZE" value="5000000"/>
 | 
			
		||||
        <div class="form-row">
 | 
			
		||||
 
 | 
			
		||||
@@ -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