@extends('layouts.admin.app') @section('content')
@if( Session::get('permissions.user_type') == 'A' || Session::get('permissions.user_type') == 'SA')
@foreach (['danger', 'warning', 'success', 'info'] as $msg) @if(Session::has('alert-' . $msg))

{{ Session::get('alert-' . $msg) }}

@endif @endforeach
Blog
@if(count($result) > 0)
@php $i=1; @endphp @foreach($result as $key => $data) @endforeach
No. Slug Site Blog Banner Created Date Status Action
{{ $i + $key }} {{$data->slug}} {{$data->site_name}} @if($data->blog_img != null ) @endif {{date('d-m-y', strtotime($data->created_at))}}
@else
No Data Found...
@endif
@endif
@endsection