@extends('frontEnd.layout') @section('content') @include('frontEnd.includes.slider') where('status',1)->toArray(); // $Home = Section::select('photo')->where('title_en','Main content')->get(); // Leadership // $Leaderships = Section::select('photo')->where('father_id','21')->get(); // $title_leadeship = Section::select('title_en')->where('father_id','21')->get(); // $contents_leadership = TopicField::select('field_value')->where('topic_id','12')->get(); //Our Events // $Our_events = Section::select('photo')->where('title_en','Our Events')->get(); // $title_ourevent = Section::select('title_en')->where('father_id','26')->get(); // $events = Section::select('photo')->where('father_id','26')->get(); // $contents_ourevent = TopicField::select('field_value')->where('topic_id','13')->get(); // Services // $services = Section::select('photo')->where('father_id','35')->get(); // $title_services = Section::select('title_en')->where('father_id','35')->get(); // Our Impact // $Heading_ourimpact = Topic::select('title_en')->where('id','16')->get(); // $contents_ourimpact = TopicField::select('field_value')->where('topic_id','16')->get(); // $title_ourimpact = Section::select('title_en')->where('father_id','42')->get(); // $details_ourimpact = Topic::select('details_en')->where('title_en','Our impact')->get(); // faq // $Heading_faq = Topic::select('title_en')->where('id','17')->get(); // contact // $title_contact = Topic::select('details_en')->where('title_en','Contact_us')->get(); // $contents_contact = TopicField::select('field_value')->where('topic_id','18')->get(); // $img_contact = Section::select('photo')->where('title_en','Contact us')->get(); //dd($img_contaLionsPageControllerct[0]->photo); ?> where('topic_id','21')->get(); // our impact designs // $our_impact = TopicField::select('field_value')->where('topic_id','19')->get(); // $line_ourimpact = Section::select('photo')->where('father_id','48')->get(); // faq // $line_faq = Section::select('photo')->where('father_id','55')->get(); // dd($line_faq); $rosehand_bg = ["rosehand.png"]; ?> @if(!empty($HomePage)) @if(@$HomePage->{"details_" . @Helper::currentLanguage()->code} !="")
{{-- @include('frontEnd.home.lcipage') --}}
{{-- @include('frontEnd.home.leadership-sec') --}} @include('frontEnd.home.ourevents-sec') @include('frontEnd.home.service-sec') @include('frontEnd.home.ourimpact-sec')
@include('frontEnd.home.faq-sec')
@include('frontEnd.home.contact-sec')
@endif @endif @if(count($TextBanners)>0) @foreach($TextBanners->slice(0,1) as $TextBanner) webmasterBanner->type; } catch (Exception $e) { $TextBanner_type = 0; } ?> @endforeach code; $title_var2 = "title_" . env('DEFAULT_LANGUAGE'); $details_var = "details_" . @Helper::currentLanguage()->code; $details_var2 = "details_" . env('DEFAULT_LANGUAGE'); $file_var = "file_" . @Helper::currentLanguage()->code; $file_var2 = "file_" . env('DEFAULT_LANGUAGE'); $col_width = 12; if (count($TextBanners) == 2) { $col_width = 6; } if (count($TextBanners) == 3) { $col_width = 4; } if (count($TextBanners) > 3) { $col_width = 3; } ?>
@foreach($TextBanners as $TextBanner) $title_var != "") { $BTitle = $TextBanner->$title_var; } else { $BTitle = $TextBanner->$title_var2; } if ($TextBanner->$details_var != "") { $BDetails = $TextBanner->$details_var; } else { $BDetails = $TextBanner->$details_var2; } if ($TextBanner->$file_var != "") { $BFile = $TextBanner->$file_var; } else { $BFile = $TextBanner->$file_var2; } ?>
@if($TextBanner->code !="") {!! $TextBanner->code !!} @else @if($TextBanner->icon !="")
@elseif($BFile !="") {{ $BTitle }} @endif

{!! $BTitle !!}

@if($BDetails !="")

{!! nl2br($BDetails) !!}

@endif @endif
@if($TextBanner->link_url !="") @endif
@endforeach
@endif @if(count($HomeTopics)>0)

{{ __('frontend.homeContents1Title') }}

{{ __('frontend.homeContents1desc') }}
@endif @if(count($HomePhotos)>0)

{{ __('frontend.homeContents2Title') }}

{{ __('frontend.homeContents2desc') }}
    code; $title_var2 = "title_" . env('DEFAULT_LANGUAGE'); $details_var = "details_" . @Helper::currentLanguage()->code; $details_var2 = "details_" . env('DEFAULT_LANGUAGE'); $section_url = ""; $ph_count = 0; ?> @foreach($HomePhotos as $HomePhoto) $title_var != "") { $title = $HomePhoto->$title_var; } else { $title = $HomePhoto->$title_var2; } if ($section_url == "") { $section_url = Helper::sectionURL($HomePhoto->webmaster_id); } ?> @foreach($HomePhoto->photos as $photo) @if($ph_count<12)
  • @endif @endforeach @endforeach
@endif @if(count($HomePartners)>0)

{{ __('frontend.partners') }}

{{ __('frontend.partnersMsg') }}
@endif @endsection