@extends('frontend.layouts.app') @section('content') @php if($module->id == 1) { $module_folder = 'business'; } else if($module->id == 2) { $module_folder = 'home-business'; } else if($module->id == 3) { $module_folder = 'non-profit'; } else { $module_folder = 'default'; } @endphp @if( isset( $ad->module->banner_image ) ) @php $bannerImage = asset('module-banner/'.$ad->module->banner_image); @endphp @endif

{{$ad->title ?? ''}}

@if( isset( $ad->facebook_url ) || isset( $ad->twitter_url ) || isset( $ad->pinterest_url ) || isset( $ad->instagram_url ) ) @endif

in @if( isset( $ad->subcategory ) && count( $ad->subcategory ) ) @foreach( $ad->subcategory as $adCat ) {{$adCat->adcategory->title}} {{count( $ad->subcategory ) > 1 ? ',' :''}} @endforeach @else {{$category->title}} @endif

@if( isset($ad->working_hour_monday) || isset($ad->working_hour_tuesday) || isset($ad->working_hour_wednesday) || isset($ad->working_hour_thursday) || isset($ad->working_hour_friday) || isset($ad->working_hour_saturday) || isset($ad->working_hour_sunday) )

Hours

@if( isset($ad->working_hour_monday) )

Monday : {{ $ad->working_hour_monday ?? 'N/A' }}

@endif @if( isset($ad->working_hour_tuesday) )

Tuesday : {{ $ad->working_hour_tuesday ?? 'N/A' }}

@endif @if( isset($ad->working_hour_wednesday) )

Wednesday : {{ $ad->working_hour_wednesday ?? 'N/A' }}

@endif @if( isset($ad->working_hour_thursday) )

Thursday : {{ $ad->working_hour_thursday ?? 'N/A' }}

@endif @if( isset($ad->working_hour_friday) )

Friday : {{ $ad->working_hour_friday ?? 'N/A' }}

@endif @if( isset($ad->working_hour_saturday) )

Saturday : {{ $ad->working_hour_saturday ?? 'N/A' }}

@endif @if( isset($ad->working_hour_sunday) )

Sunday : {{ $ad->working_hour_sunday ?? 'N/A' }}

@endif
@endif
@if( isset( $ad->phone ) ) @endif @if( isset( $ad->email ) ) @endif @php function addhttp($url) { if (!preg_match("~^(?:f|ht)tps?://~i", $url)) { $url = "https://" . $url; } return $url; } @endphp @if( isset( $ad->website ) ) @endif @if( isset( $ad->embed_map_iframe ) )

Location Map

{!!$ad->embed_map_iframe!!}
@endif
@include('frontend.ads.modal.favorite') @include('frontend.ads.modal.message') @include('frontend.ads.modal.login') @endsection @section('scripts') @include('frontend.ads.js.login-js') @include('frontend.ads.js.favorite-js') @include('frontend.ads.js.share-link-js') @include('frontend.ads.js.send-us-message-js') @endsection