1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2024-12-26 19:42:22 +00:00
plateforme-tfjm2/server_files/controllers/paiement.php

16 lines
425 B
PHP
Raw Normal View History

<?php
2020-01-01 20:53:46 +00:00
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";