HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/SBogers10/tandartsmaas.komma.pro/app/views/layouts/pages/sitemap.blade.php
@extends('layouts.pages.default')

@section('image')
    <img src="/images/temp/temp_pand.jpg" alt="temp" class="fill" data-origin="center center"/>
@stop
@section('text')
    <h1>Sitemap</h1>

    @foreach($navigation->main() as $pageEntity)

        @if( ! $pageEntity->hasSubmenu())

            <li @if($pageEntity->isActive($currentPageEntity)) class="active" @endif >
                <a href="{{ $pageEntity->route }}" data-state="{{ $pageEntity->name }}">
                    {{ $pageEntity->label }}
                </a>
            </li>

        @elseif( $pageEntity->name == 'services')
            <li>
                <a href="{{ $pageEntity->route }}" data-state="{{ $pageEntity->name }}">
                    {{ $pageEntity->label }}
                </a>
                <ul>
                    @foreach($navigation->services() as $subEntity)

                        @if($subEntity->name != $pageEntity->name)

                            <li @if($subEntity->route == $currentPageEntity->route) class="active" @endif >
                                <a href="{{ $subEntity->route }}" data-state="{{ $subEntity->name }}">
                                    {{ $subEntity->label }}
                                </a>
                            </li>

                        @endif

                    @endforeach
                </ul>
            </li>

        @elseif( $pageEntity->name == 'practice')
            <li>
                <a href="{{ $pageEntity->route }}" data-state="{{ $pageEntity->name }}">
                    {{ $pageEntity->label }}
                </a>
                <ul>
                    @foreach($navigation->practice() as $subEntity)

                        @if($subEntity->name != $pageEntity->name)

                            <li @if($subEntity->route == $currentPageEntity->route) class="active" @endif >
                                <a href="{{ $subEntity->route }}" data-state="{{ $subEntity->name }}">
                                    {{ $subEntity->label }}
                                </a>
                            </li>

                        @endif

                    @endforeach
                </ul>
            </li>
        @endif

    @endforeach

@stop