@extends('admin.layout') @php $selLang = \App\Models\Language::where('code', request()->input('language'))->first(); @endphp @if (!empty($selLang) && $selLang->rtl == 1) @section('styles') @endsection @endif @section('styles') @endsection @section('content') {{-- Top Navigation Tabs between Standard Popups and Custom VIP Popup --}}
STYLE; $tabsStyle = <<<'HTML' @section('styles') @endsection

{{ __('Announcement Popups') }}

@include('admin.partials.languages')
{{ __('Add Popup') }}
@if (count($popups) == 0)

{{ __('NO POPUP FOUND') }}

@else {{-- Notice Banner --}} {{-- DataTable Header --}}
{{ __('Show') }} {{ __('entries') }}
{{ __('Search:') }}
@foreach ($popups as $key => $popup) @endforeach
{{ __('Image') }} {{ __('Name') }} {{ __('Status') }} {{ __('Type') }} {{ __('Serial Number') }} {{ __('Actions') }}
@if (!empty($popup->image)) @elseif (!empty($popup->background_image)) @else
@endif
{{ strlen($popup->name) > 20 ? mb_substr($popup->name, 0, 20, 'utf-8') . '...' : $popup->name }}
@csrf
{{ __('Type') . ' - ' }}{{ $popup->type }}
{{ $popup->serial_number }}
@csrf
{{ __('Showing 1 to') }} {{ count($popups) }} {{ __('of') }} {{ count($popups) }} {{ __('entries') }}
@endif
@endsection