<?php
    include "timestamp.php";
?>

<style>
.colgreen{
	
	color:green;
	font-size:15px;
	
	
	
}


.colred{
	
	color:#286090;
	font-size:15px;
}

</style> 
<nav class="navbar navbar-expand navbar-light bg-white topbar mb-2 static-top shadow fixed-top">

<div class="col-md-6">
<span class="mr-2 colgreen d-n one d-lg-inl ine  ">   <font color="" size="5px">    <i class="fas fa-user fa-sm fa-fw  "></i> <?php echo ucwords($_SESSION["uname"]); ?> </font></span>
</div>

    <ul class="navbar-nav ml-auto">

        <li class="nav-item dropdown no-arrow">
<a class="nav-link dropdown-toggle" href="#" id="userDropdown" role="button" data-toggle="dropdown"
                aria-haspopup="true" aria-expanded="false">
              
             <font color="black" size="5px">  
             <i class="fas fa-bars fa-lg"></i> </font>
            </a>
            <div class="dropdown-menu dropdown-menu-right shadow animated--grow-in" aria-labelledby="userDropdown">
               
                <a class="dropdown-item colgreen" href="index.php">
                    <i class="fas fa-tachometer-alt fa-sm fa-fw mr-2 colred"></i>
                    Dashboard
                </a>
			   <a class="dropdown-item colgreen" href="admission.php">
                    <i class="fa fa-graduation-cap fa-sm fa-fw mr-2 colred"></i>
                    Asmission
                </a>
                <a class="dropdown-item colgreen" href="dataupload.php">
                    <i class="fa fa-database fa-sm fa-fw mr-2 colred"></i>
                    Data Upload
                </a>
				 <a class="dropdown-item colgreen" href="review-blog.php">
                    <i class="fas fa-eye fa-sm fa-fw mr-2 colred"></i>
                    Data view
                </a>
				 <a class="dropdown-item colgreen" href="members.php">
                    <i class="fa fa-users fa-sm fa-fw mr-2  colred"></i>
                    Members
                </a>
                <a class="dropdown-item colgreen" href="profile.php">
                    <i class="fa fa-user fa-sm fa-fw mr-2  colred"></i>
                    Profile
                </a>
                <div class="dropdown-divider "></div>
                <a class="dropdown-item colgreen" href="#logoutModal" data-toggle="modal">
                    <i class="fas fa-sign-out-alt fa-sm fa-fw mr-2  colred"></i>
                    Logout
                </a>
            </div>
        </li>

    </ul>

</nav>





<a class="scroll-to-top rounded" href="#page-top">
    <i class="fas fa-angle-up"></i>
</a>





<div class="modal fade" id="logoutModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <h5 class="modal-title" id="exampleModalLabel">Ready to Leave?</h5>
                <button class="close" type="button" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">×</span>
                </button>
            </div>
            <div class="modal-body">Select "Logout" below if you are ready to end your current session.</div>
            <div class="modal-footer">
                <button class="btn btn-secondary" type="button" data-dismiss="modal">Cancel</button>
                <a class="btn btn-primary" href="logout.php">Logout</a>
            </div>
        </div>
    </div>
</div>