Server IP : 149.202.105.228 / Your IP : 216.73.216.18 Web Server : Apache System : Linux webm129.cluster030.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64 User : atfycaf ( 116275) PHP Version : 7.4.33 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/atfycaf/www/admin/ |
Upload File : |
<?php $thisCheckID = 5; include "globalVars.php"; if (!isset($_POST["tournID"])) { header("Location:/admin/knockoutEdit.html"); } else { $tournamentID = $_POST["tournID"]; } $tournamentBasicsQuery = mysqli_query($conn, "SELECT pageURL, tournTitle, tournType, tournStartDate, tournLocation FROM knockoutConfig WHERE id = '$tournamentID'"); while ($sQ = mysqli_fetch_array($tournamentBasicsQuery)) { $tournURL = $sQ["pageURL"]; $tournType = $sQ["tournType"]; $tournTitle = $sQ["tournTitle"]; $tournStartDate = $sQ["tournStartDate"]; $tStartMonth = date("F", strtotime($tournStartDate)); $tStartYear = date("Y", strtotime($tournStartDate)); $tournLocation = $sQ["tournLocation"]; } if (trim($tournTitle) == "") { $tournTitle = "$tournLocation $tStartMonth $tStartYear"; } $tournTypeURLQuery = mysqli_query($conn, "SELECT pageURL FROM knockoutGroups WHERE id = '$tournType'"); while ($tTQ = mysqli_fetch_array($tournTypeURLQuery)) { $tournTypeURL = $tTQ["pageURL"]; } include "header.php"; ?> <h2>Update the <?php echo $tournTitle ?> Tournament - Fixtures</h2> <div class="formContainer"> <div class="functionButtons"> <form action="knockoutEdit-1.html" method="post"> <input type="hidden" name="tournID" value="<?php echo $tournamentID ?>" /> <input type="submit" name="getLeague" value="Tournament Details" /> </form> <form action="knockoutEdit-2.html" method="post"> <input type="hidden" name="tournID" value="<?php echo $tournamentID ?>" /> <input type="submit" name="getLeague" value="Page Content" /> </form> <form action="knockoutEdit-3.html" method="post"> <input type="hidden" name="tournID" value="<?php echo $tournamentID ?>" /> <input type="submit" class="functionSelected" name="getLeague" value="Fixtures" /> </form> </div> </div> <p>The fixtures are available as a PDF to send in emails or print. This PDF is automatically updated with the latest scores once you have saved them.</p> <a href="/pdf/<?php echo $tournTypeURL ?>-<?php echo $tournURL ?>-tournament-fixtures.pdf" class="submitButton" target="_blank">Print Fixtures</a> <?php include "footer.php"; ?>