D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
ipuco
/
public_html
/
superadmin
/
Filename :
dashboard.php
back
Copy
<?php ob_start(); session_start(); include('include/connection.php'); $emailid=$_SESSION['emailid']; $adminid=$_SESSION['id']; $per=mysqli_query($conn,"select * from admin where id='".$adminid."'"); $perq1=mysqli_fetch_array($per); if (!(isset($_SESSION['emailid']) && $_SESSION['emailid'] != '')) { header ("Location: index.php"); } //die(); ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0,minimal-ui"> <title>Super Admin Panel</title> <meta content="Admin Dashboard" name="description"> <meta content="Themesbrand" name="author"> <link rel="shortcut icon" href="assets/images/favicon.ico"> <!--Chartist Chart CSS --> <link rel="stylesheet" href="../plugins/chartist/css/chartist.min.css"> <link href="assets/css/bootstrap.min.css" rel="stylesheet" type="text/css"> <link href="assets/css/metismenu.min.css" rel="stylesheet" type="text/css"> <link href="assets/css/icons.css" rel="stylesheet" type="text/css"> <link href="assets/css/style.css" rel="stylesheet" type="text/css"> </head> <body> <!-- Begin page --> <div id="wrapper"> <!-- Top Bar Start --> <?php include('include/top-header.php');?> <!-- Top Bar End --> <!-- ========== Left Sidebar Start ========== --> <div class="left side-menu"> <?php include('include/left-menu.php');?> <!-- Sidebar -left --> </div> <!-- Left Sidebar End --> <!-- ============================================================== --> <!-- Start right Content here --> <!-- ============================================================== --> <div class="content-page"> <!-- Start content --> <div class="content"> <div class="container-fluid"> <div class="page-title-box"> <div class="row align-items-center"> <div class="col-sm-6"> <h4 class="page-title">Dashboard</h4> <ol class="breadcrumb"> <li class="breadcrumb-item active">Welcome to IPU.CO.IN Dashboard</li> </ol> </div> <div class="col-sm-6"> <div class="float-right d-none d-md-block"> </div> </div> </div> </div> <!-- end row --> <div class="row"> <div class="col-xl-4 col-md-4"> <div class="card mini-stat bg-primary text-white"> <div class="card-body"> <div class="mb-4"> <div class="float-left mini-stat-img mr-4"><img src="assets/images/services-icon/02.png" alt=""></div> <h5 class="font-16 text-uppercase mt-0 text-white-50">Blog Listing</h5> <h4 class="font-500"><?php $result = mysqli_query($conn,"SELECT * FROM blog"); $num_rows = mysqli_num_rows($result); echo "$num_rows"; ?> <i class="mdi mdi-arrow-down text-danger ml-2"></i> </h4> <div class="mini-stat-label bg-danger"> <p class="mb-0"></p> </div> </div> <div class="pt-2"> <div class="float-right"><a href="list-of-blogs.php" class="text-white"><i class="mdi mdi-arrow-right text-white h5"></i> <span class="text-white mb-0">View More</span></a></div> </div> </div> </div> </div> <div class="col-xl-4 col-md-4"> <div class="card mini-stat bg-primary text-white"> <div class="card-body"> <div class="mb-4"> <div class="float-left mini-stat-img mr-4"><img src="assets/images/services-icon/02.png" alt=""></div> <h5 class="font-16 text-uppercase mt-0 text-white-50">Enquiry Listing</h5> <h4 class="font-500"><?php $result = mysqli_query($conn,"SELECT * FROM contact"); $num_rows = mysqli_num_rows($result); echo "$num_rows"; ?> <i class="mdi mdi-arrow-down text-danger ml-2"></i></h4> <div class="mini-stat-label bg-danger"> <p class="mb-0"></p> </div> </div> <div class="pt-2"> <div class="float-right"><a href="list-of-contactus.php" class="text-white"><i class="mdi mdi-arrow-right text-white h5"></i> <span class="text-white mb-0">View More</span></a></div> </div> </div> </div> </div> <div class="col-xl-4 col-md-4"> <div class="card mini-stat bg-primary text-white"> <div class="card-body"> <div class="mb-4"> <div class="float-left mini-stat-img mr-4"><img src="assets/images/services-icon/02.png" alt=""></div> <h5 class="font-16 text-uppercase mt-0 text-white-50">Media Listing</h5> <h4 class="font-500"><?php $result = mysqli_query($conn,"SELECT * FROM tbl_media"); $num_rows = mysqli_num_rows($result); echo "$num_rows"; ?> <i class="mdi mdi-arrow-down text-danger ml-2"></i></h4> <div class="mini-stat-label bg-danger"> <p class="mb-0"></p> </div> </div> <div class="pt-2"> <div class="float-right"><a href="list-of-media.php" class="text-white"><i class="mdi mdi-arrow-right text-white h5"></i> <span class="text-white mb-0">View More</span></a></div> </div> </div> </div> </div> </div> <!-- end row --> <!-- end row --> <!-- end row --> <!-- end row --> </div> <!-- container-fluid --> </div> <!-- content --> <?php include_once('include/admin-footer.php'); ?> </div> <!-- ============================================================== --> <!-- End Right content here --> <!-- ============================================================== --> </div> <!-- END wrapper --> <!-- jQuery --> <script src="assets/js/jquery.min.js"></script> <script src="assets/js/bootstrap.bundle.min.js"></script> <script src="assets/js/metisMenu.min.js"></script> <script src="assets/js/jquery.slimscroll.js"></script> <script src="assets/js/waves.min.js"></script> <!--Chartist Chart--> <script src="../plugins/chartist/js/chartist.min.js"></script> <script src="../plugins/chartist/js/chartist-plugin-tooltip.min.js"></script> <!-- peity JS --> <script src="../plugins/peity-chart/jquery.peity.min.js"></script> <script src="assets/pages/dashboard.js"></script> <!-- App js --> <script src="assets/js/app.js"></script> </body> </html>