<!-- 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'; ?>"><i class='fa fa-pie-chart'></i> <span>Charts</span></a>
            </li>

            <li class="treeview">
                <a href="#"><i class="fa fa-image" aria-hidden="true"></i> <span>Banner</span> <i
                            class="fa fa-angle-left pull-right"></i></a>
                <ul class="treeview-menu">
                    <li class="link"><a href="<?php echo BASE_URL . 'slider/add'; ?>">Add Banner</a></li>
                    <li class="link"><a href="<?php echo BASE_URL . 'slider/getAll'; ?>">Show / Edit Banner</a></li>
                </ul>
            </li>

            <li class="treeview">
                <a href="#"><i class="fa fa-bookmark" aria-hidden="true"></i> <span>Categories</span> <i
                            class="fa fa-angle-left pull-right"></i></a>
                <ul class="treeview-menu">
                    <li class="link"><a href="<?php echo BASE_URL . 'categories/add'; ?>">Add Category</a></li>
                    <li class="link"><a href="<?php echo BASE_URL . 'categories/getAll'; ?>">Show / Edit Category</a>
                    </li>
                </ul>
            </li>

            <li class="treeview">
                <a href="#"><i class="fa  fa-suitcase" aria-hidden="true"></i> <span>Products</span> <i
                            class="fa fa-angle-left pull-right"></i></a>
                <ul class="treeview-menu">
                    <li class="link"><a href="<?php echo BASE_URL . 'offer/add'; ?>">Add Product</a></li>
                    <li class="link"><a href="<?php echo BASE_URL . 'offer/today_offers'; ?>">Today Products</a></li>
                    <li class="link"><a href="<?php echo BASE_URL . 'offer/month_offers'; ?>">Last Products</a></li>
                    <li class="link"><a href="<?php echo BASE_URL . 'offer/getAll'; ?>">All Products</a></li>
                    <li class="link"><a href="<?php echo BASE_URL . 'offer/offers_report'; ?>">Make Report Products</a></li>
                </ul>
            </li>


            <li class="treeview">
                <a href="#"><i class="fa fa-users" aria-hidden="true"></i> <span>Clients </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 new Client </a></li>
                    <li class="link"><a href="<?php echo BASE_URL . 'gallery/getAll'; ?>">Show / Edit Clients </a></li>
                </ul>
            </li>


            <li class="treeview">
                <a href="#"><i class="fa fa-image" 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 . 'image_gallery/add'; ?>">Add new Gallery </a></li>
                    <li class="link"><a href="<?php echo BASE_URL . 'image_gallery/getAll'; ?>">Show / Edit Gallery </a>
                    </li>
                </ul>
            </li>
            <li class="treeview">
                <a href="#"><i class="fa fa-stack-exchange" aria-hidden="true"></i> <span>Features</span> <i
                            class="fa fa-angle-left pull-right"></i></a>
                <ul class="treeview-menu">
                    <li class="link"><a href="<?php echo BASE_URL . 'features/add'; ?>">Add Feature</a></li>
                    <li class="link"><a href="<?php echo BASE_URL . 'features/getAll'; ?>">Show / Edit Feature</a></li>
                </ul>
            </li>

            <li class="treeview">
                <a href="#"><i class="fa fa-list-ul" aria-hidden="true"></i> <span>Branches</span> <i class="fa fa-angle-left pull-right"></i></a>
                <ul class="treeview-menu">
                    <li class="link"><a href="<?php echo BASE_URL.'branches/add'; ?>">Add Branch</a></li>
                    <li class="link"><a href="<?php echo BASE_URL.'branches/getAll'; ?>">Show / Edit Branch</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="treeview">
                <a href="#"><i class="fa fa-file" aria-hidden="true"></i> <span>About Us</span> <i
                            class="fa fa-angle-left pull-right"></i></a>
                <ul class="treeview-menu">
                    <li class="link"><a href="<?php echo BASE_URL . 'Aboutus/edit'; ?>">Edit About Us Page</a></li>
                </ul>
            </li>

            <li class="link settings-btn">
                <a href="<?php echo BASE_URL.'requests/getAll' ?>">
                    <i class="fa fa-user-plus" aria-hidden="true"></i>
                    <span class="hidden-sm hidden-xs">Requests</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>


            <!-- Tarek Mahfouz 01114254513-->
            <li class="treeview">
                <a href="#"><i class="fa fa-list-ul" aria-hidden="true"></i> <span>SEO</span> <i class="fa fa-angle-left pull-right"></i></a>
                <ul class="treeview-menu">
                    <li class="link"><a href="<?php echo BASE_URL.'seo/add'; ?>">Add SEO</a></li>
                    <li class="link"><a href="<?php echo BASE_URL.'seo/getAll'; ?>">Show / Edit SEO</a></li>
                </ul>
            </li>

        </ul><!-- /.sidebar-menu -->

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