@php $gdkBrandName = trim((string) setting('site_title', 'ZilitPay')) ?: 'ZilitPay'; $gdkBrandName = str_ireplace('ZilitPay', 'ZilitPay', $gdkBrandName); ob_start(); @endphp @include('frontend.layouts.ZilitPay-premium.partials._head') @include('frontend.layouts.ZilitPay-premium.partials._topstrip') @include('frontend.layouts.ZilitPay-premium.partials._header')
@yield('content')
@if(setting('cookie_status')) @include('frontend.layouts.partials._cookies') @endif @include('frontend.layouts.ZilitPay-premium.partials._footer') @include('frontend.layouts.ZilitPay-premium.partials._script') @php $gdkDocument = ob_get_clean(); $gdkDocument = preg_replace_callback('~(<(?:script|style)\b[^>]*>.*?|<[^>]+>|[^<]+)~isu', function ($matches) use ($gdkBrandName) { if (str_starts_with($matches[1], '<')) { return $matches[1]; } return str_ireplace('ZilitPay', e($gdkBrandName), $matches[1]); }, $gdkDocument); echo $gdkDocument; @endphp