<?php

if(session_status() == PHP_SESSION_NONE){
    session_start();
}

?>

<div class="sidebar" id="sidebar">


<div class="brand">

<i class="fa fa-wallet"></i>

<h3>
Expense Pro
</h3>

</div>



<div class="user-box">


<i class="fa fa-user-circle"></i>


<div>

<strong>
<?= $_SESSION['fullname'] ?? 'User'; ?>
</strong>

<br>

<small>
<?= $_SESSION['role'] ?? 'Employee'; ?>
</small>


</div>


</div>




<ul class="menu">


<li>

<a href="dashboard.php">

<i class="fa fa-home"></i>

<span>
Dashboard
</span>

</a>

</li>

<li>

<a href="vendors.php">

<i class="fa fa-building"></i>

<span>
Vendors
</span>

</a>

</li>



<li>

<a href="budget_allocations.php">

<i class="fa fa-building"></i>

<span>
Allocations
</span>

</a>

</li>


<li>

<a href="expenses.php">

<i class="fa fa-money-bill"></i>

<span>
Expenses
</span>

</a>

</li>







<li>

<a href="expenses_report.php">

<i class="fa fa-chart-line"></i>

<span>
Reports
</span>

</a>

</li>
<li>

<a href="analytics.php">

<i class="fa fa-chart-pie"></i>

<span>
Analytics
</span>

</a>

</li>















<li>

<a href="settings.php">

<i class="fa fa-cog"></i>

<span>
Settings
</span>

</a>

</li>




<li>

<a href="logout.php">

<i class="fa fa-power-off"></i>

<span>
Logout
</span>

</a>

</li>


</ul>


</div>


<div class="overlay" 
id="overlay"
onclick="closeMenu()">
</div>