@php $popups = \DB::table('pages_popups')->where('active', 1)->get(); @endphp @if(!$popups->isEmpty()) @foreach($popups as $popup)
{!! $popup->content !!}
@endforeach @endif