Path : /home/jpenter/conceptacademicclasses.com/admin/ |
B-Con CMD Config cPanel C-Rdp D-Log Info Jump Mass Ransom Symlink vHost Zone-H |
Current File : /home/jpenter/conceptacademicclasses.com/admin/dashboard.php |
<?php session_start(); if(!isset($_SERVER['HTTP_REFERER'])){ // redirect them to your desired location header('location:../admin/index.php'); exit; } include_once 'dbconfig.php'; ?> <?php include('header.php'); ?> <!-- ============================================================== --> <!-- Page wrapper --> <!-- ============================================================== --> <div class="page-wrapper"> <!-- ============================================================== --> <!-- Bread crumb and right sidebar toggle --> <!-- ============================================================== --> <div class="page-breadcrumb"> <div class="row"> <div class="col-12 d-flex no-block align-items-center"> <h4 class="page-title">Dashboard</h4> <div class="ml-auto text-right"> <nav aria-label="breadcrumb"> <ol class="breadcrumb"> <li class="breadcrumb-item"><a href="#">Home</a></li> <li class="breadcrumb-item active" aria-current="page">Dashboard</li> </ol> </nav> </div> </div> </div> </div> <!-- ============================================================== --> <!-- End Bread crumb and right sidebar toggle --> <!-- ============================================================== --> <!-- ============================================================== --> <!-- Container fluid --> <!-- ============================================================== --> <div class="container-fluid"> <!-- ============================================================== --> <!-- Start Page Content --> <!-- ============================================================== --> <div class="row"> <!-- Column --> <div class="col-md-6 col-lg-3"> <a href="notification.php"> <div class="card card-hover"> <div class="box bg-cyan text-center"> <h1 class="font-light text-white"><i class="mdi mdi-view-dashboard"></i></h1> <h6 class="text-white">Notice</h6> </div> </div> </a> </div> <!-- Column --> <div class="col-md-6 col-lg-3"> <a href="enquiry.php"> <div class="card card-hover"> <div class="box bg-success text-center"> <h1 class="font-light text-white"><i class="mdi mdi-chart-areaspline"></i></h1> <h6 class="text-white">Enquiry</h6> </div> </div> </a> </div> <!-- Column --> <div class="col-md-6 col-lg-3"> <a href="gallery.php"> <div class="card card-hover"> <div class="box bg-warning text-center"> <h1 class="font-light text-white"><i class="mdi mdi-collage"></i></h1> <h6 class="text-white">Gallery</h6> </div> </div> </a> </div> <!-- Column --> <div class="col-md-6 col-lg-3"> <a href="courses.php"> <div class="card card-hover"> <div class="box bg-info text-center"> <h1 class="font-light text-white"><i class="mdi mdi-border-outside"></i></h1> <h6 class="text-white">Courses</h6> </div> </div> </a> </div> </div> <div class="row"> <div class="col-md-8"> <div class="card"> <div class="card-body"> <h4 class="card-title">Notifications</h4> <button type="button" class="btn btn-success btn-sm" style="float:right;" onclick="location.href='add_notification.php'">Add New</button> </div> <div class="comment-widgets scrollable"> <!-- Comment Row --> <?php $sql_query="SELECT * FROM notification"; $result_set=mysqli_query($con,$sql_query); $i=1; while($row=mysqli_fetch_row($result_set)) { ?> <div class="d-flex flex-row comment-row m-t-0"> <div class="p-2"><img src="assets/images/users/1.jpg" alt="user" width="50" class="rounded-circle"></div> <div class="comment-text w-100"> <h6 class="font-medium"><?php echo $i; ?> Notification</h6> <span class="m-b-15 d-block"><?php echo $row[1]; ?></span> </div> </div> <?php $i++; } ?> </div> </div> <!-- ============================================================== --> <!-- End PAge Content --> <!-- ============================================================== --> <!-- ============================================================== --> <!-- Right sidebar --> <!-- ============================================================== --> <!-- .right-sidebar --> <!-- ============================================================== --> <!-- End Right sidebar --> <!-- ============================================================== --> </div> </div> <!-- ============================================================== --> <!-- End Container fluid --> <!-- ============================================================== --> <?php include('footer.php'); ?>