@extends('frontend.user.includes.master') @section('body') {{-- ---------------------------------------------------------------------------------sliders------------------------------------------------------- --}} @if(!$sliders->isEmpty() || !$sliderAuto->isEmpty()) @if(@$sliderAuto) @foreach ($sliderAuto as $auto) {{$auto->title}} @endforeach @endif @if(@$sliders) @foreach($sliders as $key =>$slider) {{$slider->text}} @endforeach @endif @if(@$sliders) @foreach($sliders as $key =>$slider) {{$slider->title}} @if(@$slider['SliderChild']) @foreach (@$slider['SliderChild'] as $child) {{$child->button_text}} @endforeach @endif @endforeach @foreach($sliders as $key =>$slider) {{$slider->text}} @endforeach @endif @endif {{-- ---------------------------------------------------------------------features------------------------------------------------------------------------------ --}} @if (!$features->isEmpty()) @foreach($features as $key =>$feature) {{$feature->title}} @endforeach @endif {{-- ----------------------------------------------------------------------------integrated_supply---------------------------------------------------------- --}} @if($integrated_supply) {{@$integrated_supply->title_1}} {{@$integrated_supply->title_2}} @if(@$integrated_supply->button_link && @$integrated_supply->button_text) {{@$integrated_supply->button_text}}@endif @endif {{-- -------------------------------------------------------------------------------------our_services------------------------------------------------- --}} @if(!$our_services->isEmpty()) @foreach($our_services as $key =>$our_service) {{$our_service->title}} {{$our_service->button_text}} {{$our_service->title}} @foreach($our_service['HomeOurServiceChild'] as $key=> $our_service_child) @if($our_service_child->icon)@endif {{$our_service_child->title}} @endforeach {{$our_service->button_text}} @endforeach @endif {{-- ------------------------------------------------------------------------industries-------------------------------------------------------- --}} @if(!$industries->isEmpty()) @php $i=1; @endphp @foreach($industries as $key =>$industrie) @if($i!=1 && $i!=3 && $i!=6) @endif {{$industrie->title}} {{$industrie->button_text}} @php $i++; @endphp @endforeach @foreach($industries as $key =>$industrie) {{$industrie->title}} {{$industrie->button_text}} @endforeach @endif {{-- ---------------------------------------------------------------------clouds------------------------------------------------ --}} @if(!$clouds->isEmpty()) @foreach($clouds as $key =>$cloud) @php $number=$cloud->number; preg_match_all('!\d+\.*\d*!', $number, $matches); $val=$matches[0][0]; $data=explode($val,$number); @endphp image) style="background-image: url({{url($cloud->image)}});" @endif > {{$data[0]}} 0 {{$data[1]}} {{$cloud->text}} @endforeach @endif {{-- ----------------------------------------------news----------------------------------------------------------- --}} @if(!@$latest_news->isEmpty()) @if(@$section_latest_news->button_link && @$section_latest_news->button_text) @endif @foreach($latest_news as $key =>$news) @if ($news->language!='en' && $news->default_language_page && @$news['DefaultLanguagePage']['post_slug']) @elseif($news->post_slug) @else @endif @if ($news->media_type=='Image' && $news->image) @elseif($news->media_type=='Video') @if($news->video_type=='MP4' && $news->video) @elseif ($news->video_type=='Youtube' && $news->youtube) @endif @endif {{$news->post_title}} {{$news['CreatedBy']['f_name']}} | January 01, 1970 @endforeach @if(@$section_latest_news->button_link && @$section_latest_news->button_text) @endif @endif {{-- -----------------------------------------------brand section--------------------------------------------------------------- --}} {{-- @if(!$brands->isEmpty()) @foreach($brands as $brand) @if($brand->link) @endif @if($brand->link) @endif @endforeach @endif --}} {{-- --------------------------------------------------------------- customers_derive section-----------------------------------------------}} {{-- @if(!$customers_derive->isEmpty()) @if(@$section_customers_derive->button_link && @$section_customers_derive->button_text) @endif @foreach($customers_derive as $customer) @endforeach @endif --}} {{-- ----------------------------------------------------blog----------------------------------------------------------------------------- --}} @if(!$blogs->isEmpty()) @if(@$section_blogs->button_link && @$section_blogs->button_text) @endif @foreach($blogs as $key =>$blog) @if ($blog->language!='en' && $blog->default_language_page && @$blog['DefaultLanguagePage']['post_slug']) @elseif($blog->post_slug) @else @endif @if ($blog->media_type=='Image' && $blog->image) @elseif($blog->media_type=='Video') @if($blog->video_type=='MP4' && $blog->video) @elseif ($blog->video_type=='Youtube' && $blog->youtube) @endif @endif {{$blog->post_title}} {{$blog['CreatedBy']['f_name']}} | January 01, 1970 @endforeach @if(@$section_blogs->button_link && @$section_blogs->button_text) @endif @endif @endsection @section('script') @endsection
{{$cloud->text}}
{{$news['CreatedBy']['f_name']}} | January 01, 1970
{{$blog['CreatedBy']['f_name']}} | January 01, 1970