
<?php

//if user is not admin, bounce them back
if($row["type"] !== "admin"){
	
	echo "<script> location.href= '../dashboard/account.php'; </script>";
	}
			
			
?>

<style>
#side-menu .dropdown-divider{
	border-color:#56626e!important;
}
</style>


<link href="../css/flaticon7eda.css" rel="stylesheet">




		<div id="sidebar-menu">

          <ul class="metismenu" id="side-menu">
			
			<center>
			<a href="profile.php"><img src="<?php echo $userimage;?>" class="avatars"><br>
			<div style="margin:10px auto 20px; font-size:17px; color:#ecf8ff; font-weight:500;"><?php echo htmlspecialchars($row["fullName"]);?><br>
			<div style="color:#ecf8ff; font-size:14px; margin-top:4px;">Admin</div>
			</div></a>
			</center>
			<div class="dropdown-divider"></div>

			
			<li>
              <a href="dashboard.php">
                <i class="fas fa-tachometer-alt"></i>
                <span> Dashboard </span>
              </a>
            </li>
			<div class="dropdown-divider"></div>
			
			<li>
              <a href="users.php">
                <i class=" fas fa-users-cog"></i>
                <span>Registered Users</span>
              </a>
            </li>
			<div class="dropdown-divider"></div>
			
            <li>
              <a href="pendingInvestment.php">
                <i class=" fas fa-dollar-sign"></i>
                <span>Pending Investments </span>
              </a>
            </li>
            <div class="dropdown-divider"></div>
			
            <li>
              <a href="pendingWithdrawal.php">
                <i class="fas fa-wallet"></i>
                <span>Pending Withdrawals</span>
              </a>
            </li>
			<div class="dropdown-divider"></div>
           
		   <li>
              <a href="notifications.php">
                <i class="fas fa-bell"></i>
                <span>Notification Inbox</span>
              </a>
            </li>
			<div class="dropdown-divider"></div>
		   
		   <li>
              <a href="visitorsMessage.php">
                <i class="fas fa-envelope"></i>
                <span>Visitors Messages</span>
              </a>
            </li>
			<div class="dropdown-divider"></div>
		   
		   <li>
              <a href="maintainance.php">
                <i class="fas fa-cog"></i>
                <span>Site Maintainance</span>
              </a>
            </li>
			<div class="dropdown-divider"></div>
		   
        
            <li>
              <a href="changePassword.php">
                <i class=" fas fa-key"></i>
                <span> Change Password </span>
              </a>
            </li>
			<div class="dropdown-divider"></div>
			
			<li>
              <a href="../">
                <i class=" fas fa-home "></i>
                <span> Home </span>
              </a>

            </li>
			<div class="dropdown-divider"></div>
			
            <li>
              <a href="https://swisswealth-pro.com/register-login.php">
                <i class=" far fas fa-power-off "></i>
                <span> Log Out </span>
              </a>

            </li>
			
            

          </ul>

        </div>