@extends("front.$version.layout") @section('pagename') - {{__('FAQ')}} @endsection @section('meta-keywords', "$be->faq_meta_keywords") @section('meta-description', "$be->faq_meta_description") @section('breadcrumb-title', convertUtf8($bs->faq_title)) @section('breadcrumb-subtitle', convertUtf8($bs->faq_subtitle)) @section('breadcrumb-link', __('FAQS')) @section('content')
@if ($bex->faq_category_status == 1) @if (count($categories) > 0)
@foreach ($categories as $category)
@php $qas = \App\Faq::where('category_id', $category->id)->orderBy('serial_number', 'ASC')->get(); @endphp @foreach ($qas as $qa)

{{ $qa->answer }}

@endforeach
@endforeach
@endif @else @if (count($faqs) == 0)

{{ __('No FAQ Found!') }}

@else
@for ($i=0; $i < ceil(count($faqs)/2); $i++)

{{convertUtf8($faqs[$i]->answer)}}
@endfor
@for ($i=ceil(count($faqs)/2); $i < count($faqs); $i++)

{{convertUtf8($faqs[$i]->answer)}}
@endfor
@endif @endif
@endsection