@section('keywords')
@if($input != '')
@php
$categoryCount = count($categoryName ?? []);
$categoryName = ($categoryName) ? explode('--',$categoryName[0])[2] : '';
$translationSuffix = ($categoryCount != 1) ? '-without-category': '';
@endphp
@if($resultsCount == 0)
{!!__('courses-search-no-results'.$translationSuffix, [
'categoryName' => ''.$categoryName.'',
'keyword' => ''.e($input).''
])!!}
@elseif($resultsCount == 1)
{!!__('courses-search-one-result'.$translationSuffix, [
'categoryName' => ''.$categoryName.'',
'keyword' => ''.e($input).'',
'resultCount' =>''.$resultsCount.''
])!!}
@else
{!!__('courses-search-many-results'.$translationSuffix, [
'categoryName' => ''.$categoryName.'',
'keyword' => ''.e($input).'',
'resultCount' =>''.$resultsCount.''
])!!}
@endif
@endif
@endsection
@section('table')
@php
use App\Enumerables\Currency;
use Illuminate\Support\Facades\Auth;
$user = Auth::check();
$language = config('app.locale');
$class = ($language == 'en') ? 'top' : '';
$currencySign = (($_COOKIE['currency'] ?? Currency::GBP) == Currency::GBP) ? '£ ' : '¥ ';
@endphp
{{-- Fiter Table Header --}}
@if($listCount > 1)
@include('pagination', ['includeScript' => false])
@endif
{{-- End Fiter Table Header --}}
@include('catalog.lists.courses_list')
{{--Start Pagination--}}
@if($listCount > 1)
@include('pagination', ['includeScript' => true])
@endif
{{--End Pagination--}}
@endsection