<!-- Following Menu -->
<div class="ui large top fixed hidden menu">
    <div class="ui container">
<?php
        foreach ($mainMenu as $item) {
            $active = $currentPage==$item? 'active ': '';
            echo '        '.pageLink($item)."\r\n";
        }
?>
    </div>
</div>

<!-- Sidebar Menu -->
<div class="ui vertical inverted sidebar menu">
<?php
    foreach ($mainMenu as $item) {
        $active = $currentPage==$item? 'active ': '';
        echo '    '.pageLink($item)."\r\n";
    }
?>
    <?= pageLink($pages['cgu']) ?>
    <?= pageLink($pages['cgv']) ?>
    <?= pageLink($pages['mentions']) ?>
    <a href="https://stats.uptimerobot.com/l02mKT1oE7" class="item" target="_blank" title="Lien externe vers uptimerobot" rel="noopener noreferrer nofollow">État des services</a>
</div>
