<!-- Left side column. contains the logo and sidebar -->
<aside class="main-sidebar">
    <!-- sidebar: style can be found in sidebar.less -->
    <section class="sidebar">

        <!-- Sidebar user panel (optional) -->
        <div class="user-panel">
            <div class="pull-left image">
                <img src="<?php echo UPLOAD_LINK . $userData['photo']; ?>" class="img-circle" alt="User Image"/>
            </div>
            <div class="pull-left info">
                <p>
                    <?php
                    echo $userData['name'];
                    ?>
                </p>
                <!-- Status -->
                <a href="#"><i class="fa fa-circle text-success"></i> Online</a>
            </div>
        </div>

        <!-- Sidebar Menu -->
        <ul class="sidebar-menu">
            <li class="header">Manage Website</li>
            <!-- Optionally, you can add icons to the links -->
            <li><a href="<?php echo BASE_URL . 'home/index'; ?>" target="_blank"><i class='fa fa-home fa'></i> <span>Site Preview</span></a>
            </li>
            <li><a href="<?php echo BASE_URL . 'home/index'; ?>"><i class='fa fa-pie-chart'></i> <span>Charts</span></a>
            </li>

            <li class="treeview">
                <a href="#"><i class="fa fa-file-image-o" aria-hidden="true"></i> <span>Gallery</span> <i
                            class="fa fa-angle-left pull-right"></i></a>
                <ul class="treeview-menu">
                    <li class="link"><a href="<?php echo BASE_URL . 'gallery/add'; ?>">Add Gallery</a></li>
                    <li class="link"><a href="<?php echo BASE_URL . 'gallery/getAll'; ?>">Show / Edit Gallery</a></li>
                </ul>
            </li>
            <li class="treeview">
                <a href="#"><i class="fa fa-folder-open-o" aria-hidden="true"></i> <span>Service</span> <i
                            class="fa fa-angle-left pull-right"></i></a>
                <ul class="treeview-menu">
                    <li class="link"><a href="<?php echo BASE_URL . 'service/add'; ?>">Add Service</a></li>
                    <li class="link"><a href="<?php echo BASE_URL . 'service/getAll'; ?>">Show / Edit Service</a></li>
                </ul>
            </li>

            <li class="treeview">
                <a href="#"><i class="fa fa-user-secret" aria-hidden="true"></i> <span>Employee</span> <i
                            class="fa fa-angle-left pull-right"></i></a>
                <ul class="treeview-menu">
                    <li class="link"><a href="<?php echo BASE_URL . 'employee/add'; ?>">Add Employee</a></li>
                    <li class="link"><a href="<?php echo BASE_URL . 'employee/getAll'; ?>">Show / Edit Employee</a></li>
                </ul>
            </li>
            <li class="link settings-btn">
                <a href="<?php echo BASE_URL . 'about/edit' ?>">
                    <i class="fa fa-th-large" aria-hidden="true"></i>
                    <span class="hidden-sm hidden-xs">About Website</span>
                </a>
            </li>
            <li class="link settings-btn">
                <a href="<?php echo BASE_URL . 'setting/edit' ?>">
                    <i class="fa fa-cog" aria-hidden="true"></i>
                    <span class="hidden-sm hidden-xs">Settings</span>
                </a>
            </li>
        </ul><!-- /.sidebar-menu -->

    </section>
    <!-- /.sidebar -->
</aside>
