@extends('layouts.admin.app') @section('content') @if( Session::get('permissions.user_type') == 'A' ) Category ADD Banner @foreach (['danger', 'warning', 'success', 'info'] as $msg) @if(Session::has('alert-' . $msg)) {{ Session::get('alert-' . $msg) }} @endif @endforeach Category @if(count($list_banners) > 0) No. Banner Site Created Date Status Action @php $i=1; @endphp @foreach($list_banners as $key => $data) {{ $i + $key }} @if($data->image != null ) @endif {{$data->site_name}} {{date('d-m-Y', strtotime($data->created_at))}} is_block == 'N') checked @endif> {{-- --}} @endforeach @else No Data Found... @endif @endif @endsection