@extends('layouts.front.front') {{-- main content --}} @section('content') Downloads @if($resources->isNotEmpty()) Filter Filter by Categories @if($all_product_categories->isNotEmpty()) @foreach($all_product_categories as $key=> $category) filter && in_array($category->id, request()->category ?? [])) checked @endif class="form-check-input" id="category_{{$category->id}}" name="category[]" value="{{$category->id}}" > {{$category->name}} @endforeach @endif Brand @if($all_brands->isNotEmpty()) @foreach($all_brands as $key => $brand) filter && in_array($brand->id, request()->brand ?? [])) checked @endif > {{$brand->name}} @endforeach @endif Apply @if(request()->filter) Clear Filter @endif Found {{$total_count}} results Sort by: Name Newest A to Z @if($resources->isNotEmpty()) @foreach($resources as $resource) {{$resource->name}} {{$resource->sub_title}} @if($resource->files) @if($resource->files->check_file_exist()) @endif @endif @endforeach @endif {{ $resources->links() }} @else Resources Not Found! @endif @endsection @push('js') @endpush
{{$resource->sub_title}}