@extends('layouts.admin.main') @if (!empty($listingPagesImage)) @if (!file_exists(storage_path('app/public/advertisement-images/' . $listingPagesImage->file_name))) @php $listingPageImageUrl = url('public/storage/advertisement-images/' . $listingPagesImage->file_name); @endphp @else @php $listingPageImageUrl = url('storage/advertisement-images/' . $listingPagesImage->file_name); @endphp @endif @else @php $listingPageImageUrl = ''; @endphp @endif @if (!empty($articleDetailPageImage)) @if (!file_exists(storage_path('app/public/advertisement-images/' . $articleDetailPageImage->file_name))) @php $articleDetailPageImageUrl = url('public/storage/advertisement-images/' . $articleDetailPageImage->file_name); @endphp @else @php $articleDetailPageImageUrl = url('storage/advertisement-images/' . $articleDetailPageImage->file_name); @endphp @endif @else @php $articleDetailPageImageUrl = ''; @endphp @endif @if (!empty($articleAdBannerImage)) @if (!file_exists(storage_path('app/public/advertisement-images/' . $articleAdBannerImage->file_name))) @php $articleAdBannerImageUrl = url('public/storage/advertisement-images/' . $articleAdBannerImage->file_name); @endphp @else @php $articleAdBannerImageUrl = url('storage/advertisement-images/' . $articleAdBannerImage->file_name); @endphp @endif @else @php $articleAdBannerImageUrl = ''; @endphp @endif @if (!empty($popupBannerImage)) @if (!file_exists(storage_path('app/public/advertisement-images/' . $popupBannerImage->file_name))) @php $popupBannerImageUrl = url('public/storage/advertisement-images/' . $popupBannerImage->file_name); @endphp @else @php $popupBannerImageUrl = url('storage/advertisement-images/' . $popupBannerImage->file_name); @endphp @endif @else @php $popupBannerImageUrl = ''; @endphp @endif @if (!empty($ad_popup)) @if ($ad_popup->ad_popup == 1) @php $ad_popup = 1; @endphp @else @php $ad_popup = 0; @endphp @endif @else @php $ad_popup = 1; @endphp @endif @section('title')