@php // Dynamically load active Announcement Popup from Super Admin or Custom VIP Popup $activePopup = null; try { if (\Illuminate\Support\Facades\Schema::hasTable('popups')) { $activePopup = \App\Models\Popup::where('status', 1)->orderBy('serial_number', 'ASC')->first(); } } catch (\Throwable $e) { $activePopup = null; } $popupSec = null; try { \App\Models\Admin\ImageText::ensureColumnsExist(); $popupSec = \App\Models\Admin\ImageText::first(); } catch (\Throwable $e) {} $isPopupActive = (!isset($popupSec->popup_status) || $popupSec->popup_status == 1); @endphp @if ($isPopupActive && ($activePopup || $popupSec)) {{-- Year-End Growth Deal Popup v2 - Pixel Perfect Match --}}
{!! $dispText !!}
{{-- Countdown Timer --}}{{ !empty($popupSec->popup_std_tagline) ? $popupSec->popup_std_tagline : 'Smart choice for growing brands' }}
{{ !empty($popupSec->popup_std_billed) ? $popupSec->popup_std_billed : 'Billed annually' }}
{{ !empty($popupSec->popup_pre_tagline) ? $popupSec->popup_pre_tagline : 'Best choice for advanced features' }}
{{ !empty($popupSec->popup_pre_billed) ? $popupSec->popup_pre_billed : 'Billed annually' }}