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/SBogers68/ouddorp-duin.nl/app/storage/views/491de98773b8c654b6f7275cd583e496
<div class="grid-row <?php if($page->code_name != 'home'): ?>flyer-block-default <?php else: ?> flyer-block <?php endif; ?>">
    <div class="grid-col col-12">

    <?php /*If sentence and buttons values are specified in the code*/ ?>
    <?php if(isset($sentence, $button, $layout, $buttonLink)): ?>

        <?php if($layout == 'home'): ?>

            <?php /* custom cta block for homepage */ ?>
            <div class="flyer-content-wrapper flyer-home">
                <h2 class="flyer-sentence"><?php echo $sentence; ?></h2>
                <a href="<?php echo $buttonLink; ?>" class="flyer-button"><?php echo $button; ?></a>
            </div>

        <?php elseif($layout == 'default'): ?>

            <?php /* default block for cta */ ?>
            <div class="flyer-content-wrapper flyer-default">
                <h2 class="flyer-sentence"><?php echo $sentence; ?></h2>
                <a href="<?php echo $buttonLink; ?>" class="flyer-button" <?php if(isset($blank) && $blank): ?> target="_blank" <?php endif; ?>><?php echo $button; ?></a>
            </div>

        <?php endif; ?>

    <?php /*The sentence and buttons are specified in KMS (dynamic content)*/ ?>
    <?php else: ?>
            <div class="flyer-content-wrapper flyer-default">
                <h2 class="flyer-sentence"><?php echo $block->sentence; ?></h2>
                <a href="/uploads/files/uitwaaier.pdf" class="flyer-button"><?php echo $block->button; ?></a>
            </div>
    <?php endif; ?>

    </div>
</div>