<?php
session_start();
include("connection/db.php");

// Check if admin is logged in
if (!isset($_SESSION['adminuser'])) {
    header("Location: login.php");
    exit();
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Administrator | SWASTIK CLASS</title>
    <link href="css/bootstrap.css" rel="stylesheet">
    <link href="css/style.css" rel="stylesheet">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
</head>
<body>
    <div id="wrapper">
        <?php
            include("top-header.php");
            include("right-sec.php");
        ?>
        <div id="page-wrapper">
            <div id="page-inner">
                <div class="row">
                    <div class="col-md-12">
                        <h3 class="page-header">
                            WELCOME TO EDUNET ADMINISTRATOR
                        </h3>
                        <div class="home-sec">
                            <div class="row">
                                <div class="col-md-2 col-xs-6">
                                    <a href="manage-contact.php">
                                        <div class="home-box">
                                            <img src="images/stamp.png" class="img-responsive" alt="">
                                            <h3>Find Enquiry</h3>
                                        </div>
                                    </a>
                                </div>
                               
                                <div class="col-md-2 col-xs-6">
                                    <a href="manage-news.php">
                                        <div class="home-box">
                                            <img src="images/laptop.png" class="img-responsive" alt="">
                                            <h3>Manage Course</h3>
                                        </div>
                                    </a>
                                </div>
                                <div class="col-md-2 col-xs-6">
                                    <a href="manage-member.php">
                                        <div class="home-box">
                                            <img src="images/laptop.png" class="img-responsive" alt="">
                                            <h3>Manage Team Members</h3>
                                        </div>
                                    </a>
                                </div>
                                <div class="col-md-2 col-xs-6">
                                    <a href="manage-services.php">
                                        <div class="home-box">
                                            <img src="images/laptop.png" class="img-responsive" alt="">
                                            <h3>Manage Services</h3>
                                        </div>
                                    </a>
                                </div>
                                <div class="col-md-2 col-xs-6">
                                    <a href="manage-gallery.php">
                                        <div class="home-box">
                                            <img src="images/laptop.png" class="img-responsive" alt="">
                                            <h3>Manage Gallery</h3>
                                        </div>
                                    </a>
                                </div>
                                <div class="col-md-2 col-xs-6">
                                    <a href="manage-video.php">
                                        <div class="home-box">
                                            <img src="images/laptop.png" class="img-responsive" alt="">
                                            <h3>Manage Video</h3>
                                        </div>
                                    </a>
                                </div>
                                <div class="col-md-2 col-xs-6">
                                    <a href="manage-blog.php">
                                        <div class="home-box">
                                            <img src="images/skill.png" class="img-responsive" alt="">
                                            <h3>Manage Blog</h3>
                                        </div>
                                    </a>
                                </div>
                                <div class="col-md-2 col-xs-6">
                                    <a href="manage-cms.php">
                                        <div class="home-box">
                                            <img src="images/social.png" class="img-responsive" alt="">
                                            <h3>Manage CMS</h3>
                                        </div>
                                    </a>
                                </div>
                                <div class="col-md-2 col-xs-6">
                                    <a href="change-password.php">
                                        <div class="home-box">
                                            <img src="images/customer.png" class="img-responsive" alt="">
                                            <h3>Change Password</h3>
                                        </div>
                                    </a>
                                </div>
                            </div>
                        </div>
                    </div>
                </div> 
            </div>
        </div>
        <footer class="footer-sec">
            <div class="container">
                <div class="row">
                    <div class="col-md-12">
                        <p class="text-center">All rights reserved. Template Design by: <a href="#">EDUNET</a></p>
                    </div>
                </div>
            </div>
        </footer>
    </div>

    <!-- JavaScript -->
    <script src="js/jquery-1.10.2.js"></script>
    <script src="js/bootstrap.min.js"></script>
    <script src="js/jquery.metisMenu.js"></script>
    <script src="js/custom-scripts.js"></script>
</body>
</html>
