@php $bannerImage = !empty($banner?->szBannerImage) ? asset('uploads/innerBanner/' . $banner->szBannerImage) : asset('uploads/innerBanner/3.jpg'); $mainClass = !empty($banner?->szBannerImage) ? 'link-page' : 'common-page'; $rcId = request('rc'); $rcName = ''; if (!empty($menu) && $rcId) { foreach ($menu as $item) { if ($item->id == $rcId) { $rcName = $item->szName; break; } } } @endphp
Banner

{{ $rcName }} Publication

    @php $hasData = false; @endphp @if (!empty($arPublications)) @foreach ($arPublications as $publication) @if ($publication->idParent == request('rc')) @php $hasData = true; @endphp
  • {{ $publication->szTitle }}

    {!! $publication->szPageContent !!}
  • @endif @endforeach @endif @if (!$hasData)

    Data will be updated soon.

    @endif
@push('scripts') @endpush