403Webshell
Server IP : 104.21.80.248  /  Your IP : 172.71.28.156
Web Server : Apache/2.4.25 (Win32) OpenSSL/1.0.2j PHP/5.6.30
System : Windows NT WIN-ECQAAA40806 6.2 build 9200 (Windows Server 2012 Standard Edition) i586
User : SYSTEM ( 0)
PHP Version : 5.6.30
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /Inetpub/www/certificate/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /Inetpub/www//certificate/layout.php
<?php
function renderHeader($title) {
    echo '<!DOCTYPE html>
    <html lang="th">
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <title>'.$title.'</title>
        <link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
        <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css">
        <style>
            @import url("https://fonts.googleapis.com/css2?family=Sarabun:wght@300;400;500;600&display=swap");
            body { font-family: "Sarabun", sans-serif; background-color: #f4f7f6; color: #333; }
            .navbar { box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
            .card { border: none; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.04); transition: transform 0.2s; }
            .card:hover { transform: translateY(-2px); }
            .search-input { border-radius: 50px; padding: 12px 25px; border: 2px solid #e1e5eb; outline: none; transition: all 0.3s;}
            .search-input:focus { border-color: #0d6efd; box-shadow: 0 0 0 0.25rem rgba(13,110,253,.25); }
        </style>
    </head>
    <body>
    <nav class="navbar navbar-expand-lg navbar-dark bg-primary mb-4 py-3">
        <div class="container">
            <a class="navbar-brand fw-bold" href="index.php"><i class="fas fa-certificate text-warning"></i> ระบบเกียรติบัตรออนไลน์ สพม.ราชบุรี</a>
            <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav">
                <span class="navbar-toggler-icon"></span>
            </button>
            <div class="collapse navbar-collapse" id="navbarNav">
                <ul class="navbar-nav ms-auto">';
    if(isset($_SESSION['user_id'])) {
        echo '<li class="nav-item"><a class="nav-link text-white" href="dashboard.php"><i class="fas fa-tasks"></i> จัดการระบบ</a></li>';
        // echo '<li class="nav-item"><a class="nav-link text-white" href="crypto_tool.php"><i class="fas fa-key"></i> เครื่องมือรหัสผ่าน</a></li>';
        echo '<li class="nav-item"><a class="nav-link text-warning fw-bold" href="logout.php"><i class="fas fa-sign-out-alt"></i> ออกจากระบบ ('.$_SESSION['username'].')</a></li>';
    } else {
        echo '<li class="nav-item"><a class="nav-link btn btn-light text-primary px-4 fw-bold rounded-pill" href="login.php"><i class="fas fa-sign-in-alt"></i> เข้าสู่ระบบเจ้าหน้าที่</a></li>';
    }
    echo '      </ul>
            </div>
        </div>
    </nav>
    <div class="container min-vh-100">';
}

function renderFooter() {
    echo '</div>
    <footer class="text-center py-4 mt-5 bg-white border-top">
        <div class="container text-muted">
            <small>&copy; '.date('Y').' จัดทำโดย นายชาคริต ราชนิธยากร ผู้อำนวยการกลุ่ม ICT</small>
        </div>
    </footer>
    <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
    </body>
    </html>';
}
?>

Youez - 2016 - github.com/yon3zu
LinuXploit