<?php 
    if(!isset($_SESSION['user']))
    {
        $_SESSION['xss']="<div class='error'>Please login to access control panel</div>";
        header('location:'.SITEURL.'admin/login.php');
    }
?>


<!DOCTYPE html>
<html lang="en-US">
    <head>
        <!--Meta Tags Starts Here-->
        <meta charset="UTF-8" />
        <meta name="author" content="Beyond Boundaries" />
        <meta name="description" content="Test Preparation Portal For Beyond Boundaries." />
        <meta name="keywords" content="Test Preaparation, Beyond Boundaries, Online Portal, Kathmandu, Nepal" />
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
         <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/boxicons@latest/css/boxicons.min.css">

        <!--========== CSS ==========-->
        <link rel="stylesheet" href="../box/assets/css/styles.css">
         <link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
    <link rel="stylesheet" type="text/css" href="custom.css">
    <link href="https://fonts.googleapis.com/css?family=Raleway:100,200,400,500,600" rel="stylesheet" type="text/css">
    

        <!--Meta Tags Ends Here-->
        <title>inteljr</title>
        
        <!--COUNT DOWN TIMER STARTS HERE-->
        <script src="<?php echo SITEURL; ?>/assets/js/countdown/jquery.js"></script>
        <script src="<?php echo SITEURL; ?>/assets/js/countdown/jquery.simple.timer.js"></script>
        <script>
          $(function(){
            $('.timer').startTimer();
          });
        </script>
        <!--COUNT DOWN TIMER ENDS HERE-->
        
        <!--ADDING CKEDITOR HERE-->
        <script type="text/javascript" src="<?php echo SITEURL; ?>/assets/ckeditor/ckeditor.js"></script>
        
        <!--CSS File Starts Here-->
        <link rel="stylesheet" type="text/css" href="<?php echo SITEURL; ?>/assets/css/style1.css" />
             <style>
                <head>
                @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');
    body{
        
    font-family: 'Raleway', sans-serif;

}
.main-section{
    width:80%;
    margin:0 auto;
    text-align: center;
    padding: 0px 5px;
}
.dashbord{
    width:32%;
    display: inline-block;
    background-color:#34495E;
    color:#fff;
    margin-top: 50px; 
}
.icon-section i{
    font-size: 30px;
    padding:10px;
    border:1px solid #fff;
    border-radius:50%;
    margin-top:-25px;
    margin-bottom: 10px;
    background-color:#34495E;
}



    
    }
