<?php require_once "bd_utils.php"; require_once "tools.php"; require_once "queries.php"; include "result_header.php"; $queryKey = $_GET['query']; $obj_utils = new bd_utils(); $obj_utils->connect(); $query = getQueryForKey($queryKey); $tabRequest = $obj_utils->executeQuery($query); ?> <br> <h1>Resultats</h1> <?php listQuery($tabRequest, "Résultats");
?> > <?php echo $currentCourse; ?> </option> <?php } ?> </select> <input type="hidden" value="changeCourse" name="actionType"/> </form> <br> <?php $query = getQueryForKey("results", $course); $tabRunners = $obj_utils->executeQuery($query); if ($tabRunners != 0) { ?> <table class="principale"> <tr> <th colspan="7"><h2>Correction des résultats de <?php echo $course; ?> </h2></th> </tr> <tr> <th>Général</th> <th>Formation</th> <th>Dossard</th> <th>Temps</th>
if (Config::team) { include 'pages/header/result_header.php'; } $obj_utils = new DbUtils(); $obj_utils->connect(); $queryKey = HTTP_RESQUEST::get('query'); $course = HTTP_RESQUEST::get('course'); if ($queryKey == "general") { $course = $obj_utils->getCourse(); } $courseToShow = $course; if ($queryKey == "challenge") { $courseToShow = "ALL CHALLENGE"; } $tool = new Tool($obj_utils); $query = getQueryForKey($queryKey, $course); $tabRequest = $obj_utils->executeQuery($query); ?> <h1>Resultats <?php echo $courseToShow; ?> </h1> <?php if ($queryKey == "challenge" && $tabRequest != 0) { $results = $tool->buildList($tabRequest); ?> <table><tr><td> <table class="principale"> <tr> <th colspan="5"><h2>CHALLENGE</h2></th> </tr>
<body onLoad="setFocus()"> <?php require_once 'tools/db/DbUtils.php'; require_once 'tools/http/HTTP_REQUEST.php'; require_once 'tools/db/queries.php'; require_once 'tools/service/tools.php'; $obj_utils = new DbUtils(); $obj_utils->connect(); $saved = false; if (isset($_POST['dossard'])) { $saved = $obj_utils->setRunner($_POST['dossard']); } $obj_utils->connect(); $courseToShow = $obj_utils->getCourse(); $query = getQueryForKey("generalLast10", $courseToShow); $tabRequest = $obj_utils->executeQuery($query); $tool = new Tool($obj_utils); ?> <h1>Arrivée</h1> <form name="form1" method="post" action="./index.php?page=timer.php"> <table class="principale"> <tr> <td width="50%" align="center"> <table > <tr><td style="text-align: center;"><strong>Numéro de dossard: </strong></td></tr> <tr> <td style="text-align: center;"> <input maxlength="5" size="5" type="text" name="dossard" autocomplete="off" style="font-size: 25px; text-align: right;"> <input type="submit" name="Submit" value="Submit">