@extends('backend.layouts.app-backend') @section('content')

{{ $cms_type['heading'] }} List

@include('layouts.message')
@csrf
{{ $cms_type['heading'] }} List
@if(isset($cms) && count($cms)>0) @foreach($cms as $ad) @php if( $ad->cms_type == 1 ) { $type = 'more-buzz'; } if( $type == 2 ) { $type = 'youth-info'; } if( $type == 3 ) { $type = 'senior'; } @endphp @endforeach @else @endif
Order Title Description Date Status Action
{{$ad->title ?? ''}} {!! substr( strip_tags( $ad->description),0,50 ) ?? 'N/A' !!} {{$ad->created_at ?? 'N/A'}} @if( $ad->status == 0 ) Unpublished @elseif( $ad->status == 1 ) Published/Approved @else Unpublished @endif
No {{ $cms_type['heading'] }} Available!
{!! $cms->links() !!}
@endsection @section('footer-scripts') @endsection