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

    if ( !isset($_SESSION['uid']) && !isset($_SESSION['uref']) && !isset($_SESSION['utype']) ){
        header("Location: logout.php");
    }
?>

<!DOCTYPE html>
<html lang="en">

<head>
    <?php include "includes/meta.php"; ?>
    <?php include "includes/css.php"; ?>
</head>

<body id="page-top" class="mt-55">
    <?php include "includes/header2.php"; ?>
    <section id="intro" class="clearfix" sty le="height:500px">
        <div class="container">
            <div class="intro-img hidden-md hidden-lg">
                <div style="padding: 0px 0px 0px 0px;" cl ass="container">
                    <div id="myCarousel" class="carousel slide" data-ride="carousel">
                        <!-- Wrapper for slides -->
                        <div class="carousel-inner"></div>
                    </div>
                </div>
            </div>
            <div class="intro-img hidden-xs hidden-sm">
                <div style="padding: 0px 0px 30px 0px;" cl ass="container">
                    <div id="myCarousel" class="carousel slide" data-ride="carousel">
                        <!-- Wrapper for slides -->
                        <div class="carousel-inner">
                            <div class="item">
                                <img src="img/c.png" alt="New York" style="width:100%; height:232px;">
                                <div class="carousel-caption"></div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <div cl ass="container ">
        <div class="row mx-0 justify-content-center mt-2">
            <div class="col-12 col-sm-8 col-md-8">
                <div class="row mx-0 justify-content-center mt-2 gx-1">
                    <div class="col-6 col-sm-6 col-xs-6  col-md-6 text-center md">
                        <a href="attendance.php" style="text-decoration: none;">
                            <div class="md1"><i class="fa fa-align-right" aria-hidden="true"></i></div>
                            <p class="md2"> Attendance </p>
                        </a>
                    </div>

                    <div class="col-6 col-sm-6 col-xs-6  col-md-6 text-center md">
                        <a href="view-notes-class.php" style="text-decoration: none;">
                            <div class="md1"><i class="fa fa-pencil-square-o" aria-hidden="true"></i></div>
                            <p class="md2"> Notes </p>
                        </a>
                    </div>

                    <div class="col-6 col-sm-6 col-xs-6  col-md-6 text-center md">
                        <a href="view-homework.php" style="text-decoration: none;">
                            <div class="md1"><i class="fa fa-folder-open-o" aria-hidden="true"></i></div>
                            <p class="md2"> Homework </p>
                        </a>
                    </div>

                    <div class="col-6 col-sm-6 col-xs-6  col-md-6 text-center md">
                        <a href="view-notice.php" style="text-decoration: none;">
                            <div class="md1"><i class="fa fa-file-o" aria-hidden="true"></i></div>
                            <p class="md2"> Notice </p>
                        </a>
                    </div>

                    <div class="col-6 col-sm-6 col-xs-6  col-md-6 text-center md">
                        <a href="view-mocktest.php" style="text-decoration: none;">
                            <div class="md1"><i class="fa fa-file-o" aria-hidden="true"></i></div>
                            <p class="md2"> Mock Test </p>
                        </a>
                    </div>

                    <div class="col-6 col-sm-6 col-xs-6  col-md-6 text-center md">
                        <a href="profile.php" style="text-decoration: none;">
                            <div class="md1"><i class="fa fa-user" aria-hidden="true"></i></div>
                            <p class="md2"> Profile </p>
                        </a>
                    </div>
                </div>
            </div>
        </div>
    </div>

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

</body>

</html>