X7ROOT File Manager
Current Path:
/home/remnbtxp/public_html/members
home
/
remnbtxp
/
public_html
/
members
/
📁
..
📄
Rem.zip
(2.75 MB)
📁
ajax
📄
ajax.zip
(7.93 MB)
📄
config.php
(376 B)
📄
dashboard.php
(4.1 KB)
📄
error_log
(78.08 KB)
📁
img
📁
includes
📄
index.php
(15.31 KB)
📄
login.php
(4.32 KB)
📄
login_styles.css
(995 B)
📄
logout.php
(246 B)
📄
manage_donations.php
(4.58 KB)
📄
manage_expenses.php
(4.58 KB)
📄
manage_invoices.php
(4.58 KB)
📄
manage_members.php
(9.77 KB)
📄
manage_notes.php
(4.58 KB)
📄
manage_partnerships.php
(4.59 KB)
📄
manage_task.php
(4.57 KB)
📄
register.php
(5.31 KB)
📄
register_styles.css
(1.29 KB)
📄
thank_you.php
(2.26 KB)
Editing: manage_donations.php
<?php require_once 'config.php'; ?> <!-- Check if the user is logged in --> <?php if (!isset($_SESSION["loggedin"]) || $_SESSION["loggedin"] !== true) { header("Location: login.php"); exit; } // Get user role $role = isset($_SESSION["role"]) ? $_SESSION["role"] : ""; // Check if the role is not set, redirect to login page if (empty($role)) { header("Location: login.php"); exit; } ?> <!-- HTML part for the dashboard using AdminLTE template --> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Manage Donations</title> <!-- Bootstrap CSS --> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"> <!-- Font Awesome Icons --> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css"> <!-- AdminLTE CSS --> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/admin-lte/3.1.0/css/adminlte.min.css"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome3/css/all.min.css"> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css"> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/admin-lte@3.1.0/dist/css/adminlte.min.css"> </head> <body class="hold-transition sidebar-mini"> <div class="wrapper"> <!-- Navbar --> <nav class="main-header navbar navbar-expand navbar-white navbar-light"> <!-- Left navbar links --> <ul class="navbar-nav"> <li class="nav-item"> <a class="nav-link" data-widget="pushmenu" href="#"><i class="fas fa-bars"></i></a> </li> </ul> <!-- Right navbar links --> <ul class="navbar-nav ml-auto"> <li class="nav-item"> <a class="nav-link" href="logout.php"> Logout <i class="fas fa-sign-out-alt"></i> </a> </li> </ul> </nav> <!-- /.navbar --> <!-- Main Sidebar Container --> <aside class="main-sidebar sidebar-dark-primary elevation-4"> <!-- Sidebar --> <div class="sidebar"> <!-- Sidebar Menu --> <nav class="mt-2"> <?php // Include role-specific sidebar if it exists $sidebarFilePath = "includes/{$role}_sidebar.php"; if (file_exists($sidebarFilePath)) { include($sidebarFilePath); } else { echo "Sidebar file not found for role: $role"; } ?> </nav> <!-- /.sidebar-menu --> </div> <!-- /.sidebar --> </aside> <!-- Content Wrapper. Contains page content --> <div class="content-wrapper"> <!-- Content Header (Page header) --> <!-- /.content-header --> <!-- Main content --> <section class="content"> <div class="container-fluid"> <?php // Include role-specific content if it exists $contentFilePath = "includes/manage_donations_content.php"; if (file_exists($contentFilePath)) { include($contentFilePath); } else { echo "Content file not found for role: $role"; } ?> </div> <!-- /.container-fluid --> </section> <!-- /.content --> </div> <!-- /.content-wrapper --> <!-- Control Sidebar --> <aside class="control-sidebar control-sidebar-dark"> <!-- Control sidebar content goes here --> </aside> <!-- /.control-sidebar --> <!-- Main Footer --> <footer class="main-footer"> <!-- To the right --> <div class="float-right d-none d-sm-inline"> Codes By EazzySoftwares </div> <!-- Default to the left --> <strong>© 2024 RemnnantLove Church</strong> </footer> </div> <!-- ./wrapper --> <!-- REQUIRED SCRIPTS --> <!-- jQuery --> <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script> <!-- Bootstrap 4 --> <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.bundle.min.js"></script> <!-- AdminLTE App --> <script src="https://cdnjs.cloudflare.com/ajax/libs/admin-lte/3.1.0/js/adminlte.min.js"></script> </body> </html>
Upload File
Create Folder