403Webshell
Server IP : 127.0.0.1  /  Your IP : 192.168.99.1
Web Server : Apache/2.4.35 (Win64) OpenSSL/1.1.1b mod_fcgid/2.3.9
System : Windows NT WIN-JEJMB9EN0L0 10.0 build 14393 (Windows Server 2016) AMD64
User : Administrator ( 0)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  D:/laragon4/www/bpkd_/admin/error/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : D:/laragon4/www/bpkd_/admin/error/403.php
<?php
// Set HTTP response code
http_response_code(403);

// Load konfigurasi
require_once '../config/database.php';
require_once '../includes/init.php';

// Cek login
requireLogin();

$page_title = '403 - Akses Ditolak';
?>
<!DOCTYPE html>
<html lang="id">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>403 - Akses Ditolak | BPKD</title>
    
    <!-- Google 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=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@300;400;500;600;700&display=swap" rel="stylesheet">
    
    <!-- Bootstrap 5 CSS -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
    
    <!-- Font Awesome 6 -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    
    <style>
        :root {
            --primary-color: #4e73df;
            --primary-dark: #224abe;
            --danger-color: #e74a3b;
            --gradient-danger: linear-gradient(135deg, #e74a3b 0%, #be2e22 100%);
        }
        
        body {
            font-family: 'Inter', sans-serif;
            background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0;
            padding: 20px;
        }
        
        .error-container {
            text-align: center;
            max-width: 600px;
            margin: 0 auto;
        }
        
        .error-code {
            font-size: 120px;
            font-weight: 800;
            background: var(--gradient-danger);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            line-height: 1;
            margin-bottom: 20px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
        }
        
        .error-title {
            font-size: 2rem;
            font-weight: 700;
            color: #2c3e50;
            margin-bottom: 15px;
        }
        
        .error-message {
            font-size: 1rem;
            color: #6c757d;
            margin-bottom: 30px;
            line-height: 1.6;
        }
        
        .error-icon {
            font-size: 80px;
            color: #e74a3b;
            margin-bottom: 20px;
            opacity: 0.6;
        }
        
        .btn-home {
            background: var(--gradient-danger);
            color: white;
            border: none;
            padding: 12px 30px;
            border-radius: 50px;
            font-weight: 600;
            transition: all 0.3s;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 10px;
        }
        
        .btn-home:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(231, 74, 59, 0.3);
            color: white;
        }
        
        .btn-back {
            background: transparent;
            color: #e74a3b;
            border: 2px solid #e74a3b;
            padding: 12px 30px;
            border-radius: 50px;
            font-weight: 600;
            transition: all 0.3s;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            margin-left: 15px;
        }
        
        .btn-back:hover {
            background: #e74a3b;
            color: white;
            transform: translateY(-3px);
        }
        
        .suggestions {
            margin-top: 40px;
            padding-top: 30px;
            border-top: 1px solid #e9ecef;
        }
        
        .suggestions h5 {
            font-size: 1rem;
            font-weight: 600;
            color: #2c3e50;
            margin-bottom: 15px;
        }
        
        .suggestions ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        
        .suggestions li {
            margin-bottom: 10px;
        }
        
        .suggestions a {
            color: #e74a3b;
            text-decoration: none;
            transition: color 0.3s;
        }
        
        .suggestions a:hover {
            color: #be2e22;
            text-decoration: underline;
        }
        
        .user-info {
            background: #f8f9fc;
            border-radius: 10px;
            padding: 15px;
            margin-top: 30px;
            text-align: left;
        }
        
        .user-info p {
            margin: 0;
            font-size: 0.9rem;
            color: #666;
        }
        
        .user-info i {
            width: 25px;
            color: #e74a3b;
        }
        
        .footer-note {
            margin-top: 40px;
            font-size: 0.8rem;
            color: #adb5bd;
        }
        
        @media (max-width: 768px) {
            .error-code {
                font-size: 80px;
            }
            
            .error-title {
                font-size: 1.5rem;
            }
            
            .btn-home, .btn-back {
                padding: 10px 20px;
                font-size: 0.9rem;
            }
        }
    </style>
</head>
<body>
    <div class="error-container">
        <div class="error-icon">
            <i class="fas fa-lock"></i>
        </div>
        
        <div class="error-code">403</div>
        <h1 class="error-title">Akses Ditolak</h1>
        <p class="error-message">
            Maaf, Anda tidak memiliki izin untuk mengakses halaman ini.
            Halaman ini memerlukan hak akses khusus yang tidak Anda miliki.
        </p>
        
        <div>
            <a href="dashboard.php" class="btn-home">
                <i class="fas fa-home me-2"></i>Kembali ke Dashboard
            </a>
            <a href="javascript:history.back()" class="btn-back">
                <i class="fas fa-arrow-left me-2"></i>Halaman Sebelumnya
            </a>
        </div>
        
        <?php if (isset($_SESSION['user_id'])): ?>
        <div class="user-info">
            <p><i class="fas fa-user-circle me-2"></i> <strong>Anda login sebagai:</strong> <?php echo htmlspecialchars($_SESSION['full_name'] ?? 'Pengguna'); ?></p>
            <p><i class="fas fa-tag me-2"></i> <strong>Role:</strong> <?php echo ucfirst($_SESSION['role'] ?? 'User'); ?></p>
            <p><i class="fas fa-clock me-2"></i> <strong>Waktu login:</strong> <?php echo date('d/m/Y H:i:s', strtotime($_SESSION['last_login'] ?? 'now')); ?></p>
        </div>
        <?php endif; ?>
                
        <div class="footer-note">
            <i class="fas fa-info-circle me-1"></i> Jika Anda merasa ini adalah kesalahan, hubungi administrator sistem.
        </div>
    </div>
</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit