@extends('layouts/default') {{-- Page title --}} @section('title') News @parent @stop {{-- page level styles --}} @section('header_styles') @stop {{-- breadcrumb --}} @section('top')
News
@stop {{-- Page content --}} @section('content')
@if( $popular->count() != 0)

Popular News

@foreach($popular as $item)
{!! date('d-m-Y', strtotime($item->created_at)) !!}
{{ $item->title }}
@endforeach
@endif @if( $hotnews->count() != 0)

Hot News

@foreach($hotnews as $item)
{!! date('d-m-Y', strtotime($item->created_at)) !!}
{{ $item->title }}
@endforeach
@endif @if($lifestyle->count() !=0 )

Life Style

image

{{ $lifestyle->first()['title'] }}

{!! date('d-m-Y', strtotime($lifestyle->first()['created_at'])) !!}

{!! $lifestyle->first()['content'] !!}

    @foreach( $lifestyle as $item)
  • {!! date('d-m-Y', strtotime($item->created_at)) !!}
    {{ $item->title }}
  • @endforeach
@endif @if($world_news->count() !=0)

World News

@foreach($world_news as $item)
{!! date('d-m-Y', strtotime($item->created_at)) !!}
{{ $item->title }}
@endforeach
@endif @if($business->count() !=0)

Business News

image

{{ $business->first()['title'] }}

{!! date('d-m-Y', strtotime($business->first()['created_at'])) !!}

{!! $business->first()['content'] !!}

@foreach( $business as $item)
{!! date('d-m-Y', strtotime($item->created_at)) !!}
{{ $item->title }}
@endforeach
@endif @if($sports->count() !=0)

Sports NEWS

image

{{ $sports->first()['title'] }}

{!! date('d-m-Y', strtotime($sports->first()['created_at'])) !!}

{!! $sports->first()['content'] !!}

@foreach( $sports as $item)
{!! date('d-m-Y', strtotime($item->created_at)) !!}
{{ $item->title }}
@endforeach
@endif
@stop {{-- page level scripts --}} @section('footer_scripts') @stop