Server IP : 149.202.105.228 / Your IP : 216.73.216.118 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/a/t/f/atfycaf/www/pdf/ |
Upload File : |
<?php if (!isset($_GET["pageURL"])) { header("Location: /"); } include "../globalVars.php"; $eventURL = $_GET["pageURL"]; $forthcomingEventQuery = mysqli_query($conn, "SELECT * FROM forthcomingEvents WHERE pageURL = '$eventURL'"); while ($fEQ = mysqli_fetch_array($forthcomingEventQuery)) { $eventID = $fEQ["id"]; $eventURL = $fEQ["pageURL"]; $headerTitle = $fEQ["eventTitle"]; $eventType = $fEQ["eventType"]; $eventRegType = $fEQ["eventRegType"]; $eventDate = date("jS F, Y", strtotime($fEQ["eventStartDate"])); $eventLocation = $fEQ["eventLocation"]; if ($eventType == 1) { $eventIntro = "This Tournament"; } else { $eventIntro = "This League"; } if (trim($eventLocation) != "") { $locationDisplay = " will be played at $eventLocation starting"; } else { $locationDisplay = " starts"; } } if ($eventRegType == 2) { $teamPlayers = "Pairs"; $playFormat = "pairs"; } elseif ($eventRegType == 3) { $teamPlayers = "Triples"; $playFormat = "triples"; } elseif ($eventRegType == 4) { $teamPlayers = "Teams"; $playFormat = "team"; } else { $teamPlayers = "Players"; $playFormat = "individual"; } ?> <!doctype html> <html> <head> <meta charset="utf-8"> <title><?php echo $headerTitle ?> | <?php echo $companyName ?></title> <meta name="author" content="www.modsnetwebsitedesign.com"/> <meta name="DC.Title" content="<?php echo $headerTitle ?> | <?php echo $companyName ?>"/> <meta name="DC.Creator" content="https://www.modsnetwebsitedesign.com"/> <meta name="og:title" content="<?php echo $headerTitle ?> | <?php echo $companyName ?>"> <meta name="og:description" content="<?php echo $headerTitle ?> <?php echo $companyName ?>"> <meta name="og:image" content="<?php echo $Iurl ?>og-image.jpg"> <meta name="og:image:secure_url" content="<?php echo $Iurl ?>og-image.jpg"> <meta property="og:updated_time" content="1651497389" /> <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no, width=device-width" /> <link rel="shortcut icon" type="image/x-icon" href="<?php echo $ENurl ?>favicon.ico"/> <link rel="icon" type="image/ico" href="<?php echo $Iurl ?>favicon.png" /> <link rel="apple-touch-icon" href="<?php echo $Iurl ?>favicon-60.png"> <link rel="apple-touch-icon" sizes="76x76" href="<?php echo $Iurl ?>favicon-76.png"> <link rel="apple-touch-icon" sizes="120x120" href="<?php echo $Iurl ?>favicon-120.png"> <link rel="apple-touch-icon" sizes="152x152" href="<?php echo $Iurl ?>favicon-152.png"> <link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link href="https://fonts.googleapis.com/css2?family=Arimo:wght@700&family=Open+Sans:wght@400;600;700&family=Roboto:wght@700&display=swap" rel="stylesheet"> <link type="text/css" href="<?php echo $url ?>pdf/stylesheet-registration.css" rel="stylesheet" media="all" /> </head> <body> <div class="pdfFPage"> <div class="header"> <div class="logo"> <a href="<?php echo $url ?>"><img src="<?php echo $Iurl ?>logo.png" width="69" height="98"alt="<?php echo $headerTitle ?> | <?php echo $companyName ?>" title="<?php echo $headerTitle ?> | <?php echo $companyName ?>"></a> <div class="logoTitle"> <div class="logoTitleT"> <a href="<?php echo $url ?>"> <span class="logoTitleInt">Federación Andaluza de Bolos</span> <span class="logoTitleAl">AlmerÃa</span> </a> </div> </div> </div> <div class="fixturesHeader"> <div class="fixturesHeaderT"> <p><?php echo $headerTitle ?></p> </div> </div> </div> <div class="main"> <p><?php echo $eventIntro . $locationDisplay ?> on the <?php echo $eventDate ?> and will be played in <?php echo $playFormat ?> format.</p> <h1>Registered <?php echo $teamPlayers ?></h1> <?php $registeredQuery = mysqli_query($conn, "SELECT * FROM forthcomingRegistrations WHERE eventID = '$eventID' ORDER BY id ASC") or die (mysqli_error($conn)); if (mysqli_num_rows($registeredQuery) == 0) { echo "<p>No $teamPlayers registered yet.</p>"; } else { while ($rQ = mysqli_fetch_array($registeredQuery)) { $firstName = $rQ["firstName"]; $secondName = $rQ["secondName"]; $thirdName = $rQ["thirdName"]; $teamName = $rQ["teamName"]; $clubName = $rQ["clubName"]; ?> <div class="registeredBox"> <?php if ($eventRegType == 4) { echo "<span class=\"regName\">$teamName</span>"; } else { echo "<span class=\"regName\">$firstName</span>"; if ($eventRegType == 2) { echo "<span class=\"regName\">$secondName</span>"; } if ($eventRegType == 3) { echo "<span class=\"regName\">$thirdName</span>"; } } echo "<span class=\"clubName\">$clubName</span>"; ?> </div> <?php } } ?> </div> </div>