.icon-section p{
    margin:0px;
    font-size: 20px;
    padding-bottom: 10px;
}
.detail-section{
    background-color: #2F4254;
    padding: 5px 0px;
}
.dashbord .detail-section:hover{
    background-color: #5a5a5a;
    cursor: pointer;
}
.detail-section a{
    color:#fff;
    text-decoration: none;
}
.dashbord-green .icon-section,.dashbord-green .icon-section i{
    background-color: #16A085;
}
.dashbord-green .detail-section{
    background-color: #149077;
}
.dashbord-orange .icon-section,.dashbord-orange .icon-section i{
    background-color: #F39C12;
}
.dashbord-orange .detail-section{
    background-color: #DA8C10;
}
.dashbord-blue .icon-section,.dashbord-blue .icon-section i{
    background-color: #2980B9;
}
.dashbord-blue .detail-section{
    background-color:#2573A6;
}
.dashbord-red .icon-section,.dashbord-red .icon-section i{
    background-color:#E74C3C;
}
.dashbord-red .detail-section{
    background-color:#CF4436;
}
.dashbord-skyblue .icon-section,.dashbord-skyblue .icon-section i{
    background-color:#8E44AD;
}
.dashbord-skyblue .detail-section{
    background-color:#803D9B;
}
body{
   
    background-image: url('../box/Being-Shady-How-to-Use-Gradient-Color-in-UX-Design-1-1100x550.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: repeat;
    background-attachment: fixed;

}
#bg-test{

    background-image: url(../box/'Being-Shady-How-to-Use-Gradient-Color-in-UX-Design-1-1100x550.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: repeat;
}
select{
    width: 21.5%;
    padding: 1%;
    margin-right:  50%;
}
.title {
    width: 100%;
    height: 100%;
    line-height: 150px;
    font-size: 40px;
    text-align: center;
    font-family: "Dancing Script", cursive;
    color: #2f4254;
    margin-top: -55px;
}
.title1 {
    
    line-height: 150px;
    font-size: 20px;
    text-align: left;
    font-family: "Dancing Script", cursive;
    color: #2f4254;
    margin-top: -55px;
    margin-left: 0px;
}
i
{
font-size: 30px;
colour:black;
}
</style>
        <!--CSS File Ends Here-->
    </head>
    
    <body>
        <!--Header Starts Here-->
    
                
               

                 <header class="header">
            <div class="header__container">

             <div class="title1"><i class='fa fa-bars' ></i></div>

                <img src="../box/logo.png"width="80"/>

    <div class="title">Inteljr E-learning</div>
    
                <div class="header__search">
                    <input type="search" placeholder="Search" class="header__input">
                    <i class='bx bx-search header__icon'></i>
 
                </div>
   
                <div class="header__toggle">

                    <i class='bx bx-menu' id="header-toggle"></i>
                </div>
            </div>
        </header>

        <!--========== NAV ==========-->
        <div class="nav" id="navbar">
            <nav class="nav__container">
                <div>
                    <a href="#" class="nav__link nav__logo">
                        <i class='bx bxs-album bx-spin nav__icon' ></i>
                        <span class="nav__logo-name"><font color="white">INTELJR</span>
                    </a>
    
                    <div class="nav__list">
                        <div class="nav__items">
                            <h3 class="nav__subtitle">Profile</h3>
    
                            <a href="<?php echo SITEURL; ?>admin/index.php?page=home"class="nav__link active">
                                <i class='bx bx-home nav__icon' ></i>
                                <span class="nav__name">Home</span>
                            </a>
                            
                            <div class="nav__dropdown">
                                <a href="<?php echo SITEURL; ?>admin/index.php?page=students"class="nav__link active">
                                    <i class='bx bx-user nav__icon' ></i>
                                    <span class="nav__name">Profiles</span>
                                    <i class='bx bx-chevron-down nav__icon nav__dropdown-icon'></i>
                                </a>

                                <div class="nav__dropdown-collapse">
                                    <div class="nav__dropdown-content">
                                        <a href="<?php echo SITEURL; ?>admin/index.php?page=students"class="nav__dropdown-item"><i class="fa fa-dot-circle-o"></i>&nbsp;&nbsp;Students</a>
                                        <a href="<?php echo SITEURL; ?>admin/index.php?page=parent" class="nav__dropdown-item"><i class="fa fa-dot-circle-o"></i>&nbsp;&nbsp;Parents</a>
                                      
                                    </div>
                                </div>
                            </div>

                            <a href="http://analys.kumararent.com/" class="nav__link">
                                <i class='bx bx-bar-chart nav__icon' ></i>
                                <span class="nav__name">Analysis</span>
                            </a>
                        </div>
    
                        <div class="nav__items">
                            <h3 class="nav__subtitle">Menu</h3>
    
                            <div class="nav__dropdown">
                                <a href="#" class="nav__link">
                                    <i class='bx bx-time nav__icon' ></i>
                                    <span class="nav__name">Quiz Activity</span>
                                    <i class='bx bx-chevron-down nav__icon nav__dropdown-icon'></i>
                                </a>

                                <div class="nav__dropdown-collapse">
                                    <div class="nav__dropdown-content">
                                        <a href="<?php echo SITEURL; ?>admin/index.php?page=questions" class="nav__dropdown-item"><i class="fa fa-dot-circle-o"></i>&nbsp;&nbsp;Questions</a></i>
                                        <a href="<?php echo SITEURL; ?>admin/index.php?page=results" class="nav__dropdown-item"><i class="fa fa-dot-circle-o"></i>&nbsp;&nbsp;Results</a></i>
                                        <a href="<?php echo SITEURL; ?>admin/index.php?page=faculties "class="nav__dropdown-item"><i class="fa fa-dot-circle-o"></i>&nbsp;&nbsp;Class</a></i>
                                        <a href="<?php echo SITEURL; ?>admin/index.php?page=my_upload " class="nav__dropdown-item"><i class="fa fa-dot-circle-o"></i>&nbsp;&nbsp;Program</a></i>
                                    </div>
                                </div>

                            </div>

                                                        <div class="nav__dropdown">
                                <a href="#" class="nav__link">
                                    <i class='bx bx-code-block nav__icon' ></i>
                                    <span class="nav__name">Design Activity</span>
                                    <i class='bx bx-chevron-down nav__icon nav__dropdown-icon'></i>
                                </a>

                                <div class="nav__dropdown-collapse">
                                    <div class="nav__dropdown-content">
                                        <a href="<?php echo SITEURL; ?>admin/index.php?page=questions" class="nav__dropdown-item"><i class="fa fa-gear fa-spin"></i>&nbsp;&nbsp;Activity 01</a>
                                        <a href="<?php echo SITEURL; ?>admin/index.php?page=results" class="nav__dropdown-item"><i class="fa fa-gear fa-spin"></i>&nbsp;&nbsp;Activity 02</a>
                                        <a href="<?php echo SITEURL; ?>admin/index.php?page=faculties "class="nav__dropdown-item"><i class="fa fa-gear fa-spin"></i>&nbsp;&nbsp;Activity 03</a>
                                        <a href="<?php echo SITEURL; ?>admin/index.php?page=my_upload " class="nav__dropdown-item"><i class="fa fa-gear fa-spin"></i>&nbsp;&nbsp;Activity 04</a>
                                    </div>
                                </div>

                            </div>

                            <a href="<?php echo SITEURL; ?>admin/index.php?page=uploadlist" class="nav__link">
                                <i class='bx bx-compass nav__icon' ></i>
                                <span class="nav__name">Lessons</span>
                            </a>
                          
                            <a href="<?php echo SITEURL; ?>admin/index.php?page=att" class="nav__link">
                                <i class='bx bx-bookmark nav__icon' ></i>
                                <span class="nav__name">Attendence</span>
                            </a>
                        </div>
                    </div>
                </div>

                <a href="#" class="nav__link nav__logout">
                    <i class='bx bx-log-out nav__icon' ></i>
                    <span class="nav__name">Log Out</span>
                </a>
            </nav>
        </div>

        <!--========== CONTENTS ==========-->

        <!--========== MAIN JS ==========-->
        <script src="../box/assets/js/main.js"></script>
    </body>

        <!--Header Ends Here-->