<nav class="sidebar sidebar-offcanvas" id="sidebar">
  <ul class="nav">
    <li class="nav-item">
      <a class="nav-link" href="/admin/revenda">
        <i class="fa fa-home text-icones"></i>
        <span class="menu-title">Dashboard</span>
      </a>
    </li>
    <li class="nav-item">
      <a class="nav-link" href="/admin/revenda-streamings">
        <i class="fa fa-headphones text-icones"></i>
        <span class="menu-title">
          <?php echo lang_menu_streaming; ?>
        </span>
      </a>
    </li>
    <?php if($dados_revenda["subrevendas"] > 0 && ($dados_revenda["tipo"] == 1 || $dados_revenda["tipo"] == 2)) { ?>
    <li class="nav-item">
      <a class="nav-link" href="/admin/revenda-subrevendas">
        <i class="fa fa-users text-icones"></i>
        <span class="menu-title">
          <?php echo lang_menu_subrevenda; ?>
        </span>
      </a>
    </li>
    <?php } ?>
    <li class="nav-item">
      <a class="nav-link" href="/admin/revenda-busca-avancada">
        <i class="fa fa-search text-icones"></i>
        <span class="menu-title">
          <?php echo lang_menu_busca_avancada; ?>
        </span>
      </a>
    </li>
    <li class="nav-item">
      <a class="nav-link" href="/admin/revenda-dominio-ssl">
        <i class="fa fa-shield text-icones"></i>
        <span class="menu-title">
          SSL
        </span>
      </a>
    </li>
    <li class="nav-item">
      <a class="nav-link" data-toggle="collapse" href="#integracao" aria-expanded="false" aria-controls="integracao">
        <i class="fa fa-tasks text-icones"></i>
        <span class="menu-title">
          <?php echo lang_menu_integracao; ?>
        </span>
        <i class="menu-arrow"></i>
      </a>
      <div class="collapse" id="integracao">
        <ul class="nav flex-column sub-menu">
          <li class="nav-item">
            <a class="nav-link" href="/admin/revenda-api">
              <?php echo lang_menu_integracao_api; ?>
            </a>
          </li>
          <li class="nav-item">
            <a class="nav-link" href="/admin/revenda-modulo-whmcs">
              <?php echo lang_menu_integracao_modulo_whmcs; ?>
            </a>
          </li>
        </ul>
      </div>
    </li>
    <li class="nav-item">
      <a class="nav-link" href="/admin/revenda-configuracoes">
        <i class="fa fa-cog text-icones"></i>
        <span class="menu-title">
          <?php echo lang_menu_configuracoes; ?>
        </span>
      </a>
    </li>
  </ul>
</nav>