@extends('layouts.admin.app') @section('content') @if( Session::get('permissions.user_type') == 'A' ) CMS ADD Site Wise CMS @foreach (['danger', 'warning', 'success', 'info'] as $msg) @if(Session::has('alert-' . $msg)) {{ Session::get('alert-' . $msg) }} @endif @endforeach CMS @if(count($list_cms) > 0) No. Title Content Site Status Action @php $i=1; @endphp @foreach($list_cms as $key => $data) {{ $i + $key }} {{$data->title}} {!! substr(strip_tags($data->content), 0, 100) !!}... {{$data->site_name}} is_block == 'N') checked @endif> {{-- --}} @endforeach @else No Data Found... @endif @endif @endsection