<?php
    include "timestamp.php";

    // if ( $_SESSION['userAvatar'] == '' ) {
    //     $userAvatar = "../images/4_users/user.png";
    // } elseif ( $_SESSION['userAvatar'] != '' ) {

    //     if ( $_SESSION['userType'] == 'admin_4312' ) {
    //         $userAvatar = $_SESSION["userAvatar"];
    //     }
    //     elseif ( $_SESSION['userType'] == 'seller' && $_SESSION['userType'] == 'customer' ) {
    //         header("Location: logout.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-in line  ">   <font color="" size="5px">    <i class="fas fa-user fa-sm fa-fw  "></i> <?php echo $_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">
 <font color="red" >               
			  <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="form.php">
                    <i class=" fas fa-globe-asia fa-sm fa-fw mr-2 colred"></i>
                    FormFillUp
                </a>
				<a class="dropdown-item colgreen" href="pending_client.php">
                    <i class=" fas fa-globe-asia fa-sm fa-fw mr-2 colred"></i>
                    Pending Client
                </a>
				<a class="dropdown-item colgreen" href="reject_client.php">
                    <i class=" fas fa-globe-asia fa-sm fa-fw mr-2 colred"></i>
                    Reject Client
                </a>
                <a class="dropdown-item colgreen" href="interested_client.php">
                    <i class="fas fa-lock fa-sm fa-fw mr-2 colred"></i>
                    Interested Client
                </a>
                 <a class="dropdown-item colgreen" href="active_client.php">
                    <i class="fas fa-lock fa-sm fa-fw mr-2 colred"></i>
                    Ready To Join
                </a>
                 <a class="dropdown-item colgreen" href="client.php">
                    <i class="fas fa-lock fa-sm fa-fw mr-2 colred"></i>
                    Client list
                </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>
				
				</font>
            </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>