<div class="left-bar ">
  <div class="admin-logo">
    <div class="logo-holder pull-left">
      <img class="logo" src="<?php echo URL('images/logo.png'); ?>" alt="<?php echo AppHelper::config('site_name'); ?>"> 
    </div>
    <!-- logo-holder -->      
    <a href="#" class="menu-bar  pull-right"><i class="ti-menu"></i></a>
  </div>
  <!-- admin-logo -->
  <ul class="list-unstyled menu-parent" id="mainMenu">
    <li>
      <a href="<?php echo URL('/'); ?>" class="waves-effect waves-light">
        <i class="icon ti-home"></i>
        <span class="text ">Dashboard</span>
      </a>
    </li>

    <li class="submenu">
      <a class="waves-effect waves-light" href="#layouts">
        <i class="icon ti-layout"></i>
        <span class="text">General</span>
        <i class="chevron ti-angle-right"></i>
      </a>
      <ul class="list-unstyled">
        <li <?php echo (Request::is('*admin/settings') ? 'class="current"' : ''); ?>><a href="<?php echo URL('admin/settings'); ?>">Site Config</a></li>
        <li <?php echo (Request::is('*admin/settings/footer') ? 'class="current"' : ''); ?>><a href="<?php echo URL('admin/settings/footer'); ?>">Footer</a></li>
        <li <?php echo (Request::is('*admin/settings/sliders*') ? 'class="current"' : ''); ?>><a href="<?php echo URL('admin/settings/sliders'); ?>">Sliders</a></li>
        <li <?php echo (Request::is('*admin') ? 'class="current"' : ''); ?>><a href="<?php echo URL('admin/addhotel'); ?>">BackUp</a></li>
      </ul>
    </li>

    <li class="submenu">
      <a class="waves-effect waves-light" href="#layouts">
        <i class="icon ti-layout"></i>
        <span class="text">Hotels</span>
        <i class="chevron ti-angle-right"></i>
      </a>
      <ul class="list-unstyled">
        <li <?php echo (Request::is('*admin/addhotel') ? 'class="current"' : ''); ?>><a href="<?php echo URL('admin/addhotel'); ?>">Add Hotel</a></li>
                <li <?php echo (Request::is('*admin/hotels') ? 'class="current"' : ''); ?>><a href="<?php echo URL('admin/hotels'); ?>">List Hotel</a></li>
      </ul>
    </li>

     
    <li class="submenu">
      <a class="waves-effect waves-light" href="#components">
        <i class="icon ti-briefcase"></i>
        <span class="text">Settings</span>
        <i class="chevron ti-angle-right"></i>
      </a>
      <ul class="list-unstyled" id="components">
        <li class="submenu">
          <a class="waves-effect waves-light" href="#alerts">
            Facilities
            <span class="pull-right drop-arrow">
              <i class="drop-indicator ti-angle-right chevron"></i>
            </span>
          </a>
          <ul class="list-unstyled" id="alerts">
            <li <?php echo (Request::is('*admin/settings/facilities/addfacility') ? 'class="current"' : ''); ?>><a href="<?php echo URL('admin/settings/facilities/addfacility'); ?>">Add Facilities</a></li>
            <li <?php echo (Request::is('*admin/settings/facilities') ? 'class="current"' : ''); ?>><a href="<?php echo URL('admin/settings/facilities'); ?>">List Facilities</a></li>
          </ul>
        </li>
        <li class="submenu">
          <a class="waves-effect waves-light" href="#alerts">
            Categories
            <span class="pull-right drop-arrow">
              <i class="drop-indicator ti-angle-right chevron"></i>
            </span>
          </a>
          <ul class="list-unstyled" id="alerts">
            <li <?php echo (Request::is('*admin/settings/categories/addcategory') ? 'class="current"' : ''); ?>><a href="<?php echo URL('admin/settings/categories/addcategory'); ?>">Add Categories</a></li>
            <li <?php echo (Request::is('*admin/settings/categories') ? 'class="current"' : ''); ?>><a href="<?php echo URL('admin/settings/categories'); ?>">List Categories</a></li>
          </ul>
        </li>
        <li class="submenu">
          <a class="waves-effect waves-light" href="#alerts">
            Activities
            <span class="pull-right drop-arrow">
              <i class="drop-indicator ti-angle-right chevron"></i>
            </span>
          </a>
          <ul class="list-unstyled" id="alerts">
            <li <?php echo (Request::is('*admin/settings/activities/addactivity') ? 'class="current"' : ''); ?>><a href="<?php echo URL('admin/settings/activities/addactivity'); ?>">Add Activities</a></li>
            <li <?php echo (Request::is('*admin/settings/activities') ? 'class="current"' : ''); ?>><a href="<?php echo URL('admin/settings/activities'); ?>">List Activities</a></li>
          </ul>
        </li>

      </ul>
    </li>


    <li class="submenu">
      <a class="waves-effect waves-light" href="#layouts">
        <i class="icon ti-layout"></i>
        <span class="text">Other</span>
        <i class="chevron ti-angle-right"></i>
      </a>
      <ul class="list-unstyled">
        <li <?php echo (Request::is('*admin/addhotel') ? 'class="current"' : ''); ?>><a href="<?php echo URL('admin/addhotel'); ?>">Newsletter</a></li>
        <li <?php echo (Request::is('*admin/addhotel') ? 'class="current"' : ''); ?>><a href="<?php echo URL('admin/addhotel'); ?>">Bookings</a></li>
      </ul>
    </li>


  </ul>
</div>
<!-- left-bar -->