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/SBogers84/zuiderbos.nl/app/storage/views/27b30cc22382708a9fb1094a724bd83b
<?php $__env->startSection('editable_content'); ?>

    <div class="image-wrapper">
        <?php echo $__env->make('layouts.partials.navigation', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>

        <div class="content-placeholder">

            <?php /* Make extra block for the creative backgrounds in this design :p */ ?>
            <div class="background"></div>
            <div class="grey-block"></div>

            <div class="grid-row">
                <span class="right-icon styling"></span>


                <?php /* Impression block */ ?>
                <div class="page-impression grid-col">

                    <?php if(isset($page->school) && isset($links->{$page->school->type.'-faq'})): ?>
                        <a class="faq-block link-block" href="/<?php echo $links->{$page->school->type.'-faq'}->route; ?>">
                            <div class="placeholder">
                                <p><?php echo KommaLang::get('searchFaq'); ?></p>
                                <span><?php echo KommaLang::get('readMore'); ?></span>
                            </div>
                        </a>
                    <?php endif; ?>

                    <a class="sitemap-block link-block" href="/<?php echo $links->{$page->school->type}->route; ?>/sitemap">
                        <div class="placeholder">
                            <p><?php echo KommaLang::get('searchSitemap'); ?></p>
                            <span><?php echo KommaLang::get('searchSitemapCta'); ?></span>
                        </div>
                    </a>

                    <span class="left-icon styling"></span>

                </div>

                <?php /* Main content block */ ?>
                <div class="grid-col main">

                    <?php /* Loaded content */ ?>
                    <div class="content">
                        <h1><?php echo KommaLang::get('searchResults'); ?></h1>

                        <?php echo Form::open(['url' => '/'.$page->root->translation->route->route.'/zoekresultaten', 'id' => 'inline-search-form', 'method' => 'get']); ?>

                        <?php echo Form::text('q', \Input::get('q', null), ['id' => 'search', 'placeholder' => KommaLang::get('searchPlaceholder')]); ?>

                        <?php echo Form::submit(); ?>

                        <div class="submit-button">
                            <?php echo KommaLang::get('search'); ?>

                        </div>
                        <?php echo Form::close(); ?>


                        <?php if(isset($results->amount) && $results->amount >= 1): ?>
                            <p>
                                <span class="amount"><?php echo $results->amount; ?></span> <?php echo Lang::choice('translations.resultsFor', $results->amount); ?>

                                "<span><?php echo $results->query; ?></span>"
                            </p>
                        <?php elseif(isset($results->query)): ?>
                            <p>Geen resultaten gevonden op "<span><?php echo $results->query; ?></span>"
                                <?php if($page->school->type !== 'foundation'): ?>
                                <br>Heeft u ook al gekeken op onze
                                <strong><a href="/de-stichting">stichting pagina?</a></strong></p>
                                <?php endif; ?>
                        <?php endif; ?>

                        <?php if(isset($results->amount) && $results->amount >= 1): ?>

                            <?php if($results->results->faq->count() != 0): ?>
                                <section class="faq-search search-results">
                                    <h2><?php echo $links->{$page->school->type.'-faq'}->name; ?></h2>

                                    <ul>
                                        <?php foreach($results->results->faq as $key => $faq): ?>
                                            <li>
                                                <a href="/<?php echo $links->{$page->school->type.'-faq'}->route; ?>?faq=<?php echo $faq->faq_id; ?>">
                                                    <?php echo $faq->name; ?>

                                                </a>
                                            </li>
                                        <?php endforeach; ?>
                                    </ul>
                                </section>
                            <?php endif; ?>

                            <?php if($results->results->documents->count() != 0): ?>
                                <section class="document-search search-results">
                                    <h2><?php echo \Illuminate\Support\Facades\Lang::get('translations.documents'); ?></h2>

                                    <ul>
                                        <?php foreach($results->results->documents as $key => $document): ?>
                                            <li>
                                                <a target="_blank" href="<?php echo $document->file->path; ?>">
                                                    <?php echo $document->name; ?> <span>(PDF)</span>
                                                </a>
                                            </li>
                                        <?php endforeach; ?>
                                    </ul>
                                </section>
                            <?php endif; ?>

                            <?php if($results->results->pages->count() != 0): ?>
                                <section class="page-search search-results">
                                    <h2><?php echo KommaLang::get('pages'); ?></h2>

                                    <ul>
                                        <?php foreach($results->results->pages as $key => $searchPage): ?>
                                            <li>
                                                <a href="/<?php echo $searchPage->translation->route->route; ?>">
                                                    <?php echo $searchPage->translation->name; ?>

                                                </a>
                                            </li>
                                        <?php endforeach; ?>
                                    </ul>
                                </section>
                            <?php endif; ?>
                        <?php endif; ?>

                        <div class="cantFindSitemap">
                            <h4><?php echo KommaLang::get('cantFindSitemap'); ?></h4>
                            <p><?php echo KommaLang::get('cantFindSitemapText'); ?></p>

                            <a class="button" href="/<?php echo $links->{$page->school->type}->route; ?>/sitemap">
                                <?php echo KommaLang::get('cantFindSitemapButton'); ?>

                            </a>
                        </div>

                    </div>

                </div>
            </div>
        </div>

    </div>

<?php $__env->stopSection(); ?>

<?php $__env->startSection('extra-js'); ?>
    <script>
        $(function () {

            resizeMyPage();

            $(window).resize(
                $.throttle(100, resizeMyPage)
            );

            $('#inline-search-form .submit-button').click(function () {
                $('#inline-search-form').submit();
            });

        });

        function resizeMyPage() {
            // Main content must be at least 200px higher then the impression block
            $('.content-placeholder .main').css('min-height', $('.page .page-impression').height() + 200);

            // Resizing for the grey block on (default)pages
            var greyHeight = $('.content-placeholder .main').height() - $('.page .page-impression').height() + 60;
            var greyWidth = ($('.content-placeholder').width() - $('.page .content-placeholder>.grid-row').width()) / 2 + $('.page .page-impression').width();
            $('.grey-block').height(greyHeight).width(greyWidth);
        }
    </script>

<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.master', ['view' => 'search page'], array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>