Server IP : 149.202.105.228 / Your IP : 216.73.216.123 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/ |
Upload File : |
<?php include "globalVars.php"; $groupID = $_GET["rID"]; $groupType = $_GET["kT"]; $tournID = $_GET["tID"]; if ($groupType == "k") { $dataTable = "knockout"; } else { $dataTable = "league"; } $tournamentQuery = mysqli_query($conn, "SELECT customRules FROM ". $dataTable ."Config WHERE id = '$tournID'"); if (mysqli_num_rows($tournamentQuery) == 0) { $tournamentRules = ""; } else { while ($tQ = mysqli_fetch_array($tournamentQuery)) { $tournamentRules = $tQ["customRules"]; } } $groupQuery = mysqli_query($conn, "SELECT groupTitle, groupRules FROM ". $dataTable ."Groups WHERE id = '$groupID'"); while ($gQ = mysqli_fetch_array($groupQuery)) { $tournamentGroup = $gQ["groupTitle"]; if (trim($tournamentRules) == "") { $tournamentRules = $gQ["groupRules"]; } } ?> <div id="rulesContainer"> <div id="rulesText"> <h6><?php echo "$tournamentGroup $LANG_KNOCKOUT_RULES" ?></h6> <?php echo $tournamentRules ?> </div> <a id="closeRules"><i class="fa fa-times" aria-hidden="true"></i></a> </div>