<?php $__env->startPush('styles_top'); ?> <link rel="stylesheet" href="/assets/default/vendors/swiper/swiper-bundle.min.css"> <link rel="stylesheet" href="/assets/default/vendors/select2/select2.min.css"> <?php $__env->stopPush(); ?> <?php $__env->startSection('content'); ?> <section class="site-top-banner search-top-banner opacity-04 position-relative"> <img src="<?php echo e(getPageBackgroundSettings('categories')); ?>" class="img-cover" alt=""/> <div class="container h-100"> <div class="row h-100 align-items-center justify-content-center text-center"> <div class="col-12 col-md-9 col-lg-7"> <div class="top-search-categories-form"> <h1 class="text-white font-30 mb-15"><?php echo e($pageTitle); ?></h1> <span class="course-count-badge py-5 px-10 text-white rounded"><?php echo e($coursesCount); ?> <?php echo e(trans('product.courses')); ?></span> <div class="search-input bg-white p-10 flex-grow-1"> <form action="/search" method="get"> <div class="form-group d-flex align-items-center m-0"> <input type="text" name="search" class="form-control border-0" placeholder="<?php echo e(trans('home.slider_search_placeholder')); ?>"/> <button type="submit" class="btn btn-primary rounded-pill"><?php echo e(trans('home.find')); ?></button> </div> </form> </div> </div> </div> </div> </div> </section> <div class="container mt-30"> <section class="mt-lg-50 pt-lg-20 mt-md-40 pt-md-40"> <form action="/classes" method="get" id="filtersForm"> <?php echo $__env->make('web.default.pages.includes.top_filters', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <div class="row mt-20"> <div class="col-12 col-lg-8"> <?php if(empty(request()->get('card')) or request()->get('card') == 'grid'): ?> <div class="row"> <?php $__currentLoopData = $webinars; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $webinar): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class="col-12 col-lg-6 mt-20"> <?php echo $__env->make('web.default.includes.webinar.grid-card',['webinar' => $webinar], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> <?php elseif(!empty(request()->get('card')) and request()->get('card') == 'list'): ?> <?php $__currentLoopData = $webinars; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $webinar): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php echo $__env->make('web.default.includes.webinar.list-card',['webinar' => $webinar], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php endif; ?> </div> <div class="col-12 col-lg-4"> <div class="mt-20 p-20 rounded-sm shadow-lg border border-gray300 filters-container"> <div class=""> <h3 class="category-filter-title font-20 font-weight-bold text-dark-blue"><?php echo e(trans('public.type')); ?></h3> <div class="pt-10"> <?php $__currentLoopData = ['bundle','webinar','course','text_lesson']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $typeOption): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class="d-flex align-items-center justify-content-between mt-20"> <label class="cursor-pointer" for="filterLanguage<?php echo e($typeOption); ?>"> <?php if($typeOption == 'bundle'): ?> <?php echo e(trans('update.bundle')); ?> <?php else: ?> <?php echo e(trans('webinars.'.$typeOption)); ?> <?php endif; ?> </label> <div class="custom-control custom-checkbox"> <input type="checkbox" name="type[]" id="filterLanguage<?php echo e($typeOption); ?>" value="<?php echo e($typeOption); ?>" <?php if(in_array($typeOption, request()->get('type', []))): ?> checked="checked" <?php endif; ?> class="custom-control-input"> <label class="custom-control-label" for="filterLanguage<?php echo e($typeOption); ?>"></label> </div> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> </div> <div class="mt-25 pt-25 border-top border-gray300"> <h3 class="category-filter-title font-20 font-weight-bold text-dark-blue"><?php echo e(trans('site.more_options')); ?></h3> <div class="pt-10"> <?php $__currentLoopData = ['subscribe','certificate_included','with_quiz','featured']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $moreOption): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class="d-flex align-items-center justify-content-between mt-20"> <label class="cursor-pointer" for="filterLanguage<?php echo e($moreOption); ?>"><?php echo e(trans('webinars.show_only_'.$moreOption)); ?></label> <div class="custom-control custom-checkbox"> <input type="checkbox" name="moreOptions[]" id="filterLanguage<?php echo e($moreOption); ?>" value="<?php echo e($moreOption); ?>" <?php if(in_array($moreOption, request()->get('moreOptions', []))): ?> checked="checked" <?php endif; ?> class="custom-control-input"> <label class="custom-control-label" for="filterLanguage<?php echo e($moreOption); ?>"></label> </div> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> </div> <button type="submit" class="btn btn-sm btn-primary btn-block mt-30"><?php echo e(trans('site.filter_items')); ?></button> </div> </div> </div> </form> <div class="mt-50 pt-30"> <?php echo e($webinars->appends(request()->input())->links('vendor.pagination.panel')); ?> </div> </section> </div> <?php $__env->stopSection(); ?> <?php $__env->startPush('scripts_bottom'); ?> <script src="/assets/default/vendors/select2/select2.min.js"></script> <script src="/assets/default/vendors/swiper/swiper-bundle.min.js"></script> <script src="/assets/default/js/parts/categories.min.js"></script> <?php $__env->stopPush(); ?> <?php echo $__env->make(getTemplate().'.layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/anyleson/public_html/resources/views/web/default/pages/classes.blade.php ENDPATH**/ ?>