mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2025-07-05 13:23:55 +02:00
Modification mineure
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
include 'config.php';
|
||||
require_once 'config.php';
|
||||
|
||||
if (isset($_POST["leave_team"])) {
|
||||
for ($i = 1; $i <= ($_SESSION["role"] == "PARTICIPANT" ? 6 : 2); ++$i)
|
||||
@ -191,11 +191,11 @@ function checkCanValidate()
|
||||
|
||||
?>
|
||||
|
||||
<?php include "header.php" ?>
|
||||
<?php require_once "header.php" ?>
|
||||
|
||||
<?php if (!isset($_SESSION["user_id"]) || !isset($_SESSION["team_id"]) || $_SESSION["team_id"] == NULL) {
|
||||
echo "<h2>Vous devez être dans une équipe pour afficher cette page.</h2>";
|
||||
include "footer.php";
|
||||
require_once "footer.php";
|
||||
return;
|
||||
} ?>
|
||||
|
||||
@ -364,4 +364,4 @@ Code d'accès : <strong><?php echo $team_data["access_code"] ?></strong><br/>
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
|
||||
<?php include "footer.php" ?>
|
||||
<?php require_once "footer.php" ?>
|
||||
|
Reference in New Issue
Block a user