Highlight Management

{{csrf_field()}}
@php $date = date("Y"); @endphp
@if(Session::get('month') != null || Session::get('year') != null)
@endif
@php $i=0 @endphp @foreach($highlight as $announcements) @php $i = $i+1 @endphp @for($i=$i;$i<=count($highlight);) @break @endfor @php $date = date("d-m-Y",strtotime($announcements->date)); @endphp @endforeach
Sr.No. Highlights Highlight Date Action
{{$i}}
@php $title = $announcements->title; if(strlen($title) >= 30 ){ $break = substr($announcements->title, 0,30); echo $break."......"; }else{ echo $title; } @endphp {{$date}}