<!-- START LEFT SIDEBAR NAV-->
<aside id="left-sidebar-nav">
    <ul id="slide-out" class="side-nav fixed leftside-navigation">
    <li class="user-details cyan darken-2">
    <div class="row">
        <div class="col col s4 m4 l4">
            <img src="public/admin/images/avatar.jpg" alt="" class="circle responsive-img valign profile-image">
        </div>
        <div class="col col s8 m8 l8">
            <a class="btn-flat waves-effect waves-light white-text profile-btn" href="#"><?= (!is_null($setting) && !empty($setting->getTitle())) ? $setting->getTitle() : 'Template' ?></a>
            <p class="user-roal">Administrator</p>
        </div>
    </div>
    </li>
    <li class="bold">
        <a href="dashboard" class="waves-effect waves-cyan">
            <i class="mdi-action-dashboard"></i> Painel
        </a>
    </li>
    <li class="no-padding">
        <ul class="collapsible collapsible-accordion">
            <li class="bold">
            <a class="collapsible-header waves-effect waves-cyan">
                <i class="mdi-image-palette"></i> Aparência
            </a>
                <div class="collapsible-body">
                    <ul>
                        <li>
                            <a href="brand">Logo</a>
                        </li>
                        <li>
                            <a href="color">Cores</a>
                        </li>
                    </ul>
                </div>
            </li>
        </ul>
    </li>
    <li class="no-padding">
        <ul class="collapsible collapsible-accordion">
            <li class="bold">
            <a class="collapsible-header waves-effect waves-cyan">
                <i class="mdi-action-language"></i> Layout
            </a>
                <div class="collapsible-body">
                    <ul>
                        <li>
                            <a href="layout/banner">Chamada Principal</a>
                        </li>
                        <li>
                            <a href="layout/company">Quem somos</a>
                        </li>
                    </ul>
                </div>
            </li>
        </ul>
    </li>
    <li class="bold">
        <a href="simulator" class="waves-effect waves-cyan">
            <i class="mdi-action-list"></i> Configurar Simulador
        </a>
    </li>
    <li class="no-padding">
        <ul class="collapsible collapsible-accordion">
            <li class="bold">
            <a class="collapsible-header waves-effect waves-cyan">
                <i class="mdi-action-store"></i> Serviços
            </a>
                <div class="collapsible-body">
                    <ul>
                        <li>
                            <a href="service/create">Criar um novo Serviço</a>
                        </li>
                        <li>
                            <a href="service/search">Todos os Serviços</a>
                        </li>
                    </ul>
                </div>
            </li>
        </ul>
    </li>
    <li class="no-padding">
        <ul class="collapsible collapsible-accordion">
            <li class="bold">
            <a class="collapsible-header waves-effect waves-cyan">
                <i class="mdi-maps-local-cafe"></i> Depoimentos
            </a>
                <div class="collapsible-body">
                    <ul>
                        <li>
                            <a href="testimony/create">Criar</a>
                        </li>
                        <li>
                            <a href="testimony/search">Listar</a>
                        </li>
                    </ul>
                </div>
            </li>
        </ul>
    </li>
    <li class="no-padding">
        <ul class="collapsible collapsible-accordion">
            <li class="bold">
            <a class="collapsible-header waves-effect waves-cyan">
                <i class="mdi-action-help"></i> Perguntas Frequentes
            </a>
                <div class="collapsible-body">
                    <ul>
                        <li>
                            <a href="questions/create">Criar Pergunta</a>
                        </li>
                        <li>
                            <a href="questions/search">Listar Perguntas</a>
                        </li>
                    </ul>
                </div>
            </li>
        </ul>
    </li>
    <li class="bold">
        <a href="galery" class="waves-effect waves-cyan">
            <i class="mdi-action-perm-media"></i> Galeria de Fotos
        </a>
    </li>
    <li class="no-padding menu-lead">
        <ul class="collapsible collapsible-accordion">
            <li class="bold">
            <a class="collapsible-header waves-effect waves-cyan">
                <i class="mdi-action-assignment"></i> Gestão de Leads
            </a>
                <div class="collapsible-body">
                    <ul>
                        <li>
                            <a href="leads">Leads E-mail</a>
                        </li>
                        <?php if(!isset($setting) or
                        (isset($setting) and  !is_null($setting->getLead()) and $setting->getLead() == 1)): ?>
                            <li>
                                <a href="whatsapps">Leads WhatsApp</a>
                            </li>
                            <li>
                                <a href="status">Gestão de Status</a>
                            </li>
                            <li>
                                <a href="qualidade">Gestão de Qualidade</a>
                            </li>
                        <?php endif; ?>
                    </ul>
                </div>
            </li>
        </ul>
    </li>
    <li class="no-padding">
        <ul class="collapsible collapsible-accordion">
            <li class="bold">
            <a class="collapsible-header waves-effect waves-cyan">
                <i class="mdi-action-settings"></i> Configurações
            </a>
                <div class="collapsible-body">
                    <ul>
                        <li>
                            <a href="setting">Gerais</a>
                        </li>
                        <li>
                            <a href="social">Redes Sociais</a>
                        </li>
                        <li>
                            <a href="google">Tags Analitycs</a>
                        </li>
                    </ul>
                </div>
            </li>
        </ul>
    </li>
    <li class="bold">
        <a href="dashboard/logout" class="waves-effect waves-cyan">
            <i class="mdi-hardware-keyboard-tab"></i> Sair
        </a>
    </li>
    <a href="#" data-activates="slide-out" class="sidebar-collapse btn-floating btn-medium waves-effect waves-light hide-on-large-only cyan"><i class="mdi-navigation-menu"></i></a>
</aside>
<!-- END LEFT SIDEBAR NAV-->