<?php include "../controllers/dashbord_overview.php"; $over = new overview(); session_start(); $username = $_SESSION['username']; $stat = $_SESSION['stat']; $admin = $_SESSION['admin']; $pic = $_SESSION['pic']; if ($admin == "") { header("Location:http://localhost/gobs/"); $_SESSION['msg'] = "You Are Not Authorized "; } elseif ($stat == 0 || $stat == "") { header("Location:http://localhost/gobs/"); $_SESSION['msg'] = "You Are Inactive Admin"; } elseif ($admin == 1 || $admin == 2 || $admin == 3) { echo " "; } else { header("Location:http://localhost/gobs/"); $_SESSION['msg'] = "You Are Not Authorized "; } include 'layouts/header.php'; include 'layouts/sidebar_layout.php'; ?> <div class="main_body"> <?php $over->total_overview(); ?> <div class="col-sm-12"><h2 class="col-sm-8 none">To Day Sell</h2> <h2>To Day Cost</h2></div>
<?php include_once "../controllers/dashbord_overview.php"; $overview = new overview(); session_start(); $username = $_SESSION['username']; $stat = $_SESSION['stat']; $admin = $_SESSION['admin']; $pic = $_SESSION['pic']; if ($admin == "") { header("Location:http://localhost/gobs/"); $_SESSION['msg'] = "You Are Not Authorized"; } elseif ($stat == 0 || $stat == "") { header("Location:http://localhost/gobs/"); $_SESSION['msg'] = "You Are Inactive Admin"; } elseif ($admin == 2 || $admin == 3) { header("Location:http://localhost/gobs/view/overview.php"); } elseif ($admin == 1) { echo " "; } else { header("Location:http://localhost/gobs/"); $_SESSION['msg'] = "You Are Not Authorized "; } include "layouts/header.php"; include "layouts/sidebar_layout.php"; ?> <div class="main_body"> <div class="form-head"><h1>DashBord</h1><h4>All Of Your Total Information</h4> </div>