<?php $route = Route::currentRouteName();   ?>
<ul class="navbar-nav sidebar sidebar-light accordion" id="accordionSidebar">
    <a class="sidebar-brand d-flex align-items-center justify-content-center" href="#">
        <div class="sidebar-brand-icon">
            <img width="100%" src="<?php echo e(asset('settings/' . (setting('logo') ?: 'hoteliersbd-logo.jpeg'))); ?>">
        </div>
    </a>
    <hr class="sidebar-divider my-0">
    <li class="nav-item active">
        <a class="nav-link" href="<?php echo e(route('dashboard')); ?>">
            <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-home" width="20" height="20" viewBox="0 0 24 24" stroke-width="1.5" stroke="#6e707e" fill="none" stroke-linecap="round" stroke-linejoin="round">
                <path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
                <path d="M5 12l-2 0l9 -9l9 9l-2 0"></path>
                <path d="M5 12v7a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-7"></path>
                <path d="M9 21v-6a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v6"></path>
            </svg>
            <span>Dashboard</span></a>
    </li>
    <hr class="sidebar-divider">
    <?php if(Auth::user()->role == 'superadmin' || Auth::user()->role == 'admin'): ?>
    <li class="nav-item">
        <a class="nav-link collapsed" href="#" data-toggle="collapse" data-target="#collapseSettings"
           aria-expanded="true" aria-controls="collapseSettings">
            <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-settings" width="20" height="20" viewBox="0 0 24 24" stroke-width="1.5" stroke="#9b82ffd9" fill="none" stroke-linecap="round" stroke-linejoin="round">
                                <path stroke="none" d="M0 0h24v24H0z" fill="none"/>
                                <path d="M10.325 4.317c.426 -1.756 2.924 -1.756 3.35 0a1.724 1.724 0 0 0 2.573 1.066c1.543 -.94 3.31 .826 2.37 2.37a1.724 1.724 0 0 0 1.065 2.572c1.756 .426 1.756 2.924 0 3.35a1.724 1.724 0 0 0 -1.066 2.573c.94 1.543 -.826 3.31 -2.37 2.37a1.724 1.724 0 0 0 -2.572 1.065c-.426 1.756 -2.924 1.756 -3.35 0a1.724 1.724 0 0 0 -2.573 -1.066c-1.543 .94 -3.31 -.826 -2.37 -2.37a1.724 1.724 0 0 0 -1.065 -2.572c-1.756 -.426 -1.756 -2.924 0 -3.35a1.724 1.724 0 0 0 1.066 -2.573c-.94 -1.543 .826 -3.31 2.37 -2.37c1 .608 2.296 .07 2.572 -1.065z" />
                                <path d="M9 12a3 3 0 1 0 6 0a3 3 0 0 0 -6 0" />
                            </svg>
            <span>Settings</span>
        </a>
        <div id="collapseSettings" class="collapse <?php echo e($route=='banner.create'||$route=='banner.edit'|| $route=='message.index'||$route=='message.view'||$route=='popup.index'||$route=='popup.edit'||$route=='general_setting.index' || $route=='system_setting.index' || $route=='ad.index' || $route=='ad.edit' || $route=='slider.create' || $route=='slider.edit' || $route=='slider.index' ?'show':''); ?>" aria-labelledby="headingBootstrap"
             data-parent="#accordionSidebar">
            <div class="bg-white py-2 collapse-inner rounded">
                <a class="collapse-item" href="<?php echo e(route('general_setting.index')); ?>">General Setting</a>
                <a class="collapse-item" href="<?php echo e(route('ad.index')); ?>">Advertise</a>
                <a class="collapse-item" href="<?php echo e(route('slider.index')); ?>">Slider</a>
                <a class="collapse-item" href="<?php echo e(route('popup.index')); ?>">Popup Ads</a>
                <a class="collapse-item" href="<?php echo e(route('message.index')); ?>">Visitors Inquiry</a>
            </div>
        </div>
    </li>
    <?php endif; ?>
    
    
    

    <?php if(Auth::user()->role == 'superadmin' || Auth::user()->role == 'admin'): ?>
    <li class="nav-item">
        <a class="nav-link collapsed" href="#" data-toggle="collapse" data-target="#collapsePayment"
           aria-expanded="true" aria-controls="collapsePayment">
            <i class="fas fa-trophy"></i>
            <span>Payment</span>
        </a>
        <div id="collapsePayment" class="collapse <?php echo e($route=='payment.index' || $route=='payment.filter' ? 'show':''); ?>" aria-labelledby="headingBootstrap"
             data-parent="#accordionSidebar">
            <div class="bg-white py-2 collapse-inner rounded">
                <a class="collapse-item" href="<?php echo e(route('payment.index')); ?>">Payment List</a>
            </div>
        </div>
    </li>
    <?php endif; ?>
    
    
    <?php if(Auth::user()->role == 'superadmin' || Auth::user()->role == 'admin'): ?>
    <li class="nav-item">
        <a class="nav-link" href="<?php echo e(route('donation.index')); ?>" >
            <i class="fas fa-donate"></i>
            <span><?php echo e(__('Fund Raise')); ?></span>
        </a>
    </li>
    <?php endif; ?>
    
    <?php if(Auth::user()->role == 'superadmin' || Auth::user()->role == 'admin' || Auth::user()->role == 'user'): ?>
        <li class="nav-item">
            <a class="nav-link collapsed" href="#" data-toggle="collapse" data-target="#collapseEvent" aria-expanded="true" aria-controls="collapseEvent">
                <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-affiliate" width="20" height="20" viewBox="0 0 24 24" stroke-width="1.5" stroke="#9b82ffd9" fill="none" stroke-linecap="round" stroke-linejoin="round">
                    <path stroke="none" d="M0 0h24v24H0z" fill="none"/>
                    <path d="M5.931 6.936l1.275 4.249m5.607 5.609l4.251 1.275" />
                    <path d="M11.683 12.317l5.759 -5.759" />
                    <path d="M5.5 5.5m-1.5 0a1.5 1.5 0 1 0 3 0a1.5 1.5 0 1 0 -3 0" />
                    <path d="M18.5 5.5m-1.5 0a1.5 1.5 0 1 0 3 0a1.5 1.5 0 1 0 -3 0" />
                    <path d="M18.5 18.5m-1.5 0a1.5 1.5 0 1 0 3 0a1.5 1.5 0 1 0 -3 0" />
                    <path d="M8.5 15.5m-4.5 0a4.5 4.5 0 1 0 9 0a4.5 4.5 0 1 0 -9 0" />
                </svg>
                <span>Event Manage</span>
            </a>
            <div id="collapseEvent" class="collapse <?php echo e($route=='event.index' || $route=='event.create' || $route=='event.edit'?'show':''); ?>" aria-labelledby="headingBootstrap"
                 data-parent="#accordionSidebar">
                <div class="bg-white py-2 collapse-inner rounded">
                    <a class="collapse-item" href="<?php echo e(route('event.create')); ?>">Create</a>
                    <a class="collapse-item" href="<?php echo e(route('event.index')); ?>">Manage</a>
                </div>
            </div>
        </li>
    <?php endif; ?>

    <?php if(Auth::user()->role == 'superadmin' || Auth::user()->role == 'admin'): ?>
    <li class="nav-item">
        <a class="nav-link collapsed" href="#" data-toggle="collapse" data-target="#collapseCategory"
           aria-expanded="true" aria-controls="collapseCategory">
            <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-apps" width="20" height="20" viewBox="0 0 24 24" stroke-width="1.5" stroke="#9b82ffd9" fill="none" stroke-linecap="round" stroke-linejoin="round">
                    <path stroke="none" d="M0 0h24v24H0z" fill="none"/>
                    <path d="M4 4m0 1a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z" />
                    <path d="M4 14m0 1a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z" />
                    <path d="M14 14m0 1a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z" />
                    <path d="M14 7l6 0" />
                    <path d="M17 4l0 6" />
                </svg>
            
            <span>Category</span>
        </a>
        <div id="collapseCategory" class="collapse <?php echo e($route=='Pcategory.create'|| $route=='Pcategory.edit'|| $route=='category.create'||$route=='category.edit' ||$route=='sub_category.create'||$route=='sub_category.edit'?'show':''); ?>" aria-labelledby="headingBootstrap"
             data-parent="#accordionSidebar">
            <div class="bg-white py-2 collapse-inner rounded">
                
                <a class="collapse-item" href="<?php echo e(route('category.create')); ?>">Category</a>
                <a class="collapse-item" href="<?php echo e(route('sub_category.create')); ?>">Sub Category</a>
            </div>
        </div>
    </li>
    <?php endif; ?>
    <?php if(Auth::user()->role == 'superadmin' || Auth::user()->role == 'admin' || Auth::user()->role == 'user'): ?>
    <li class="nav-item d-none">
        <a class="nav-link collapsed" href="#" data-toggle="collapse" data-target="#collapseProduct"
           aria-expanded="true" aria-controls="collapseProduct">
            <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-database-plus" width="20" height="20" viewBox="0 0 24 24" stroke-width="1.5" stroke="#9b82ffd9" fill="none" stroke-linecap="round" stroke-linejoin="round">
                <path stroke="none" d="M0 0h24v24H0z" fill="none"/>
                <path d="M4 6c0 1.657 3.582 3 8 3s8 -1.343 8 -3s-3.582 -3 -8 -3s-8 1.343 -8 3" />
                <path d="M4 6v6c0 1.657 3.582 3 8 3c1.075 0 2.1 -.08 3.037 -.224" />
                <path d="M20 12v-6" />
                <path d="M4 12v6c0 1.657 3.582 3 8 3c.166 0 .331 -.002 .495 -.006" />
                <path d="M16 19h6" />
                <path d="M19 16v6" />
            </svg>
            <span>Product</span>
        </a>
        <div id="collapseProduct" class="collapse <?php echo e($route=='product.create'||$route=='product.edit'||$route=='product.index'||$route=='product.search'?'show':''); ?>" aria-labelledby="headingBootstrap"
             data-parent="#accordionSidebar">
            <div class="bg-white py-2 collapse-inner rounded">
                <a class="collapse-item" href="<?php echo e(route('product.create')); ?>">Product Create</a>
                <a class="collapse-item" href="<?php echo e(route('product.index')); ?>">Product Manage</a>
            </div>
        </div>
    </li>
    <?php endif; ?>
    
    <?php if(Auth::user()->role == 'superadmin' || Auth::user()->role == 'admin'): ?>
    <li class="nav-item">
        <a class="nav-link collapsed" href="#" data-toggle="collapse" data-target="#collapseMenu"
           aria-expanded="true" aria-controls="collapseMenu">
            <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-adjustments" width="20" height="20" viewBox="0 0 24 24" stroke-width="1.5" stroke="#9b82ffd9" fill="none" stroke-linecap="round" stroke-linejoin="round">
                <path stroke="none" d="M0 0h24v24H0z" fill="none"/>
                <path d="M4 10a2 2 0 1 0 4 0a2 2 0 0 0 -4 0" />
                <path d="M6 4v4" />
                <path d="M6 12v8" />
                <path d="M10 16a2 2 0 1 0 4 0a2 2 0 0 0 -4 0" />
                <path d="M12 4v10" />
                <path d="M12 18v2" />
                <path d="M16 7a2 2 0 1 0 4 0a2 2 0 0 0 -4 0" />
                <path d="M18 4v1" />
                <path d="M18 9v11" />
            </svg>
            <span>Menu Setup</span>
        </a>
        <div id="collapseMenu" class="collapse <?php echo e($route=='menu.index'||$route=='menu.edit'||$route=='submenu.index'||$route=='submenu.edit'?'show':''); ?>" aria-labelledby="headingBootstrap"
             data-parent="#accordionSidebar">
            <div class="bg-white py-2 collapse-inner rounded">
                <a class="collapse-item" href="<?php echo e(route('menu.index')); ?>">Menu</a>
                <a class="collapse-item" href="<?php echo e(route('submenu.index')); ?>">Sub Menu</a>
            </div>
        </div>
    </li>
    <?php endif; ?>
    <?php if(Auth::user()->role == 'superadmin' || Auth::user()->role == 'admin'): ?>
        <li class="nav-item">
            <a class="nav-link collapsed" href="#" data-toggle="collapse" data-target="#collapseService" aria-expanded="true" aria-controls="collapseService">
                <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-apps" width="20" height="20" viewBox="0 0 24 24" stroke-width="1.5" stroke="#9b82ffd9" fill="none" stroke-linecap="round" stroke-linejoin="round">
                    <path stroke="none" d="M0 0h24v24H0z" fill="none"/>
                    <path d="M4 4m0 1a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z" />
                    <path d="M4 14m0 1a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z" />
                    <path d="M14 14m0 1a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z" />
                    <path d="M14 7l6 0" />
                    <path d="M17 4l0 6" />
                </svg>
                <span>Project</span>
            </a>
            <div id="collapseService" class="collapse <?php echo e($route=='service.index' || $route=='service.create' || $route=='service.edit'?'show':''); ?>" aria-labelledby="headingBootstrap"
                 data-parent="#accordionSidebar">
                <div class="bg-white py-2 collapse-inner rounded">
                    <a class="collapse-item" href="<?php echo e(route('service.create')); ?>">Create</a>
                    <a class="collapse-item" href="<?php echo e(route('service.index')); ?>">Manage</a>
                </div>
            </div>
        </li>
    <?php endif; ?>
    <?php if(Auth::user()->role == 'superadmin' || Auth::user()->role == 'admin' || Auth::user()->role == 'user'): ?>
    <li class="nav-item">
        <a class="nav-link collapsed" href="#" data-toggle="collapse" data-target="#collapseMember"
           aria-expanded="true" aria-controls="collapseMember">
            <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-users" width="20" height="20" viewBox="0 0 24 24" stroke-width="1.5" stroke="#9b82ffd9" fill="none" stroke-linecap="round" stroke-linejoin="round">
                            <path stroke="none" d="M0 0h24v24H0z" fill="none"/>
                            <circle cx="9" cy="7" r="4" />
                            <path d="M3 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2" />
                            <path d="M16 3.13a4 4 0 0 1 0 7.75" />
                            <path d="M21 21v-2a4 4 0 0 0 -3 -3.85" />
                        </svg>
            <span>Member</span>
        </a>
        <div id="collapseMember" class="collapse <?php echo e($route=='member.index'||$route=='member.create'||$route=='member.edit'?'show':''); ?>" aria-labelledby="headingBootstrap"
             data-parent="#accordionSidebar">
            <div class="bg-white py-2 collapse-inner rounded">
                <a class="collapse-item" href="<?php echo e(route('member.create')); ?>">Create</a>
                <a class="collapse-item" href="<?php echo e(route('member.index')); ?>">Manage</a>
            </div>
        </div>
    </li>
    <?php endif; ?>
    <?php if(Auth::user()->role == 'superadmin' || Auth::user()->role == 'admin' || Auth::user()->role == 'user'): ?>
    <li class="nav-item">
        <a class="nav-link collapsed" href="#" data-toggle="collapse" data-target="#collapsePage"
           aria-expanded="true" aria-controls="collapseBootstrap">
            <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-sitemap" width="20" height="20" viewBox="0 0 24 24" stroke-width="1.5" stroke="#9b82ffd9" fill="none" stroke-linecap="round" stroke-linejoin="round">
                <path stroke="none" d="M0 0h24v24H0z" fill="none"/>
                <path d="M3 15m0 2a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v2a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2z" />
                <path d="M15 15m0 2a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v2a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2z" />
                <path d="M9 3m0 2a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v2a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2z" />
                <path d="M6 15v-1a2 2 0 0 1 2 -2h8a2 2 0 0 1 2 2v1" />
                <path d="M12 9l0 3" />
            </svg>
            <span>Page Setup</span>
        </a>
        <div id="collapsePage" class="collapse <?php echo e($route=='pagecategory.index' ||  $route=='pagecategory.create' ||  $route=='pagecategory.edit' || $route=='page.index' || $route=='page.create' || $route=='page.edit' ?'show':''); ?>" aria-labelledby="headingBootstrap" data-parent="#accordionSidebar">
            <div class="bg-white py-2 collapse-inner rounded">
                <a class="collapse-item <?php echo e(activeMenu('page.create')); ?>" href="<?php echo e(route('page.create')); ?>">Create</a>
                <a class="collapse-item <?php echo e(activeMenu('page.index')); ?>" href="<?php echo e(route('page.index')); ?>">Manage</a>
                <a class="collapse-item <?php echo e(activeMenu('pagecategory.index')); ?>" href="<?php echo e(route('pagecategory.index')); ?>">Page Category</a>
            </div>
        </div>
    </li>
    <?php endif; ?>
    <?php if(Auth::user()->role == 'superadmin' || Auth::user()->role == 'admin'): ?>
        <li class="nav-item">
            <a class="nav-link collapsed" href="#" data-toggle="collapse" data-target="#collapseClient" aria-expanded="true" aria-controls="collapseClient">
                <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-mood-happy" width="20" height="20" viewBox="0 0 24 24" stroke-width="1.5" stroke="#9b82ffd9" fill="none" stroke-linecap="round" stroke-linejoin="round">
                    <path stroke="none" d="M0 0h24v24H0z" fill="none"/>
                    <path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" />
                    <path d="M9 9l.01 0" />
                    <path d="M15 9l.01 0" />
                    <path d="M8 13a4 4 0 1 0 8 0h-8" />
                </svg>
                <span>Client Manage</span>
            </a>
            <div id="collapseClient" class="collapse <?php echo e($route=='client.index' || $route=='client.create' || $route=='client.edit'?'show':''); ?>" aria-labelledby="headingBootstrap"
                 data-parent="#accordionSidebar">
                <div class="bg-white py-2 collapse-inner rounded">
                    <a class="collapse-item" href="<?php echo e(route('client.create')); ?>">Create</a>
                    <a class="collapse-item" href="<?php echo e(route('client.index')); ?>">Manage</a>
                </div>
            </div>
        </li>
    <?php endif; ?>
    <?php if(Auth::user()->role == 'superadmin' || Auth::user()->role == 'admin'|| Auth::user()->role == 'user'): ?>
        <li class="nav-item">
            <a class="nav-link collapsed" href="#" data-toggle="collapse" data-target="#collapsePartner" aria-expanded="true" aria-controls="collapsePartner">
                <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-heart-handshake" width="20" height="20" viewBox="0 0 24 24" stroke-width="1.5" stroke="#9b82ffd9" fill="none" stroke-linecap="round" stroke-linejoin="round">
                    <path stroke="none" d="M0 0h24v24H0z" fill="none"/>
                    <path d="M19.5 12.572l-7.5 7.428l-7.5 -7.428a5 5 0 1 1 7.5 -6.566a5 5 0 1 1 7.5 6.572" />
                    <path d="M12 6l-3.293 3.293a1 1 0 0 0 0 1.414l.543 .543c.69 .69 1.81 .69 2.5 0l1 -1a3.182 3.182 0 0 1 4.5 0l2.25 2.25" />
                    <path d="M12.5 15.5l2 2" />
                    <path d="M15 13l2 2" />
                </svg>
                <span>Partner</span>
            </a>
            <div id="collapsePartner" class="collapse <?php echo e($route=='partner.index' || $route=='partner.create' || $route=='partner.edit'?'show':''); ?>" aria-labelledby="headingBootstrap"
                 data-parent="#accordionSidebar">
                <div class="bg-white py-2 collapse-inner rounded">
                    <a class="collapse-item" href="<?php echo e(route('partner.create')); ?>">Create</a>
                    <a class="collapse-item" href="<?php echo e(route('partner.index')); ?>">Manage</a>
                </div>
            </div>
        </li>
    <?php endif; ?>
    <?php if(Auth::user()->role == 'superadmin' || Auth::user()->role == 'admin' || Auth::user()->role == 'user'): ?>
        <li class="nav-item">
            <a class="nav-link collapsed" href="#" data-toggle="collapse" data-target="#collapseTestimonial" aria-expanded="true" aria-controls="collapseTestimonial">
                <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-stars" width="20" height="20" viewBox="0 0 24 24" stroke-width="1.5" stroke="#9b82ffd9" fill="none" stroke-linecap="round" stroke-linejoin="round">
                    <path stroke="none" d="M0 0h24v24H0z" fill="none"/>
                    <path d="M17.8 19.817l-2.172 1.138a.392 .392 0 0 1 -.568 -.41l.415 -2.411l-1.757 -1.707a.389 .389 0 0 1 .217 -.665l2.428 -.352l1.086 -2.193a.392 .392 0 0 1 .702 0l1.086 2.193l2.428 .352a.39 .39 0 0 1 .217 .665l-1.757 1.707l.414 2.41a.39 .39 0 0 1 -.567 .411l-2.172 -1.138z" />
                    <path d="M6.2 19.817l-2.172 1.138a.392 .392 0 0 1 -.568 -.41l.415 -2.411l-1.757 -1.707a.389 .389 0 0 1 .217 -.665l2.428 -.352l1.086 -2.193a.392 .392 0 0 1 .702 0l1.086 2.193l2.428 .352a.39 .39 0 0 1 .217 .665l-1.757 1.707l.414 2.41a.39 .39 0 0 1 -.567 .411l-2.172 -1.138z" />
                    <path d="M12 9.817l-2.172 1.138a.392 .392 0 0 1 -.568 -.41l.415 -2.411l-1.757 -1.707a.389 .389 0 0 1 .217 -.665l2.428 -.352l1.086 -2.193a.392 .392 0 0 1 .702 0l1.086 2.193l2.428 .352a.39 .39 0 0 1 .217 .665l-1.757 1.707l.414 2.41a.39 .39 0 0 1 -.567 .411l-2.172 -1.138z" />
                </svg>
                <span>Contact Review</span>
            </a>
            <div id="collapseTestimonial" class="collapse <?php echo e($route=='testimonial.index' || $route=='testimonial.create' || $route=='testimonial.edit'?'show':''); ?>" aria-labelledby="headingBootstrap"
                 data-parent="#accordionSidebar">
                <div class="bg-white py-2 collapse-inner rounded">
                    <a class="collapse-item" href="<?php echo e(route('testimonial.create')); ?>">Create</a>
                    <a class="collapse-item" href="<?php echo e(route('testimonial.index')); ?>">Manage</a>
                </div>
            </div>
        </li>
    <?php endif; ?>
    <?php if(Auth::user()->role == 'superadmin' || Auth::user()->role == 'admin' || Auth::user()->role == 'user'): ?>
    <li class="nav-item">
        <a class="nav-link collapsed" href="#" data-toggle="collapse" data-target="#collapseBlog"
           aria-expanded="true" aria-controls="collapseBlog">
            <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-brand-blogger" width="20" height="20" viewBox="0 0 24 24" stroke-width="1.5" stroke="#9b82ffd9" fill="none" stroke-linecap="round" stroke-linejoin="round">
                                <path stroke="none" d="M0 0h24v24H0z" fill="none"/>
                                <path d="M8 21h8a5 5 0 0 0 5 -5v-3a3 3 0 0 0 -3 -3h-1v-2a5 5 0 0 0 -5 -5h-4a5 5 0 0 0 -5 5v8a5 5 0 0 0 5 5z" />
                                <path d="M7 7m0 1.5a1.5 1.5 0 0 1 1.5 -1.5h3a1.5 1.5 0 0 1 1.5 1.5v0a1.5 1.5 0 0 1 -1.5 1.5h-3a1.5 1.5 0 0 1 -1.5 -1.5z" />
                                <path d="M7 14m0 1.5a1.5 1.5 0 0 1 1.5 -1.5h7a1.5 1.5 0 0 1 1.5 1.5v0a1.5 1.5 0 0 1 -1.5 1.5h-7a1.5 1.5 0 0 1 -1.5 -1.5z" />
                            </svg>
            <span>News Manage</span>
        </a>
        <div id="collapseBlog" class="collapse <?php echo e($route=='post.create'||$route=='post.edit'||$route=='post.index'||$route=='post.search'|| $route=='trashpost.index'|| $route=='trashpost.view'?'show':''); ?>" aria-labelledby="headingBootstrap"
             data-parent="#accordionSidebar">
            <div class="bg-white py-2 collapse-inner rounded">
                <a class="collapse-item" href="<?php echo e(route('post.create')); ?>">Post Create</a>
                <a class="collapse-item" href="<?php echo e(route('post.index')); ?>">Post Manage</a>
                <a class="collapse-item" href="<?php echo e(route('trashpost.index')); ?>">Trash Posts</a>
            </div>
        </div>
    </li>
    <?php endif; ?>
    
    <?php if(Auth::user()->role == 'superadmin' || Auth::user()->role == 'admin' || Auth::user()->role == 'user'): ?>
    <li class="nav-item">
        <a class="nav-link collapsed" href="#" data-toggle="collapse" data-target="#collapseDesign" aria-expanded="true" aria-controls="collapseDesign">
            <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-photo-up" width="20" height="20" viewBox="0 0 24 24" stroke-width="1.5" stroke="#9b82ffd9" fill="none" stroke-linecap="round" stroke-linejoin="round">
                <path stroke="none" d="M0 0h24v24H0z" fill="none"/>
                <path d="M15 8h.01" />
                <path d="M12.5 21h-6.5a3 3 0 0 1 -3 -3v-12a3 3 0 0 1 3 -3h12a3 3 0 0 1 3 3v6.5" />
                <path d="M3 16l5 -5c.928 -.893 2.072 -.893 3 0l3.5 3.5" />
                <path d="M14 14l1 -1c.679 -.653 1.473 -.829 2.214 -.526" />
                <path d="M19 22v-6" />
                <path d="M22 19l-3 -3l-3 3" />
            </svg>
            <span>Design</span>
        </a>
        <div id="collapseDesign" class="collapse <?php echo e($route=='design.index' || $route=='design.create' || $route=='design.edit'?'show':''); ?>" aria-labelledby="headingBootstrap"
             data-parent="#accordionSidebar">
            <div class="bg-white py-2 collapse-inner rounded">
                 <a class="collapse-item" href="<?php echo e(route('design.create')); ?>">Create</a>
                        <a class="collapse-item" href="<?php echo e(route('design.index')); ?>">Manage</a>
            </div>
        </div>
    </li>
    <?php endif; ?>
    
    <?php if(Auth::user()->role == 'superadmin' || Auth::user()->role == 'admin' || Auth::user()->role == 'user'): ?>
    <li class="nav-item">
        <a class="nav-link collapsed" href="#" data-toggle="collapse" data-target="#collapsePhoto" aria-expanded="true" aria-controls="collapsePhoto">
            <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-photo-up" width="20" height="20" viewBox="0 0 24 24" stroke-width="1.5" stroke="#9b82ffd9" fill="none" stroke-linecap="round" stroke-linejoin="round">
                <path stroke="none" d="M0 0h24v24H0z" fill="none"/>
                <path d="M15 8h.01" />
                <path d="M12.5 21h-6.5a3 3 0 0 1 -3 -3v-12a3 3 0 0 1 3 -3h12a3 3 0 0 1 3 3v6.5" />
                <path d="M3 16l5 -5c.928 -.893 2.072 -.893 3 0l3.5 3.5" />
                <path d="M14 14l1 -1c.679 -.653 1.473 -.829 2.214 -.526" />
                <path d="M19 22v-6" />
                <path d="M22 19l-3 -3l-3 3" />
            </svg>
            <span>Photo Gallery</span>
        </a>
        <div id="collapsePhoto" class="collapse <?php echo e($route=='photo.index' || $route=='photo.create' || $route=='photo.edit'?'show':''); ?>" aria-labelledby="headingBootstrap"
             data-parent="#accordionSidebar">
            <div class="bg-white py-2 collapse-inner rounded">
                 <a class="collapse-item" href="<?php echo e(route('photo.create')); ?>">Create</a>
                        <a class="collapse-item" href="<?php echo e(route('photo.index')); ?>">Manage</a>
            </div>
        </div>
    </li>
    <?php endif; ?>
    
    <?php if(Auth::user()->role == 'superadmin' || Auth::user()->role == 'admin' || Auth::user()->role == 'user'): ?>
    <li class="nav-item">
        <a class="nav-link collapsed" href="#" data-toggle="collapse" data-target="#collapseVideo" aria-expanded="true" aria-controls="collapseVideo">
            <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-brand-youtube" width="20" height="20" viewBox="0 0 24 24" stroke-width="1.5" stroke="#9b82ffd9" fill="none" stroke-linecap="round" stroke-linejoin="round">
                <path stroke="none" d="M0 0h24v24H0z" fill="none"/>
                <path d="M2 8a4 4 0 0 1 4 -4h12a4 4 0 0 1 4 4v8a4 4 0 0 1 -4 4h-12a4 4 0 0 1 -4 -4v-8z" />
                <path d="M10 9l5 3l-5 3z" />
            </svg>
            <span>Video Gallery</span>
        </a>
        <div id="collapseVideo" class="collapse <?php echo e($route=='video.index' || $route=='video.create' || $route=='video.edit'?'show':''); ?>" aria-labelledby="headingBootstrap"
             data-parent="#accordionSidebar">
            <div class="bg-white py-2 collapse-inner rounded">
                 <a class="collapse-item" href="<?php echo e(route('video.create')); ?>">Create</a>
                        <a class="collapse-item" href="<?php echo e(route('video.index')); ?>">Manage</a>
            </div>
        </div>
    </li>
    <?php endif; ?>
    
    <?php if(Auth::user()->role == 'superadmin'): ?>
    <li class="nav-item">
        <a class="nav-link collapsed" href="#" data-toggle="collapse" data-target="#collapseAccount"
           aria-expanded="true" aria-controls="collapseAccount">
            <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-users" width="20" height="20" viewBox="0 0 24 24" stroke-width="1.5" stroke="#9b82ffd9" fill="none" stroke-linecap="round" stroke-linejoin="round">
                            <path stroke="none" d="M0 0h24v24H0z" fill="none"/>
                            <circle cx="9" cy="7" r="4" />
                            <path d="M3 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2" />
                            <path d="M16 3.13a4 4 0 0 1 0 7.75" />
                            <path d="M21 21v-2a4 4 0 0 0 -3 -3.85" />
                        </svg>
            <span>Account</span>
        </a>
        <div id="collapseAccount" class="collapse <?php echo e($route=='admin.index'||$route=='admin.create'||$route=='admin.edit'||$route=='staff.index'||$route=='staff.create'|| $route=='staff.edit'||$route=='role.index'||$route=='role.create' ||$route=='role.edit'?'show':''); ?>" aria-labelledby="headingBootstrap"
             data-parent="#accordionSidebar">
            <div class="bg-white py-2 collapse-inner rounded">
                <a class="collapse-item" href="<?php echo e(route('admin.index')); ?>">Account</a>
            </div>
        </div>
    </li>
    <?php endif; ?>
    
    <li class="nav-item">
        <a class="nav-link" href="<?php echo e(route('logout')); ?>" onclick="event.preventDefault(); document.getElementById('logout-form').submit();">
            <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-logout" width="20" height="20" viewBox="0 0 24 24" stroke-width="1.5" stroke="#9b82ffd9" fill="none" stroke-linecap="round" stroke-linejoin="round">
                                <path stroke="none" d="M0 0h24v24H0z" fill="none"/>
                                <path d="M14 8v-2a2 2 0 0 0 -2 -2h-7a2 2 0 0 0 -2 2v12a2 2 0 0 0 2 2h7a2 2 0 0 0 2 -2v-2" />
                                <path d="M7 12h14l-3 -3m0 6l3 -3" />
                            </svg>
            <span><?php echo e(__('Logout')); ?></span>
        </a>
        <form id="logout-form" action="<?php echo e(route('logout')); ?>" method="POST" class="d-none"> <?php echo csrf_field(); ?> </form>
    </li>
    </ul><?php /**PATH /var/www/html/HoteliersBD2/resources/views/back/parts/sidebar.blade.php ENDPATH**/ ?>