File manager - Edit - /var/www/payraty/lms_main/storage/framework/views/37ca6fc9434a7811b61530e4d4daf56d.php
Back
<?php $current_route = Route::currentRouteName(); ?> <div class="sidebar-logo-area"> <a href="#" class="sidebar-logos"> <img class="sidebar-logo-lg" height="50px" src="<?php echo e(get_image(get_frontend_settings('dark_logo'))); ?>" alt=""> <img class="sidebar-logo-sm" height="40px" src="<?php echo e(get_image(get_frontend_settings('favicon'))); ?>" alt=""> </a> <button class="sidebar-cross menu-toggler d-block d-lg-none"> <span class="fi-rr-cross"></span> </button> </div> <!-- <h3 class="sidebar-title fs-12px px-30px pb-20px text-uppercase mt-4"><?php echo e(get_phrase('Main Menu')); ?></h3> --> <div class="sidebar-nav-area"> <nav class="sidebar-nav"> <ul class=""> <?php if(has_permission('admin.dashboard')): ?> <li class="sidebar-first-li <?php echo e($current_route == 'admin.dashboard' ? 'active' : ''); ?>"> <a href="<?php echo e(route('admin.dashboard')); ?>"> <span class="icon fi-rr-house-blank"></span> <div class="text"> <span><?php echo e(get_phrase('Dashboard')); ?></span> </div> </a> </li> <?php endif; ?> <?php if(has_permission('admin.categories')): ?> <li class="sidebar-first-li <?php echo e($current_route == 'admin.categories' ? 'active' : ''); ?>"> <a href="<?php echo e(route('admin.categories')); ?>"> <span class="icon fi-rr-chart-tree-map"></span> <div class="text"> <span><?php echo e(get_phrase('Category')); ?></span> </div> </a> </li> <?php endif; ?> <?php if(has_permission('admin.courses')): ?> <li class="sidebar-first-li first-li-have-sub <?php if($current_route == 'admin.courses' || $current_route == 'admin.course.create' || $current_route == 'admin.course.edit' || $current_route == 'admin.coupons'): ?> active showMenu <?php endif; ?>"> <a href="javascript:void(0);"> <span class="icon fi fi-rr-e-learning"></span> <div class="text"> <span><?php echo e(get_phrase('Course')); ?></span> </div> </a> <ul class="first-sub-menu"> <li class="first-sub-menu-title fs-14px mb-18px"><?php echo e(get_phrase('Course')); ?></li> <li class="sidebar-second-li <?php if($current_route == 'admin.courses' || $current_route == 'admin.course.edit'): ?> active <?php endif; ?>"> <a href="<?php echo e(route('admin.courses')); ?>"><?php echo e(get_phrase('Manage Courses')); ?></a> </li> <li class="sidebar-second-li <?php if($current_route == 'admin.course.create'): ?> active <?php endif; ?>"> <a href="<?php echo e(route('admin.course.create')); ?>"><?php echo e(get_phrase('Add New Course')); ?></a> </li> </ul> </li> <?php endif; ?> </ul> </nav> </div> <script> "use strict"; document.addEventListener("DOMContentLoaded", function() { // Restore scroll position if it exists in localStorage const scrollPos = localStorage.getItem('navScrollPos'); const sidebarNavArea = document.querySelector('.sidebar-nav-area'); if (scrollPos) { sidebarNavArea.scrollTop = scrollPos; } // Ensure the active element is visible const activeElement = document.querySelector('.sidebar-nav-area .active'); if (activeElement) { const activeElementTop = activeElement.getBoundingClientRect().top; const navAreaTop = sidebarNavArea.getBoundingClientRect().top; const navAreaBottom = navAreaTop + sidebarNavArea.clientHeight; if (activeElementTop < navAreaTop || activeElementTop > navAreaBottom) { sidebarNavArea.scrollTop = activeElement.offsetTop - sidebarNavArea.offsetTop; } } // Save scroll position before page unload window.addEventListener('beforeunload', function() { localStorage.setItem('navScrollPos', sidebarNavArea.scrollTop); }); }); </script> <?php /**PATH /var/www/payraty/lms_main/resources/views/admin/navigation.blade.php ENDPATH**/ ?>
| ver. 1.4 |
Github
|
.
| PHP 8.3.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings