<nav class="menu menu-fixed">
    
    <?php if($menu->getLogoEmpresa()): ?>
    
    <img src="/sistema/statics/admin/<?=$menu->getLogoEmpresa()?>" class="logo-empresa" />
    
    <?php endif; ?>

    <ul>
        <li><a href="/sistema"><i class="fa fa-arrow-circle-right"></i><span>Início</span></a></li>

        <?php
            echo $menu->getMenu();
            if($menu->isAdmin()) {
        ?>
        <li>
            <a href="#" class="has-sub">
                <i class="fa fa-arrow-circle-right"></i>
                <span>Configurações do Site</span>
            </a>
            <ul class="sub">
                <?php foreach ($menu->getMenuConfigs() as $config){ ?>
                <li><a href="/sistema<?php echo $config['link']; ?>"><?php echo $config['name']; ?></a></li>
                <?php } ?>
                <li><a href="/sistema/base/logo">Logo da Empresa</a></li>
                <li><a href="/sistema/base/database">Banco de Dados</a></li>
            </ul>
        </li>
        <?php
            }
        ?>
    </ul>
</nav>
<div class="spacer">
    <div class="content">