@extends('admin.layout') @php $selLang = \App\Language::where('code', request()->input('language'))->first(); @endphp @if(!empty($selLang) && $selLang->rtl == 1) @section('styles') @endsection @endif @section('content')
Announcement Popups
@if (!empty($langs)) @endif
Add Popup
@if (count($popups) == 0)

NO POPUP FOUND

@else
All Activated Popups will be shown in website according to Serial Number
@foreach ($popups as $key => $popup) @endforeach
Image Name Status Type Serial Number Actions
@if (!empty($popup->image)) @elseif (!empty($popup->background_image)) @endif
{{strlen($popup->name) > 20 ? mb_substr($popup->name,0,20,'utf-8') . '...' : $popup->name}}
@csrf

Type - {{$popup->type}}

{{$popup->serial_number}}
@csrf
@endif
@endsection