@extends('frontend.include.layout') @section('content') @if(count($home_advertisements_tops) != 0)
@foreach($home_advertisements_tops as $key => $home_advertisementdetail) @include('frontend.include.advertisementdesign') @endforeach
@endif @if($asset_categorys) @endif @if($home_recently_viewed_count != 0)

Recently Viewed

@foreach($home_recently_vieweds as $key => $home_recently_viewed) @php $publish_asset_detail= \App\Models\PublishedAssetDetails::where('asset_row_id',$home_recently_viewed->asset_id)->first(); @endphp @include('frontend.include.assetsingle') @endforeach
@endif

Popular Assets

See More
@if($onsale_assetdetails != '') @foreach($onsale_assetdetails as $key => $onsale_assetdetail) @php $publish_asset_detail= \App\Models\PublishedAssetDetails::where('id',$onsale_assetdetail->id)->first(); @endphp @include('frontend.include.assetsingle') @endforeach @endif
@if($topselling_assetdetails != '') @foreach($topselling_assetdetails as $key => $topselling_assetdetail) @php $publish_asset_detail= \App\Models\PublishedAssetDetails::where('id',$topselling_assetdetail->id)->first(); @endphp @include('frontend.include.assetsingle') @endforeach @endif
@php $publish_asset_details= \App\Models\PublishedAssetDetails::orderByDesc('created_at')->limit('8')->get(); @endphp @foreach($publish_asset_details as $key => $publish_asset_detail) @include('frontend.include.assetsingle') @endforeach
@php $publish_asset_details= \App\Models\PublishedAssetDetails::Where('pricetype', '2')->limit('8')->get(); @endphp @foreach($publish_asset_details as $key => $publish_asset_detail) @include('frontend.include.assetsingle') @endforeach
@php $publish_asset_details= \App\Models\PublishedAssetDetails::where('verified_id','1')->limit('8')->get(); @endphp @foreach($publish_asset_details as $key => $publish_asset_detail) @include('frontend.include.assetsingle') @endforeach
@if(count($home_advertisements_middleas) != 0)
@foreach($home_advertisements_middleas as $key => $home_advertisementdetail) @include('frontend.include.advertisementdesign') @endforeach
@endif
@if(count($actor_details) != 0)

Popular Actor

@foreach($actor_details as $key => $actor_detail) @include('frontend.include.actorsingle') @endforeach
@endif
@if(count($home_advertisements_middlebs) != 0)
@foreach($home_advertisements_middlebs as $key => $home_advertisementdetail) @include('frontend.include.advertisementdesign') @endforeach
@endif
@if(count($brand_details) != 0)

Popular Brand

@foreach($brand_details as $key => $brand_detail) @include('frontend.include.brandsingle') @endforeach
@endif
@if(count($home_advertisements_bottoms) != 0)
@foreach($home_advertisements_bottoms as $key => $home_advertisementdetail) @include('frontend.include.advertisementdesign') @endforeach
@endif @endsection @section('script') @include('frontend.include.asset-js') @include('frontend.include.actorjs') @include('frontend.include.brandjs') @endsection