mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2025-08-04 11:10:56 +02:00
Utilisation d'un dispatcher pour gérer les redirections
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
<?php if (isset($error_message)) {
|
||||
<?php
|
||||
require_once "header.php";
|
||||
|
||||
if (isset($error_message)) {
|
||||
if ($error_message !== false) {
|
||||
echo "<h2>Erreur : " . $error_message . "</h2>";
|
||||
} else {
|
||||
@@ -6,7 +9,7 @@
|
||||
}
|
||||
}?>
|
||||
|
||||
<?php if (date("yyyy-mm-dd") < $tournament_data["date_solutions"]) { ?>
|
||||
<?php if (date("yyyy-mm-dd") < $tournament->getSolutionsDate()) { ?>
|
||||
<form method="post" enctype="multipart/form-data">
|
||||
<input type="hidden" name="MAX_FILE_SIZE" value="5000000" />
|
||||
<table style="width: 100%;">
|
||||
@@ -54,5 +57,6 @@ while (($data = $solutions_req->fetch()) !== false) {
|
||||
$version = $data["version"];
|
||||
echo "Problème $problem (Version $version) : <a href=\"$URL_BASE/file/$file_id\">Télécharger</a><br />";
|
||||
}
|
||||
?>
|
||||
|
||||
|
||||
require_once "footer.php";
|
||||
|
Reference in New Issue
Block a user