����JFIF��H�H����Exif��MM�*���� ��3����V�����3������3�(��������������������3�����
Server IP : 162.0.232.25 / Your IP : 3.145.55.25 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'; function getImageLogo($team) { global $conn; $run = mysqli_query($conn, "SELECT `image` FROM `teams` WHERE `team`='$team'") or die(mysqli_error($conn)); $image = mysqli_fetch_array($run)['image']; return $image; } ?> <!-- Slider --> <header class="slider"> <div class="main-slider"> <div class="swiper-wrapper"> <div class="swiper-slide"> <div class="slide-image" data-background="img/slide-5.jpg"></div> <div class="container"> <h1><span class="fas fa-volleyball-ball"></span> <strong>Sports My Career</strong></h1> </div> </div> <div class="swiper-slide"> <div class="slide-image" data-background="img/slide-3.jpg"></div> <div class="container"> <h1><span class="fas fa-futbol"></span> <strong>Sports My Career</strong></h1> </div> </div> <div class="swiper-slide"> <div class="slide-image" data-background="img/slide-6.jpg"></div> <div class="container"> <h1> <strong><span class="fas fa-basketball-ball"></span> Sports My Career</strong></h1> </div> </div> <!-- End Container --> </div> </div> <div class="button-prev">❮</div> <div class="button-next">❯</div> </header> <!--VS Top--> <!--Upcoming Match Top--> <section class="upcoming-section"> <div class="container"> <div class="row"> <div class="col-md-12"> <h2 class="h2-baslik-hizmetler-21 wow fade animated" style="visibility: visible;margin-top:70px;"> UPCOMING FRIENDLY MATCHES </h2> <div class="bosluk3"></div> </div> </div> </div> <?php $query = "SELECT * FROM `matches` ORDER BY `mid` DESC LIMIT 4"; $run = mysqli_query($conn, $query) or die(mysqli_error($conn)); while ($row = mysqli_fetch_array($run)) { ?> <div class="container"> <div class="or-up"> <div class="row d-flex justify-content-center"> <div class="com-md-12"> <a href="match.php?mid=<?php echo $row['mid']; ?>"> <span class="team-flag-upcoming"><img src="./teams/<?php echo getImageLogo($row['home']); ?>" alt="" width="123" height="141" /><?php echo $row['home']; ?></span> <h2 class="h2-baslik-anasayfa-ozel-up wow fade"> <strong>VS</strong> </h2> <span class="team-flag-upcoming"><?php echo $row['away']; ?><img src="./teams/<?php echo getImageLogo($row['away']); ?>" alt="" width="123" height="141" /></span> </a> </div> </div> </div> </div> <div class="container"> <div class="or-date"> <div class="row"> <div class="com-md-12"> <span class="icon-detailw"><i class="flaticon-timetable icon-r"></i><?php echo date('M d, Y', $row['date']) . ' - ' . date('H:i', $row['time']); ?></span> </div> </div> </div> </div> <?php } ?> <div class="container"> <div class="or"> <div class="row"> <div class="com-md-12 mb-3"> <a href="matches" class="custom-button">View All Matches</a> </div> </div> </div> </div> </section> <!--Players--> <section class="players-section"> <div class="container"> <div class="row"> <div class="col-md-12"> <h2 class="h2-baslik-hizmetler-21 wow fade animated" style="visibility: visible"> Players </h2> <div class="bosluk3"></div> </div> </div> </div> <div class="container"> <div class="row"> <div class="col-12"> <div class="carousel-classes"> <div class="swiper-wrapper"> <?php $query = "SELECT * FROM `profile` ORDER BY `pid` DESC LIMIT 4"; $run = mysqli_query($conn, $query) or die(mysqli_error($conn)); while ($row = mysqli_fetch_array($run)) { ?> <div class="swiper-slide"> <div class="class-box"> <div class="services-kutu2 wow fade" onclick="location.href='player.php?player=<?php echo strtolower(str_replace(' ', '-', $row['name'])); ?>';" style="cursor: pointer"> <div class="member-box wow reveal-effect"> <figure> <img src="profiles/<?php echo $row['image']; ?>" alt="Image" /> <figcaption> <h6><?php echo $row['jersey_number']; ?></h6> <p class="paragraf-sol-beyaz-orta"> <?php echo $row['name'] . ' - ' . $row['position']; ?> </p> </figcaption> </figure> </div> </div> </div> </div> <?php } ?> </div> <!-- end swiper-wrapper --> <!-- end swiper-pagination --> </div> </div> </div> </div> <div class="container"> <div class="or"> <div class="row"> <div class="com-md-12"> <a href="players" class="custom-button">View All Players</a> </div> </div> </div> </div> </section> <!--Events--> <section class="yorumlar-alani-sayfa"> <div class="container"> <div class="row"> <div class="col-12"> <div class="h-yazi-ortalama h-yazi-margin-orta-3"> <h2 class="h2-baslik-hizmetler-2 wow fade">Resent Events</h2> </div> </div> <div class="col-12"> <div class="carousel-classes"> <div class="swiper-wrapper"> <?php $query = "SELECT * FROM `events` ORDER BY `eid` DESC LIMIT 4"; $run = mysqli_query($conn, $query) or die(mysqli_error($conn)); while ($row = mysqli_fetch_array($run)) { ?> <div class="swiper-slide" data-tilt> <div class="post-kutu" onclick="location.href='event-detail.php?eid=<?php echo $row['eid']; ?>';" style="cursor: pointer"> <img src="./events/<?php echo $row['image']; ?>" alt="Haber 1" class="haber-gorsel" /> <div class="datesection"> <span class="date"><?php echo date('d.M.Y', $row['time']); ?></span> <span class="tt">-</span> <span class="category"><?php echo $row['category']; ?></span> </div> <h3 class="baslik-3 h-yazi-margin-kucuk"><?php echo $row['title']; ?></h3> <p class="post-kutu--yazi"><?php echo $row['details']; ?></p> <div class="h-yazi-ortalama h-yazi-margin-4"> <a href="event-detail.php?eid=<?php echo $row['eid']; ?>" class="custom-button">More</a> </div> </div> </div> <?php } ?> <!-- end swiper-slide --> </div> <!-- end swiper-wrapper --> <div class="swiper-pagination"></div> <!-- end swiper-pagination --> </div> </div> <!-- end col-12 --> </div> </div> </section> <?php include './footer.php'; ?> <script> document.querySelector("title").innerText = "SMC - Home"; document.querySelectorAll("ul.menueffect li a")[0].style.color = "yellow"; var count = document.querySelectorAll("p.post-kutu--yazi").length; for (var i = 0; i < count; i++) { var title = document.querySelectorAll("p.post-kutu--yazi")[i].innerText; var slicer = title.slice(0, 85); if (title.length >= 85) { document.querySelectorAll("p.post-kutu--yazi")[i].innerHTML = slicer + '...'; } else { document.querySelectorAll("p.post-kutu--yazi")[i].innerHTML = slicer; } } </script>