@extends('app') @section('content') {{getcong('home_title')}} @foreach($lstHomePageCategories as $row) @if($n==1) {{$row['data']->category_name}} @else {{$row['data']->category_name}} @endif @endforeach {{getcong('home_sub_title')}} {!! Form::open(array('url' => 'listings/','method'=>'get','class'=>'card-body row pb-1','id'=>'search','role'=>'form')) !!} {{trans('words.select_location')}} @foreach(\App\Models\Location::orderBy('location_name')->get() as $location) {{$location->location_name}} @endforeach {{trans('words.select_category')}} @foreach(\App\Models\Categories::get() as $i => $category) {{$category->category_name}} @endforeach {{trans('words.search')}} {!! Form::close() !!} {{trans('words.popular_cat')}} @foreach($lstParentCategories as $row) @if($row->category_image) @else @endif {{$row->category_name}} @if($row['listingsCount'] > 0) {{ $row['listingsCount'] }} {{trans('words.listings')}} @endif @endforeach {{trans('words.view_all_cat')}} @if(count($featured_listings) > 0) {{trans('words.featured_listings')}} @foreach($featured_listings as $listing) {{\App\Models\Categories::getCategoryInfo($listing->cat_id)->category_name}} {{$listing->title}} {{Str::limit($listing->address,50)}} @endforeach @endif @endsection
{{getcong('home_sub_title')}}
{{Str::limit($listing->address,50)}}