Viewing file: 0d3627b8f8f38eabb5976768cc37c03e.php (21.64 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php $attributes ??= new \Illuminate\View\ComponentAttributeBag; ?> <?php foreach($attributes->onlyProps(['ads']) as $__key => $__value) { $$__key = $$__key ?? $__value; } ?> <?php $attributes = $attributes->exceptProps(['ads']); ?> <?php foreach (array_filter((['ads']), 'is_string', ARRAY_FILTER_USE_KEY) as $__key => $__value) { $$__key = $$__key ?? $__value; } ?> <?php $__defined_vars = get_defined_vars(); ?> <?php foreach ($attributes as $__key => $__value) { if (array_key_exists($__key, $__defined_vars)) unset($$__key); } ?> <?php unset($__defined_vars); ?> <!DOCTYPE html> <html lang="en">
<head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <?php if (! empty(trim($__env->yieldContent('meta')))): ?> <?php echo $__env->yieldContent('meta'); ?> <?php else: ?> <meta name="title" content="<?php echo e($setting->seo_meta_title); ?>"> <meta name="description" content="<?php echo e($setting->seo_meta_description); ?>"> <meta name="keywords" content="<?php echo e($setting->seo_meta_keywords); ?>"> <?php endif; ?>
<!-- PWA Meta Theme color and link Start --> <?php if($setting->pwa_enable): ?> <meta name="theme-color" content="<?php echo e(empty($setting->frontend_primary_color) ? '#00AAFF' : $setting->frontend_primary_color); ?>" /> <link rel="apple-touch-icon" href="<?php echo e($setting->favicon_image_url); ?>"> <link rel="manifest" href="<?php echo e(asset('manifest.json')); ?>"> <?php endif; ?> <!-- PWA Meta Theme color and link End -->
<!-- Favicons --> <link rel="icon" type="image/png" sizes="16x16" href="<?php echo e(asset($setting->favicon_image)); ?>" />
<!-- Title --> <title><?php echo $__env->yieldContent('title'); ?> - <?php echo e(config('app.name')); ?></title>
<!-- Google Fonts --> <link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
<?php echo $__env->yieldPushContent('css'); ?>
<!-- Custom and dynamic css/scripts --> <?php echo $setting->header_css; ?>
<?php echo $setting->header_script; ?>
<?php echo \Livewire\Livewire::styles(); ?>
<?php echo app('Illuminate\Foundation\Vite')(['resources/frontend/css/app.css', 'resources/frontend/js/app.js']); ?> </head>
<style> :root { --gray-50: #F5F6F7; --gray-100: #D7DCE0; --gray-200: #B7BCC4; --gray-300: #A1A8AD; --gray-400: #8C9299; --gray-500: #6E747A; --gray-600: #555B61; --gray-700: #3F444A; --gray-800: #2A2E33; --gray-900: #1C2126; --primary-50: #E8F0FC; --primary-100: #D1E1FA; --primary-200: #A2C3F5; --primary-300: #74A6EF; --primary-400: #4588EA; --primary-500: <?php echo e($setting->frontend_primary_color); ?>; --primary-600: <?php echo e($setting->frontend_secondary_color); ?>; --primary-700: <?php echo e($setting->frontend_secondary_color); ?>; --primary-800: <?php echo e($setting->frontend_secondary_color); ?>; --primary-900: #05152E; --success-50: #EAF2E8; --success-100: #D5E4D1; --success-200: #ABCAA4; --success-300: #82AF76; --success-400: #589549; --success-500: #2E7A1B; --success-600: #256216; --success-700: #1C4910; --success-800: #12310B; --success-900: #091805; --warning-50: #FCEFE7; --warning-100: #FAE0CE; --warning-200: #F5C09D; --warning-300: #EFA16D; --warning-400: #EA813C; --warning-500: #E5620B; --warning-600: #B74E09; --warning-700: #893B07; --warning-800: #5C2704; --warning-900: #2E1402; --error-50: #FAEAEA; --error-100: #F5D4D4; --error-200: #EBAAAA; --error-300: #E17F7F; --error-400: #D75555; --error-500: #CD2A2A; --error-600: #A42222; --error-700: #7B1919; --error-800: #521111; --error-900: #290808; }
footer { background-color: <?php echo e($setting->frontend_secondary_color); ?> !important; }
.w-full .overflow-hidden .relative button { background-color: <?php echo e($setting->frontend_primary_color); ?> !important; } </style>
<body dir="<?php echo e(langDirection() ?? 'ltr'); ?>" class="<?php echo isset($_COOKIE['darkMode']) && $_COOKIE['darkMode'] === 'true' ? 'dark' : ''; ?>"> <?php if (isset($component)) { $__componentOriginal58a74e3162bb9509337724b216d26b11 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal58a74e3162bb9509337724b216d26b11 = $attributes; } ?> <?php $component = App\View\Components\Frontend\CookiesAllowance::resolve(['cookies' => $cookies] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('frontend.cookies-allowance'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\Frontend\CookiesAllowance::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes([]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal58a74e3162bb9509337724b216d26b11)): ?> <?php $attributes = $__attributesOriginal58a74e3162bb9509337724b216d26b11; ?> <?php unset($__attributesOriginal58a74e3162bb9509337724b216d26b11); ?> <?php endif; ?> <?php if (isset($__componentOriginal58a74e3162bb9509337724b216d26b11)): ?> <?php $component = $__componentOriginal58a74e3162bb9509337724b216d26b11; ?> <?php unset($__componentOriginal58a74e3162bb9509337724b216d26b11); ?> <?php endif; ?>
<div class="flex flex-col min-h-screen"> <?php if($setting->current_theme == 3): ?> <?php if (isset($component)) { $__componentOriginalf1b5f9b5bb18565ba3ff151cf4924c31 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalf1b5f9b5bb18565ba3ff151cf4924c31 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.frontend.header3.header','data' => ['login' => true]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('frontend.header3.header'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['login' => true]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalf1b5f9b5bb18565ba3ff151cf4924c31)): ?> <?php $attributes = $__attributesOriginalf1b5f9b5bb18565ba3ff151cf4924c31; ?> <?php unset($__attributesOriginalf1b5f9b5bb18565ba3ff151cf4924c31); ?> <?php endif; ?> <?php if (isset($__componentOriginalf1b5f9b5bb18565ba3ff151cf4924c31)): ?> <?php $component = $__componentOriginalf1b5f9b5bb18565ba3ff151cf4924c31; ?> <?php unset($__componentOriginalf1b5f9b5bb18565ba3ff151cf4924c31); ?> <?php endif; ?> <?php elseif($setting->current_theme == 2): ?> <?php if (isset($component)) { $__componentOriginalcce712aaac2bf0ed5cf5697bc005727a = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalcce712aaac2bf0ed5cf5697bc005727a = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.frontend.header2.header','data' => ['login' => true]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('frontend.header2.header'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['login' => true]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalcce712aaac2bf0ed5cf5697bc005727a)): ?> <?php $attributes = $__attributesOriginalcce712aaac2bf0ed5cf5697bc005727a; ?> <?php unset($__attributesOriginalcce712aaac2bf0ed5cf5697bc005727a); ?> <?php endif; ?> <?php if (isset($__componentOriginalcce712aaac2bf0ed5cf5697bc005727a)): ?> <?php $component = $__componentOriginalcce712aaac2bf0ed5cf5697bc005727a; ?> <?php unset($__componentOriginalcce712aaac2bf0ed5cf5697bc005727a); ?> <?php endif; ?> <?php else: ?> <?php if (isset($component)) { $__componentOriginal69b38a25fb63b184cc9f01e318feac1d = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal69b38a25fb63b184cc9f01e318feac1d = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.frontend.header.header','data' => ['login' => true]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('frontend.header.header'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['login' => true]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal69b38a25fb63b184cc9f01e318feac1d)): ?> <?php $attributes = $__attributesOriginal69b38a25fb63b184cc9f01e318feac1d; ?> <?php unset($__attributesOriginal69b38a25fb63b184cc9f01e318feac1d); ?> <?php endif; ?> <?php if (isset($__componentOriginal69b38a25fb63b184cc9f01e318feac1d)): ?> <?php $component = $__componentOriginal69b38a25fb63b184cc9f01e318feac1d; ?> <?php unset($__componentOriginal69b38a25fb63b184cc9f01e318feac1d); ?> <?php endif; ?> <?php endif; ?>
<main class="flex-grow dark:bg-gray-800"> <?php echo $__env->yieldContent('content'); ?> </main>
<?php if($setting->current_theme == 3): ?> <?php if (isset($component)) { $__componentOriginal09e945de9aa7fdebf27f020cc6e6766c = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal09e945de9aa7fdebf27f020cc6e6766c = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.frontend.footer3.footer','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('frontend.footer3.footer'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes([]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal09e945de9aa7fdebf27f020cc6e6766c)): ?> <?php $attributes = $__attributesOriginal09e945de9aa7fdebf27f020cc6e6766c; ?> <?php unset($__attributesOriginal09e945de9aa7fdebf27f020cc6e6766c); ?> <?php endif; ?> <?php if (isset($__componentOriginal09e945de9aa7fdebf27f020cc6e6766c)): ?> <?php $component = $__componentOriginal09e945de9aa7fdebf27f020cc6e6766c; ?> <?php unset($__componentOriginal09e945de9aa7fdebf27f020cc6e6766c); ?> <?php endif; ?> <?php elseif($setting->current_theme == 2): ?> <?php if (isset($component)) { $__componentOriginal505479c9f7e00b7b5649497221e4fae2 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal505479c9f7e00b7b5649497221e4fae2 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.frontend.footer2.footer','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('frontend.footer2.footer'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes([]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal505479c9f7e00b7b5649497221e4fae2)): ?> <?php $attributes = $__attributesOriginal505479c9f7e00b7b5649497221e4fae2; ?> <?php unset($__attributesOriginal505479c9f7e00b7b5649497221e4fae2); ?> <?php endif; ?> <?php if (isset($__componentOriginal505479c9f7e00b7b5649497221e4fae2)): ?> <?php $component = $__componentOriginal505479c9f7e00b7b5649497221e4fae2; ?> <?php unset($__componentOriginal505479c9f7e00b7b5649497221e4fae2); ?> <?php endif; ?> <?php else: ?> <?php if (isset($component)) { $__componentOriginal65bd7c46f080df5cb5dafcda8fe3eeaa = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal65bd7c46f080df5cb5dafcda8fe3eeaa = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.frontend.footer.footer','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('frontend.footer.footer'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes([]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal65bd7c46f080df5cb5dafcda8fe3eeaa)): ?> <?php $attributes = $__attributesOriginal65bd7c46f080df5cb5dafcda8fe3eeaa; ?> <?php unset($__attributesOriginal65bd7c46f080df5cb5dafcda8fe3eeaa); ?> <?php endif; ?> <?php if (isset($__componentOriginal65bd7c46f080df5cb5dafcda8fe3eeaa)): ?> <?php $component = $__componentOriginal65bd7c46f080df5cb5dafcda8fe3eeaa; ?> <?php unset($__componentOriginal65bd7c46f080df5cb5dafcda8fe3eeaa); ?> <?php endif; ?> <?php endif; ?> </div>
<!-- Preloader Start --> <?php if(setting('website_loader')): ?> <?php if (isset($component)) { $__componentOriginald496e6e3f6917ce6d45ea54bbf0a9d36 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginald496e6e3f6917ce6d45ea54bbf0a9d36 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.frontend.preloader','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('frontend.preloader'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes([]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginald496e6e3f6917ce6d45ea54bbf0a9d36)): ?> <?php $attributes = $__attributesOriginald496e6e3f6917ce6d45ea54bbf0a9d36; ?> <?php unset($__attributesOriginald496e6e3f6917ce6d45ea54bbf0a9d36); ?> <?php endif; ?> <?php if (isset($__componentOriginald496e6e3f6917ce6d45ea54bbf0a9d36)): ?> <?php $component = $__componentOriginald496e6e3f6917ce6d45ea54bbf0a9d36; ?> <?php unset($__componentOriginald496e6e3f6917ce6d45ea54bbf0a9d36); ?> <?php endif; ?> <?php endif; ?> <!-- Preloader End -->
<!-- PWA Button Start --> <button class="pwa-install-btn bg-white position-fixed hidden" id="installApp"> <img src="<?php echo e(asset('pwa-btn.png')); ?>" alt="Install App"> </button> <!-- PWA Button End -->
<?php echo $__env->make('frontend.layouts.partials.scripts', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<!-- PWA Script Start --> <?php if($setting->pwa_enable): ?> <script src="<?php echo e(asset('sw.js')); ?>"></script> <script> if (!navigator.serviceWorker) { navigator.serviceWorker.register("/sw.js").then(function(reg) { console.log("Service worker has been registered for scope: " + reg); }); }
let deferredPrompt; window.addEventListener('beforeinstallprompt', (e) => { document.getElementById('installApp').classList.remove('hidden'); deferredPrompt = e; });
const installApp = document.getElementById('installApp'); installApp.addEventListener('click', async () => { if (deferredPrompt !== null) { deferredPrompt.prompt(); const { outcome } = await deferredPrompt.userChoice; if (outcome === 'accepted') { deferredPrompt = null; } } }); </script> <?php endif; ?> <!-- PWA Script End -->
<?php echo \Livewire\Livewire::scripts(); ?>
<?php echo $__env->yieldPushContent('js'); ?>
<script> document.addEventListener('DOMContentLoaded', function() { const lightLogoUrl = "<?php echo e(asset($setting->white_logo_url)); ?>"; const darkLogoUrl = "<?php echo e(asset($setting->logo_image)); ?>"; const darkModeToggle = document.getElementById('darkModeToggle'); const icon = document.getElementById('icon'); const logo = document.getElementById('logo');
function getCookie(name) { const value = `; ${document.cookie}`; const parts = value.split(`; ${name}=`); if (parts.length === 2) return parts.pop().split(';').shift(); }
const isDarkMode = getCookie('darkMode') === 'true'; setDarkMode(isDarkMode);
darkModeToggle.addEventListener('click', function() { const currentMode = getCookie('darkMode') === 'true'; setDarkMode(!currentMode); document.cookie = `darkMode=${!currentMode}; path=/;`; });
function setDarkMode(isDark) { document.body.classList.toggle('dark', isDark);
if (isDark) { icon.innerHTML = ` <!-- Custom SVG for Dark Mode --> <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-4 h-4"> <path stroke-linecap="round" stroke-linejoin="round" d="M21.752 15.002A9.72 9.72 0 0 1 18 15.75c-5.385 0-9.75-4.365-9.75-9.75 0-1.33.266-2.597.748-3.752A9.753 9.753 0 1 0 21.752 15z" /> </svg> `; logo.src = darkLogoUrl; } else { icon.innerHTML = ` <!-- Custom SVG for Light Mode --> <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-4 h-4"> <path stroke-linecap="round" stroke-linejoin="round" d="M12 3.75V2.25m0 19.5v-1.5M4.964 5.036l-1.06-1.06m15.182 15.182-1.06-1.06M21.75 12h-1.5M3.75 12H2.25m16.714-6.714-1.06 1.06m-12.728 12.728-1.06 1.06M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0z" /> </svg> `; logo.src = lightLogoUrl; } } }); </script> </body>
</html> <?php /**PATH E:\add listing 8-9-25\addListing\resources\views/frontend/layouts/app.blade.php ENDPATH**/ ?>
|