mirror of
https://gitlab.com/animath/si/plateforme-corres2math.git
synced 2025-02-11 11:01:17 +00:00
Calendrier
This commit is contained in:
parent
5372350f46
commit
c48b97cc6d
@ -29,7 +29,8 @@ $ROUTES = [];
|
|||||||
$ROUTES["^(|accueil|index|accueil\.php|accueil\.html|accueil\.py|index\.php|index\.html|index\.py)$"] = ["server_files/controllers/index.php"];
|
$ROUTES["^(|accueil|index|accueil\.php|accueil\.html|accueil\.py|index\.php|index\.html|index\.py)$"] = ["server_files/controllers/index.php"];
|
||||||
$ROUTES["^ajouter_equipe$"] = ["server_files/controllers/ajouter_equipe.php"];
|
$ROUTES["^ajouter_equipe$"] = ["server_files/controllers/ajouter_equipe.php"];
|
||||||
$ROUTES["^ajouter_admin$"] = ["server_files/controllers/ajouter_admin.php"];
|
$ROUTES["^ajouter_admin$"] = ["server_files/controllers/ajouter_admin.php"];
|
||||||
$ROUTES["^calendrier$"] = ["server_files/controllers/calendrier.php"];
|
$ROUTES["^calendrier/(modifier)$"] = ["server_files/controllers/calendrier.php", "edit"];
|
||||||
|
$ROUTES["^calendrier/?$"] = ["server_files/controllers/calendrier.php"];
|
||||||
$ROUTES["^confirmer-mail/([a-z0-9]*)/?$"] = ["server_files/controllers/confirmer_mail.php", "token"];
|
$ROUTES["^confirmer-mail/([a-z0-9]*)/?$"] = ["server_files/controllers/confirmer_mail.php", "token"];
|
||||||
$ROUTES["^connexion/(confirmation-mail)/?$"] = ["server_files/controllers/connexion.php", "confirmation-mail"];
|
$ROUTES["^connexion/(confirmation-mail)/?$"] = ["server_files/controllers/connexion.php", "confirmation-mail"];
|
||||||
$ROUTES["^connexion/(mdp-oublie)/?$"] = ["server_files/controllers/connexion.php", "mdp_oublie"];
|
$ROUTES["^connexion/(mdp-oublie)/?$"] = ["server_files/controllers/connexion.php", "mdp_oublie"];
|
||||||
@ -45,7 +46,6 @@ $ROUTES["^mon-compte/?$"] = ["server_files/controllers/mon_compte.php"];
|
|||||||
$ROUTES["^mon-equipe/(modifier)/?$"] = ["server_files/controllers/mon_equipe.php", "modifier"];
|
$ROUTES["^mon-equipe/(modifier)/?$"] = ["server_files/controllers/mon_equipe.php", "modifier"];
|
||||||
$ROUTES["^mon-equipe/?$"] = ["server_files/controllers/mon_equipe.php"];
|
$ROUTES["^mon-equipe/?$"] = ["server_files/controllers/mon_equipe.php"];
|
||||||
$ROUTES["^probleme/([1-4])/?$"] = ["server_files/controllers/probleme.php", "probleme"];
|
$ROUTES["^probleme/([1-4])/?$"] = ["server_files/controllers/probleme.php", "probleme"];
|
||||||
$ROUTES["^problemes/?$"] = ["server_files/controllers/problemes.php"];
|
|
||||||
$ROUTES["^rejoindre_equipe/?$"] = ["server_files/controllers/rejoindre_equipe.php"];
|
$ROUTES["^rejoindre_equipe/?$"] = ["server_files/controllers/rejoindre_equipe.php"];
|
||||||
$ROUTES["^videos-solutions/?$"] = ["server_files/controllers/videos_solutions.php"];
|
$ROUTES["^videos-solutions/?$"] = ["server_files/controllers/videos_solutions.php"];
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@ if ($_SESSION["role"] != Role::ADMIN)
|
|||||||
$has_error = false;
|
$has_error = false;
|
||||||
$error_message = null;
|
$error_message = null;
|
||||||
|
|
||||||
if (isset($_POST["update_calendar"])) {
|
if (isset($_GET["edit"]) && isset($_POST["update_calendar"])) {
|
||||||
$update_calendar = new UpdateCalendar($_POST);
|
$update_calendar = new UpdateCalendar($_POST);
|
||||||
try {
|
try {
|
||||||
$update_calendar->makeVerifications();
|
$update_calendar->makeVerifications();
|
||||||
@ -71,7 +71,7 @@ class UpdateCalendar
|
|||||||
$CONFIG->setStartPhase4Date($this->date_start_phase4 . " " . $this->time_start_phase4);
|
$CONFIG->setStartPhase4Date($this->date_start_phase4 . " " . $this->time_start_phase4);
|
||||||
$CONFIG->setEndPhase4Date($this->date_end_phase4 . " " . $this->time_end_phase4);
|
$CONFIG->setEndPhase4Date($this->date_end_phase4 . " " . $this->time_end_phase4);
|
||||||
|
|
||||||
header("Location: $URL_BASE/problemes");
|
header("Location: $URL_BASE/calendrier");
|
||||||
exit();
|
exit();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
require_once "server_files/views/problemes.php";
|
|
@ -1,96 +1,139 @@
|
|||||||
<?php require_once "header.php"; ?>
|
<?php require_once "header.php"; ?>
|
||||||
|
|
||||||
<form method="post">
|
<?php if (isset($_GET["edit"])) { ?>
|
||||||
<table style="width: 100%;">
|
<form method="post">
|
||||||
<tbody>
|
<table style="width: 100%;">
|
||||||
<tr>
|
<tbody>
|
||||||
<td style="width: 30%;">
|
<tr>
|
||||||
<label for="date_inscription">Fin des inscriptions :</label>
|
<td style="width: 30%;">
|
||||||
</td>
|
<label for="date_inscription">Fin des inscriptions :</label>
|
||||||
<td style="width: 70%;">
|
</td>
|
||||||
<input style="width: 49%;" type="date" id="date_inscription" name="date_inscription" value="<?= substr($CONFIG->getInscriptionDate(), 0, 10) ?>" />
|
<td style="width: 70%;">
|
||||||
<input style="width: 49%;" type="time" id="time_inscription" name="time_inscription" value="<?= substr($CONFIG->getInscriptionDate(), 11, 5) ?>" />
|
<input style="width: 49%;" type="date" id="date_inscription" name="date_inscription"
|
||||||
</td>
|
value="<?= substr($CONFIG->getInscriptionDate(), 0, 10) ?>"/>
|
||||||
</tr>
|
<input style="width: 49%;" type="time" id="time_inscription" name="time_inscription"
|
||||||
<tr>
|
value="<?= substr($CONFIG->getInscriptionDate(), 11, 5) ?>"/>
|
||||||
<td style="width: 30%;">
|
</td>
|
||||||
<label for="date_start_phase1">Début de la phase 1 :</label>
|
</tr>
|
||||||
</td>
|
<tr>
|
||||||
<td style="width: 70%;">
|
<td style="width: 30%;">
|
||||||
<input style="width: 49%;" type="date" id="date_start_phase1" name="date_start_phase1" value="<?= substr($CONFIG->getStartPhase1Date(), 0, 10) ?>" />
|
<label for="date_start_phase1">Début de la phase 1 :</label>
|
||||||
<input style="width: 49%;" type="time" id="time_start_phase1" name="time_start_phase1" value="<?= substr($CONFIG->getStartPhase1Date(), 11, 5) ?>" />
|
</td>
|
||||||
</td>
|
<td style="width: 70%;">
|
||||||
</tr>
|
<input style="width: 49%;" type="date" id="date_start_phase1" name="date_start_phase1"
|
||||||
<tr>
|
value="<?= substr($CONFIG->getStartPhase1Date(), 0, 10) ?>"/>
|
||||||
<td style="width: 30%;">
|
<input style="width: 49%;" type="time" id="time_start_phase1" name="time_start_phase1"
|
||||||
<label for="date_end_phase1">Fin de la phase 1 :</label>
|
value="<?= substr($CONFIG->getStartPhase1Date(), 11, 5) ?>"/>
|
||||||
</td>
|
</td>
|
||||||
<td style="width: 70%;">
|
</tr>
|
||||||
<input style="width: 49%;" type="date" id="date_end_phase1" name="date_end_phase1" value="<?= substr($CONFIG->getEndPhase1Date(), 0, 10) ?>" />
|
<tr>
|
||||||
<input style="width: 49%;" type="time" id="time_end_phase1" name="time_end_phase1" value="<?= substr($CONFIG->getEndPhase1Date(), 11, 5) ?>" />
|
<td style="width: 30%;">
|
||||||
</td>
|
<label for="date_end_phase1">Fin de la phase 1 :</label>
|
||||||
</tr>
|
</td>
|
||||||
<tr>
|
<td style="width: 70%;">
|
||||||
<td style="width: 30%;">
|
<input style="width: 49%;" type="date" id="date_end_phase1" name="date_end_phase1"
|
||||||
<label for="date_start_phase1">Début de la phase 2 :</label>
|
value="<?= substr($CONFIG->getEndPhase1Date(), 0, 10) ?>"/>
|
||||||
</td>
|
<input style="width: 49%;" type="time" id="time_end_phase1" name="time_end_phase1"
|
||||||
<td style="width: 70%;">
|
value="<?= substr($CONFIG->getEndPhase1Date(), 11, 5) ?>"/>
|
||||||
<input style="width: 49%;" type="date" id="date_start_phase2" name="date_start_phase2" value="<?= substr($CONFIG->getStartPhase2Date(), 0, 10) ?>" />
|
</td>
|
||||||
<input style="width: 49%;" type="time" id="time_start_phase2" name="time_start_phase2" value="<?= substr($CONFIG->getStartPhase2Date(), 11, 5) ?>" />
|
</tr>
|
||||||
</td>
|
<tr>
|
||||||
</tr>
|
<td style="width: 30%;">
|
||||||
<tr>
|
<label for="date_start_phase1">Début de la phase 2 :</label>
|
||||||
<td style="width: 30%;">
|
</td>
|
||||||
<label for="date_end_phase1">Fin de la phase 2 :</label>
|
<td style="width: 70%;">
|
||||||
</td>
|
<input style="width: 49%;" type="date" id="date_start_phase2" name="date_start_phase2"
|
||||||
<td style="width: 70%;">
|
value="<?= substr($CONFIG->getStartPhase2Date(), 0, 10) ?>"/>
|
||||||
<input style="width: 49%;" type="date" id="date_end_phase2" name="date_end_phase2" value="<?= substr($CONFIG->getEndPhase2Date(), 0, 10) ?>" />
|
<input style="width: 49%;" type="time" id="time_start_phase2" name="time_start_phase2"
|
||||||
<input style="width: 49%;" type="time" id="time_end_phase2" name="time_end_phase2" value="<?= substr($CONFIG->getEndPhase2Date(), 11, 5) ?>" />
|
value="<?= substr($CONFIG->getStartPhase2Date(), 11, 5) ?>"/>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td style="width: 30%;">
|
<td style="width: 30%;">
|
||||||
<label for="date_start_phase1">Début de la phase 3 :</label>
|
<label for="date_end_phase1">Fin de la phase 2 :</label>
|
||||||
</td>
|
</td>
|
||||||
<td style="width: 70%;">
|
<td style="width: 70%;">
|
||||||
<input style="width: 49%;" type="date" id="date_start_phase3" name="date_start_phase3" value="<?= substr($CONFIG->getStartPhase3Date(), 0, 10) ?>" />
|
<input style="width: 49%;" type="date" id="date_end_phase2" name="date_end_phase2"
|
||||||
<input style="width: 49%;" type="time" id="time_start_phase3" name="time_start_phase3" value="<?= substr($CONFIG->getStartPhase3Date(), 11, 5) ?>" />
|
value="<?= substr($CONFIG->getEndPhase2Date(), 0, 10) ?>"/>
|
||||||
</td>
|
<input style="width: 49%;" type="time" id="time_end_phase2" name="time_end_phase2"
|
||||||
</tr>
|
value="<?= substr($CONFIG->getEndPhase2Date(), 11, 5) ?>"/>
|
||||||
<tr>
|
</td>
|
||||||
<td style="width: 30%;">
|
</tr>
|
||||||
<label for="date_end_phase1">Fin de la phase 3 :</label>
|
<tr>
|
||||||
</td>
|
<td style="width: 30%;">
|
||||||
<td style="width: 70%;">
|
<label for="date_start_phase1">Début de la phase 3 :</label>
|
||||||
<input style="width: 49%;" type="date" id="date_end_phase3" name="date_end_phase3" value="<?= substr($CONFIG->getEndPhase3Date(), 0, 10) ?>" />
|
</td>
|
||||||
<input style="width: 49%;" type="time" id="time_end_phase3" name="time_end_phase3" value="<?= substr($CONFIG->getEndPhase3Date(), 11, 5) ?>" />
|
<td style="width: 70%;">
|
||||||
</td>
|
<input style="width: 49%;" type="date" id="date_start_phase3" name="date_start_phase3"
|
||||||
</tr>
|
value="<?= substr($CONFIG->getStartPhase3Date(), 0, 10) ?>"/>
|
||||||
<tr>
|
<input style="width: 49%;" type="time" id="time_start_phase3" name="time_start_phase3"
|
||||||
<td style="width: 30%;">
|
value="<?= substr($CONFIG->getStartPhase3Date(), 11, 5) ?>"/>
|
||||||
<label for="date_start_phase1">Début de la phase 4 :</label>
|
</td>
|
||||||
</td>
|
</tr>
|
||||||
<td style="width: 70%;">
|
<tr>
|
||||||
<input style="width: 49%;" type="date" id="date_start_phase4" name="date_start_phase4" value="<?= substr($CONFIG->getStartPhase4Date(), 0, 10) ?>" />
|
<td style="width: 30%;">
|
||||||
<input style="width: 49%;" type="time" id="time_start_phase4" name="time_start_phase4" value="<?= substr($CONFIG->getStartPhase4Date(), 11, 5) ?>" />
|
<label for="date_end_phase1">Fin de la phase 3 :</label>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
<td style="width: 70%;">
|
||||||
<tr>
|
<input style="width: 49%;" type="date" id="date_end_phase3" name="date_end_phase3"
|
||||||
<td style="width: 30%;">
|
value="<?= substr($CONFIG->getEndPhase3Date(), 0, 10) ?>"/>
|
||||||
<label for="date_end_phase1">Fin de la phase 4 :</label>
|
<input style="width: 49%;" type="time" id="time_end_phase3" name="time_end_phase3"
|
||||||
</td>
|
value="<?= substr($CONFIG->getEndPhase3Date(), 11, 5) ?>"/>
|
||||||
<td style="width: 70%;">
|
</td>
|
||||||
<input style="width: 49%;" type="date" id="date_end_phase4" name="date_end_phase4" value="<?= substr($CONFIG->getEndPhase4Date(), 0, 10) ?>" />
|
</tr>
|
||||||
<input style="width: 49%;" type="time" id="time_end_phase4" name="time_end_phase4" value="<?= substr($CONFIG->getEndPhase4Date(), 11, 5) ?>" />
|
<tr>
|
||||||
</td>
|
<td style="width: 30%;">
|
||||||
</tr>
|
<label for="date_start_phase1">Début de la phase 4 :</label>
|
||||||
<tr>
|
</td>
|
||||||
<td colspan="2" style="width: 100%;">
|
<td style="width: 70%;">
|
||||||
<input style="width: 100%;" type="submit" name="update_calendar" value="Mettre à jour le calendrier" />
|
<input style="width: 49%;" type="date" id="date_start_phase4" name="date_start_phase4"
|
||||||
</td>
|
value="<?= substr($CONFIG->getStartPhase4Date(), 0, 10) ?>"/>
|
||||||
</tr>
|
<input style="width: 49%;" type="time" id="time_start_phase4" name="time_start_phase4"
|
||||||
</tbody>
|
value="<?= substr($CONFIG->getStartPhase4Date(), 11, 5) ?>"/>
|
||||||
</table>
|
</td>
|
||||||
</form>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td style="width: 30%;">
|
||||||
|
<label for="date_end_phase1">Fin de la phase 4 :</label>
|
||||||
|
</td>
|
||||||
|
<td style="width: 70%;">
|
||||||
|
<input style="width: 49%;" type="date" id="date_end_phase4" name="date_end_phase4"
|
||||||
|
value="<?= substr($CONFIG->getEndPhase4Date(), 0, 10) ?>"/>
|
||||||
|
<input style="width: 49%;" type="time" id="time_end_phase4" name="time_end_phase4"
|
||||||
|
value="<?= substr($CONFIG->getEndPhase4Date(), 11, 5) ?>"/>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td colspan="2" style="width: 100%;">
|
||||||
|
<input style="width: 100%;" type="submit" name="update_calendar"
|
||||||
|
value="Mettre à jour le calendrier"/>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</form>
|
||||||
|
<?php } else { ?><h2>Calendrier</h2>
|
||||||
|
|
||||||
<?php require_once "footer.php";
|
<?= Phase::getTranslatedName(Phase::INSCRIPTION) ?> :
|
||||||
|
<strong><?= formatDate($CONFIG->getInscriptionDate(), true) ?></strong><br/>
|
||||||
|
<?= Phase::getTranslatedName(Phase::PHASE1) ?> : Du
|
||||||
|
<strong><?= formatDate($CONFIG->getStartPhase1Date(), true) ?></strong> au
|
||||||
|
<strong><?= formatDate($CONFIG->getEndPhase1Date(), true) ?></strong><br/>
|
||||||
|
<?= Phase::getTranslatedName(Phase::PHASE2) ?> : Du
|
||||||
|
<strong><?= formatDate($CONFIG->getStartPhase2Date(), true) ?></strong> au
|
||||||
|
<strong><?= formatDate($CONFIG->getEndPhase2Date(), true) ?></strong><br/>
|
||||||
|
<?= Phase::getTranslatedName(Phase::PHASE3) ?> : Du
|
||||||
|
<strong><?= formatDate($CONFIG->getStartPhase3Date(), true) ?></strong> au
|
||||||
|
<strong><?= formatDate($CONFIG->getEndPhase3Date(), true) ?></strong><br/>
|
||||||
|
<?= Phase::getTranslatedName(Phase::PHASE4) ?> : Du
|
||||||
|
<strong><?= formatDate($CONFIG->getStartPhase4Date(), true) ?></strong> au
|
||||||
|
<strong><?= formatDate($CONFIG->getEndPhase4Date(), true) ?></strong><br/>
|
||||||
|
<br/>
|
||||||
|
Phase actuelle : <strong><?= Phase::getTranslatedName(Phase::getCurrentPhase()) ?></strong><br/>
|
||||||
|
|
||||||
|
<?php if ($_SESSION["role"] == Role::ADMIN) { ?>
|
||||||
|
<a href="<?= $URL_BASE ?>/calendrier/modifier">Modifier le calendrier</a>
|
||||||
|
<?php }
|
||||||
|
}
|
||||||
|
|
||||||
|
require_once "footer.php";
|
@ -25,7 +25,17 @@
|
|||||||
<ul id="menu">
|
<ul id="menu">
|
||||||
<li id="menu-logo"><img src="<?= $URL_BASE ?>/logo.png" alt="Logo Corres2Math"></li>
|
<li id="menu-logo"><img src="<?= $URL_BASE ?>/logo.png" alt="Logo Corres2Math"></li>
|
||||||
<li><a href="<?= $URL_BASE ?>/">Accueil</a></li>
|
<li><a href="<?= $URL_BASE ?>/">Accueil</a></li>
|
||||||
<li><a href="<?= $URL_BASE ?>/problemes">Liste des problèmes</a></li>
|
<li><a href="<?= $URL_BASE ?>/calendrier">Calendrier</a></li>
|
||||||
|
<li>
|
||||||
|
<!-- TODO Menu déroulant -->
|
||||||
|
<a>Liste des problèmes</a>
|
||||||
|
<ul>
|
||||||
|
<li><a href="<?= $URL_BASE ?>/probleme/1">Problème 1</a></li>
|
||||||
|
<li><a href="<?= $URL_BASE ?>/probleme/2">Problème 2</a></li>
|
||||||
|
<li><a href="<?= $URL_BASE ?>/probleme/3">Problème 3</a></li>
|
||||||
|
<li><a href="<?= $URL_BASE ?>/probleme/4">Problème 4</a></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
<?php if (!isset($_SESSION["user_id"])) { ?>
|
<?php if (!isset($_SESSION["user_id"])) { ?>
|
||||||
<li><a href="<?= $URL_BASE ?>/connexion">Connexion</a></li>
|
<li><a href="<?= $URL_BASE ?>/connexion">Connexion</a></li>
|
||||||
<?php if (date("Y-m-d H:i:s") < $CONFIG->getInscriptionDate()) { ?>
|
<?php if (date("Y-m-d H:i:s") < $CONFIG->getInscriptionDate()) { ?>
|
||||||
|
@ -1,48 +0,0 @@
|
|||||||
<?php require_once "header.php" ?>
|
|
||||||
|
|
||||||
<!-- TODO -->
|
|
||||||
<h1>TODO : renommer cette page en <span style="font-family: Courier">/calendrier</span> et faire un menu déroulant pour accéder aux informations sur un prolème</h1>
|
|
||||||
|
|
||||||
<h2>Liste des problèmes</h2>
|
|
||||||
|
|
||||||
<table style="border: 1px solid black; width: 100%">
|
|
||||||
<thead style="border: 1px solid black">
|
|
||||||
<tr>
|
|
||||||
<th style="border: 1px solid black; text-align: center">Problème</th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody style="border: 1px solid black">
|
|
||||||
<?php
|
|
||||||
for ($i = 1; $i <= 4; ++$i) {
|
|
||||||
?>
|
|
||||||
<tr style="border: 1px solid black">
|
|
||||||
<td style="border: 1px solid black; text-align: center"><a href="<?= $URL_BASE ?>/probleme/<?= $i ?>">Problème <?= $i ?></a></td>
|
|
||||||
</tr>
|
|
||||||
<?php
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
</tbody>
|
|
||||||
<tfoot style="border: 1px solid black">
|
|
||||||
<tr>
|
|
||||||
<th style="border: 1px solid black; text-align: center">Problème</th>
|
|
||||||
</tr>
|
|
||||||
</tfoot>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<hr />
|
|
||||||
|
|
||||||
<h2>Calendrier</h2>
|
|
||||||
|
|
||||||
<?= Phase::getTranslatedName(Phase::INSCRIPTION) ?> : <strong><?= formatDate($CONFIG->getInscriptionDate(), true) ?></strong><br />
|
|
||||||
<?= Phase::getTranslatedName(Phase::PHASE1) ?> : Du <strong><?= formatDate($CONFIG->getStartPhase1Date(), true) ?></strong> au <strong><?= formatDate($CONFIG->getEndPhase1Date(), true) ?></strong><br />
|
|
||||||
<?= Phase::getTranslatedName(Phase::PHASE2) ?> : Du <strong><?= formatDate($CONFIG->getStartPhase2Date(), true) ?></strong> au <strong><?= formatDate($CONFIG->getEndPhase2Date(), true) ?></strong><br />
|
|
||||||
<?= Phase::getTranslatedName(Phase::PHASE3) ?> : Du <strong><?= formatDate($CONFIG->getStartPhase3Date(), true) ?></strong> au <strong><?= formatDate($CONFIG->getEndPhase3Date(), true) ?></strong><br />
|
|
||||||
<?= Phase::getTranslatedName(Phase::PHASE4) ?> : Du <strong><?= formatDate($CONFIG->getStartPhase4Date(), true) ?></strong> au <strong><?= formatDate($CONFIG->getEndPhase4Date(), true) ?></strong><br />
|
|
||||||
<br />
|
|
||||||
Phase actuelle : <strong><?= Phase::getTranslatedName(Phase::getCurrentPhase()) ?></strong><br />
|
|
||||||
|
|
||||||
<?php if ($_SESSION["role"] == Role::ADMIN) { ?>
|
|
||||||
<a href="<?= $URL_BASE ?>/calendrier">Modifier le calendrier</a>
|
|
||||||
<?php }
|
|
||||||
|
|
||||||
require_once "footer.php" ?>
|
|
Loading…
x
Reference in New Issue
Block a user