<?php
    session_start();
    include "../../db.php";
    date_default_timezone_set('Asia/Kolkata');
    $currentTime = date('M j, Y g:i a');

    if ( !isset($_SESSION['uid']) && !isset($_SESSION['uref']) && !isset($_SESSION['utype']) ) {
        header("Location: logout.php");
        exit();
    }
    if ( $_SESSION['utype'] != 'master_admin' && $_SESSION['uref'] != 'fssdf4543frts' ) {
        header("Location: logout.php");
        exit();
    }
?>
<!DOCTYPE html>
<html lang="en">
<head>
 <?php include "includes/meta.php"; ?>             
    <?php include "includes/css.php"; ?>
    <link href="css/all.min.css" rel="stylesheet" type="text/css">
    <link href="css/alltable.css" rel="stylesheet"> 
       
 
    
</head>

<body id="page-top" class="mt-55">

  <!--==========================
  Header
  ============================-->
  
  <?php include "includes/header2.php"; ?>


            <div id="content">

                <div class="container-fluid px-0 px-md-3">

                    <div class="card mb-3">
                        <div class="card-body">

                            <p class="h3 mb-4 text-gray-800 text-center" style="margin-top: 90px">Master Admin</p>
                            <p class="small text-center mb-4"> Welsome, to Master Admin Panel, Here you can do the following things. </p>
                            
                            <hr>
                            <br>
                            <div class="row justify-content-center">

                                <div class="col-6 col-lg-2 col-md-3 col-sm-4 mb-4">
                                    <a href="admin_lvl2.php" class="text-decoration-none">
                                        <div class="card bg-success text-white shadow h-100" data-toggle="tooltip" title="Visit Torzo.in Official Website, Opens in New tab">
                                            <div class="card-body px-0 px-sm-3">
                                                <div class="row mx-0">
                                                    <div class="col-8 fs-cus pr-0 pr-sm-2">Admin (lvl 2)</div>
                                                    <div class="col-4 text-right pl-0 pl-sm-2"><i class="fas fa-globe-asia fa-lg fa-fw"></i></div>
                                                </div>
                                            </div>
                                        </div>
                                    </a>
                                </div>
                           
                             

                                
                                
                            </div>

                            <div class="row justify-content-center">

                           

                                 <div class="col-6 col-lg-2 col-md-3 col-sm-4 mb-4">
                                    <a href="blog.php" class="text-decoration-none">
                                        <div class="card bg-success text-white shadow h-100" data-toggle="tooltip" title="Import / Export Database">
                                            <div class="card-body px-0 px-sm-3">
                                                <div class="row mx-0">
                                                    <div class="col-8 fs-cus pr-0 pr-sm-2">Blog</div>
                                                    <div class="col-4 text-right pl-0 pl-sm-2"><i class="fas fa-cog fa-pulse fa-lg fa-fw"></i></div>
                                                </div>
                                            </div>
                                        </div>
                                    </a>
                                </div>
                                
                                  <div class="col-6 col-lg-2 col-md-3 col-sm-4 mb-4">
                                    <a href="category.php" class="text-decoration-none">
                                        <div class="card bg-success text-white shadow h-100" data-toggle="tooltip" title="Import / Export Database">
                                            <div class="card-body px-0 px-sm-3">
                                                <div class="row mx-0">
                                                    <div class="col-8 fs-cus pr-0 pr-sm-2">Category</div>
                                                    <div class="col-4 text-right pl-0 pl-sm-2"><i class="fas fa-cog fa-pulse fa-lg fa-fw"></i></div>
                                                </div>
                                            </div>
                                        </div>
                                    </a>
                                </div>
                                 <div class="col-6 col-lg-2 col-md-3 col-sm-4 mb-4">
                                    <a href="contact.php" class="text-decoration-none">
                                        <div class="card bg-success text-white shadow h-100" data-toggle="tooltip" title="Import / Export Database">
                                            <div class="card-body px-0 px-sm-3">
                                                <div class="row mx-0">
                                                    <div class="col-8 fs-cus pr-0 pr-sm-2">Contact</div>
                                                    <div class="col-4 text-right pl-0 pl-sm-2"><i class="fas fa-cog fa-pulse fa-lg fa-fw"></i></div>
                                                </div>
                                            </div>
                                        </div>
                                    </a>
                                </div>
                                
                            </div>
                         


<br><br>
                        </div>
                    </div>

                </div>

            </div>
            <br><br><br><br>

            <?php include "includes/ft.php"; ?>

 <!--==========================
    Footer
  ============================-->

  
  <!-- #footer -->

    
 
     <script src="js/jquery.min.js"></script>
    <script src="js/bootstrap.min.js"></script>
    <script src="js/jquery.easing.min.js"></script>
    <script src="js/sb-admin-2.min.js"></script>
    <script src="js/sweetalert2.min.js"></script>
    <script src="js/jquery.dataTables.min.js"></script>
    <script src="js/dataTables.bootstrap4.min.js"></script>
    <script src="js/datatables.mark.min.js"></script>
    <script src="vendor/croppie/croppie.js"></script>
    <script src="js/jquery-ui-custom.min.js"></script>
    <script src="js/custom.js"></script>
     <script src="js/mobile-nav/mobile-nav.js"></script>

</body>
</html>