mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2025-06-25 18:17:28 +02:00
Améliorations du code
This commit is contained in:
@ -1,7 +1,5 @@
|
||||
<?php
|
||||
|
||||
$response = $DB->query("SELECT `name`, `date_start`, `date_end`, `date_inscription`, `date_solutions`, `size` FROM `tournaments`
|
||||
WHERE `year` = '$YEAR' AND `final` = false ORDER BY `date_start`, `name`;");
|
||||
$final_data = $DB->query("SELECT `name`, `date_start`, `date_end`, `date_solutions`, `size` FROM `tournaments` WHERE `final` AND `year` = $YEAR;")->fetch();
|
||||
$tournaments = Tournament::getAllTournaments();
|
||||
|
||||
require_once "server_files/views/tournois.php";
|
||||
|
Reference in New Issue
Block a user