@extends('frontend.layout') @section('pageHeading') {{ __('Home') }} @endsection @section('metaKeywords') @if (!empty($seoInfo)) {{ $seoInfo->meta_keyword_home }} @endif @endsection @section('metaDescription') @if (!empty($seoInfo)) {{ $seoInfo->meta_description_home }} @endif @endsection @section('content') @if (count($sliderInfos) > 0)
@foreach ($sliderInfos as $sliderInfo)

{{ !empty($sliderInfo->title) ? $sliderInfo->title : '' }}

{{ !empty($sliderInfo->text) ? $sliderInfo->text : '' }}

@endforeach
@endif @if ($secInfo->about_section_status == 1)
@if (!empty($aboutSectionImage))
about image
@endif
{{ !empty($aboutSecInfo->subtitle) ? $aboutSecInfo->subtitle : '' }}

{{ !empty($aboutSecInfo->title) ? $aboutSecInfo->title : '' }}

{!! !empty($aboutSecInfo->text) ? nl2br($aboutSecInfo->text) : '' !!}

@if (!empty($aboutSecInfo->button_name) && !empty($aboutSecInfo->button_url)) {{ $aboutSecInfo->button_name }} @endif
{!! showAd(3) !!}
@endif @if ($secInfo->work_process_section_status == 1)
{{ !empty($workProcessSecInfo->subtitle) ? $workProcessSecInfo->subtitle : '' }}

{{ !empty($workProcessSecInfo->title) ? $workProcessSecInfo->title : '' }}

{{ !empty($workProcessSecInfo->text) ? $workProcessSecInfo->text : '' }}

@if (count($processes) == 0)

{{ __('No Work Process Found') . '!' }}

@else
@foreach ($processes as $process)
{{ str_pad($loop->index + 1,2, '0', STR_PAD_LEFT) }}

{{ $process->title }}

@endforeach
@endif
{!! showAd(3) !!}
@endif @if ($secInfo->feature_section_status == 1)
{{ !empty($featureSecInfo->subtitle) ? $featureSecInfo->subtitle : '' }}

{{ !empty($featureSecInfo->title) ? $featureSecInfo->title : '' }}

{{ !empty($featureSecInfo->text) ? $featureSecInfo->text : '' }}

@if (count($features) == 0)

{{ __('No Feature Found') . '!' }}

@else
@foreach ($features as $feature)

{{ $feature->title }}

{{ $feature->text }}

@endforeach
@endif
{!! showAd(3) !!}
@endif @if ($secInfo->counter_section_status == 1)
counter_section_image)) data-bg="{{ asset('assets/img/' . $counterSectionInfo->counter_section_image) }}" @endif>
@if (count($counters) == 0)

{{ __('No Information Found') . '!' }}

@else
@foreach ($counters as $counter)

{{ $counter->amount }}+

{{ $counter->title }}
@endforeach
@endif
@endif @if ($secInfo->equipment_section_status == 1)
{{ !empty($equipmentSecInfo->subtitle) ? $equipmentSecInfo->subtitle : '' }}

{{ !empty($equipmentSecInfo->title) ? $equipmentSecInfo->title : '' }}

{{ !empty($equipmentSecInfo->text) ? $equipmentSecInfo->text : '' }}

@if (count($allEquipment) == 0)

{{ __('No Equipment Found') . '!' }}

@else
@foreach ($allEquipment as $equipment)
@php $position = $currencyInfo->base_currency_symbol_position; $symbol = $currencyInfo->base_currency_symbol; @endphp
{{ __('Price') }}
@if (!empty($equipment->lowest_price)) {{ __('Starts From') }} @endif
@if (!empty($equipment->lowest_price))

{{ $position == 'left' ? $symbol : '' }}{{ $equipment->lowest_price }}{{ $position == 'right' ? $symbol : '' }}

@endif
{{ strlen($equipment->title) > 25 ? mb_substr($equipment->title, 0, 25, 'UTF-8') . '...' : $equipment->title }}
@if ($equipment->vendor) {{ __('By') }} {{ $vendor = optional($equipment->vendor)->username }} @else {{ __('By') }} {{ __('Admin') }} @endif
@if (!empty($equipment->per_day_price)) {{ $position == 'left' ? $symbol : '' }}{{ $equipment->per_day_price }}{{ $position == 'right' ? $symbol : '' }}{{ '/' . __('Day') }} @endif @if (!empty($equipment->per_week_price)) {{ $position == 'left' ? $symbol : '' }}{{ $equipment->per_week_price }}{{ $position == 'right' ? $symbol : '' }}{{ '/' . __('Week') }} @endif @if (!empty($equipment->per_month_price)) {{ $position == 'left' ? $symbol : '' }}{{ $equipment->per_month_price }}{{ $position == 'right' ? $symbol : '' }}{{ '/' . __('Month') }} @endif
{{ $equipment->categoryName }}
    @php $features = explode(PHP_EOL, $equipment->features); @endphp @foreach ($features as $feature) @if ($loop->iteration <= 3)
  • {{ $feature }}
  • @else
  • {{ $feature }}
  • @endif @endforeach
@if (count($features) > 3) {{ __('More Features') . '...' }} @endif
{{ number_format($equipment->avgRating, 2) }} ({{ $equipment->ratingCount . ' ' . __('rating') }})
{{ __('View') }}
@endforeach
@endif
{!! showAd(3) !!}
@endif @if ($secInfo->testimonial_section_status == 1)
{{ !empty($testimonialSecInfo->subtitle) ? $testimonialSecInfo->subtitle : '' }}

{{ !empty($testimonialSecInfo->title) ? $testimonialSecInfo->title : '' }}

@if (count($testimonials) == 0)

{{ __('No Testimonial Found') . '!' }}

@else
@foreach ($testimonials as $testimonial)

{{ $testimonial->comment }}

{{ $testimonial->name }}, {{ $testimonial->occupation }}
@endforeach
@endif
{!! showAd(3) !!}
@endif @if ($secInfo->call_to_action_section_status == 1)

{{ !empty($callToActionSecInfo->subtitle) ? $callToActionSecInfo->subtitle : '' }}

{{ !empty($callToActionSecInfo->title) ? $callToActionSecInfo->title : '' }}

@if (!empty($callToActionSecInfo->button_name) && !empty($callToActionSecInfo->button_url)) {{ $callToActionSecInfo->button_name }} @endif
@endif @if ($secInfo->blog_section_status == 1)
{{ !empty($blogSecInfo->subtitle) ? $blogSecInfo->subtitle : '' }}

{{ !empty($blogSecInfo->title) ? $blogSecInfo->title : '' }}

@if (count($blogs) == 0)

{{ __('No Blog Found') . '!' }}

@else
@foreach ($blogs as $blog)
image

{{ strlen($blog->title) > 40 ? mb_substr($blog->title, 0, 40, 'UTF-8') . '...' : $blog->title }}

{{ strlen(strip_tags($blog->content)) > 90 ? mb_substr(strip_tags($blog->content), 0, 90, 'UTF-8') . '...' : $blog->content }}

{{ __('Read More') }}
@endforeach
@endif
@endif @if ($secInfo->partner_section_status == 1) @endif @if ($secInfo->subscribe_section_status == 1)
@endif {{-- equipment search form start --}}
{{-- equipment search form end --}} {{-- post search form start --}}
{{-- post search form end --}} @endsection @section('script') @endsection