mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2024-12-27 13:02:23 +00:00
16 lines
425 B
PHP
16 lines
425 B
PHP
<?php
|
|
|
|
if (!isset($_SESSION["user_id"]) || ($_SESSION["role"] != Role::PARTICIPANT && $_SESSION["role"] != Role::ENCADRANT))
|
|
require_once "server_files/403.php";
|
|
|
|
/**
|
|
* @var User $user
|
|
* @var Team $team
|
|
* @var Tournament $tournament
|
|
*/
|
|
$user = $_SESSION["user"];
|
|
$team = $_SESSION["team"];
|
|
$tournament = $team->getEffectiveTournament();
|
|
$payment = $user->getPayment();
|
|
|
|
require_once "server_files/views/paiement.php"; |