<?php 
session_start();
if(!isset($_SESSION['emp_id'])){
    header('location:login.php');
}
?>
<aside class="main-sidebar sidebar-dark-primary elevation-4">
    <a class="brand-link" href="#">
        <span class="brand-text font-weight-light"
            style="font-family: 'Roboto', sans-serif;font-size: 160%;letter-spacing: 2px; margin-left: 11%;">VTS
            CRM</span> </a>
    <div class="sidebar">

        <div class="user-panel mt-3 pb-3 mb-3 d-flex">
            <div class="image">
                <img alt="User Image" class="img-circle elevation-2" src="dist/img/user2-160x160.jpg"
                    style="width: 3.1rem;">
            </div>
            <div class="info">
                <a class="d-block" href="#"
                    style="font-size:175%; font-weight: bold;letter-spacing: 2px;"><?php echo  $_SESSION["emp_id"]  ?></a>
            </div>
        </div>

        <nav class="mt-2">
            <ul class="nav nav-pills nav-sidebar flex-column" data-accordion="false" data-widget="treeview" role="menu">

                <li class="nav-item menu-open">
                    <a class="nav-link active" href="index.php">
                        <i class="nav-icon fas fa-tachometer-alt"></i>
                        <p style="font-weight: bold; text-transform: uppercase;">Dashboard
                        </p>
                    </a>
                </li>

                <li class="nav-item"><a class="nav-link" href="#">
                        <i class="nav-icon fa fa-phone-square"></i>
                        <p style="font-weight: bold; text-transform: uppercase;">Task <i
                                class="fas fa-angle-left right"></i></p>
                    </a>
                    <ul class="nav nav-treeview">
                        <li class="nav-item">
                            <a class="nav-link" href="user_active_task.php">
                                <i class="far fa-circle nav-icon"></i>
                                <p style="font-weight: bold; text-transform: uppercase;">Active Task</p>
                            </a>
                        </li>
                        <li class="nav-item">
                            <a class="nav-link" href="achive_task.php">
                                <i class="far fa-circle nav-icon"></i>
                                <p style="font-weight: bold; text-transform: uppercase;">Achive Task</p>
                            </a>
                        </li>
                    </ul>
                </li>
                <li class="nav-item">
                    <a class="nav-link" href="#">
                        <i class="nav-icon fa fa-phone-square"></i>
                        <p style="font-weight: bold; text-transform: uppercase;">Project<i
                                class="fas fa-angle-left right"></i></p>
                    </a>
                    <ul class="nav nav-treeview">
                        <li class="nav-item">
                            <a class="nav-link" href="add-contact.php">
                                <i class="far fa-circle nav-icon"></i>
                                <p style="font-weight: bold; text-transform: uppercase;">Active Task </p>
                            </a>
                        </li>
                        <li class="nav-item">
                            <a class="nav-link" href="view-all-contacts.php">
                                <i class="far fa-circle nav-icon"></i>
                                <p style="font-weight: bold; text-transform: uppercase;">Achive Task</p>
                            </a>
                        </li>
                    </ul>
                </li>

                <li class="nav-item">
                    <a class="nav-link" href="user_events.php">
                        <i class="fa fa-calendar-plus-o nav-icon" aria-hidden="true"></i>
                        <p style="font-weight: bold; text-transform: uppercase;">Events<span
                                class="right badge badge-danger">2</span>
                        </p>
                    </a>
                </li>

                <li class="nav-item">
                    <a class="nav-link" href="add-holiday.php">
                        <i class="nav-icon fa fa-calendar"></i>
                        <p style="font-weight: bold; text-transform: uppercase;">Add Holiday<span
                                class="right badge badge-danger">2</span>
                        </p>
                    </a>
                </li>


                <li class="nav-item"><a class="nav-link" href="#">
                        <i class="nav-icon fa fa-inbox"></i>
                        <p style="font-weight: bold; text-transform: uppercase;">Settings <i
                                class="fas fa-angle-left right"></i></p>
                    </a>
                    <ul class="nav nav-treeview">
                        <li class="nav-item">
                            <a class="nav-link" href="change-password.php">
                                <i class="far fa-circle nav-icon"></i>
                                <p style="font-weight: bold; text-transform: uppercase;">Change Password</p>
                            </a>
                        </li>
                        <li class="nav-item">
                            <a class="nav-link" href="panel-setting.php">
                                <i class="far fa-circle nav-icon"></i>
                                <p style="font-weight: bold; text-transform: uppercase;">Panel Settings</p>
                            </a>
                        </li>
                    </ul>
                </li>
            </ul>
        </nav>

    </div>


</aside>