plateforme-tfjm2/server_files/controllers/tournois.php

8 lines
448 B
PHP
Raw Normal View History

2019-09-06 11:48:50 +00:00
<?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();
require_once "server_files/views/tournois.php";