<nav class="sidebar sidebar-offcanvas" id="sidebar">
        <ul class="nav">
          <li class="nav-item">
            <a class="nav-link" href="/dashboard">
              <i class="fa fa-home text-icones"></i>
              <span class="menu-title"> Dashboard</span>
            </a>
          </li>
          <li class="nav-item">
            <a class="nav-link" data-toggle="collapse" href="#streaming" aria-expanded="false" aria-controls="streaming">
              <i class="fa fa-headphones text-icones"></i>
              <span class="menu-title"> <?php echo $lang['lang_acao_label_streaming']; ?></span>
              <i class="menu-arrow"></i>
            </a>
            <div class="collapse" id="streaming">
              <ul class="nav flex-column sub-menu">
                <li class="nav-item"> <a class="nav-link" href="/dados-conexao"> <?php echo $lang['lang_acao_stm_dados_conexao']; ?></a></li>
                <li class="nav-item"> <a class="nav-link" href="javascript:kick_streaming('<?php echo $porta_code; ?>');"> <?php echo $lang['lang_acao_stm_kick']; ?></a></li>
                <li class="nav-item"> <a class="nav-link" href="javascript:ativar_desativar_protecao('<?php echo $porta_code; ?>');"> <?php echo $lang['lang_acao_stm_protecao']; ?></a></li>
                <li class="nav-item"> <a class="nav-link" href="/gerenciar-multipoint"> <?php echo $lang['lang_acao_stm_multipoint']; ?></a></li>
                <?php if($dados_stm["camera_studio"] == "sim") { ?>
                <li class="nav-item"> <a class="nav-link" href="/camera-studio"> Camera Studio</a></li>
                <?php } ?>
                <li class="nav-item"> <a class="nav-link" href="/logs-shoutcast"> <?php echo $lang['lang_acao_stm_logs_servidor']; ?></a></li>
                <li class="nav-item"> <a class="nav-link" href="/configuracoes-streaming"> <?php echo $lang['lang_acao_stm_config']; ?></a></li>
                <li class="nav-item"> <a class="nav-link" href="/configuracoes-relay"> <?php echo $lang['lang_acao_stm_config_relay']; ?></a></li>
              </ul>
            </div>
          </li>
          <?php if($dados_stm["autodj"] == "sim") { ?>
          <li class="nav-item">
            <a class="nav-link" data-toggle="collapse" href="#autodj" aria-expanded="false" aria-controls="autodj">
              <i class="fa fa-music text-icones"></i>
              <span class="menu-title"> <?php echo $lang['lang_acao_label_autodj']; ?></span>
              <i class="menu-arrow"></i>
            </a>
            <div class="collapse" id="autodj">
              <ul class="nav flex-column sub-menu">
                <li class="nav-item"> <a class="nav-link" href="javascript:recarregar_playlist('<?php echo $porta_code; ?>');"> <?php echo $lang['lang_acao_autodj_recarregar_playlist']; ?></a></li>
                <li class="nav-item"> <a class="nav-link" href="javascript:trocar_playlist('<?php echo $porta_code; ?>','carregar_playlists','0');"> <?php echo $lang['lang_acao_autodj_trocar_playlist']; ?></a></li>
                <li class="nav-item"> <a class="nav-link" href="javascript:pular_musica('<?php echo $porta_code; ?>');"> <?php echo $lang['lang_acao_autodj_pular_musica']; ?></a></li>
                <li class="nav-item"> <a class="nav-link" href="/gerenciar-musicas"> <?php echo $lang['lang_acao_autodj_gerenciar_musicas']; ?></a></li>
                <li class="nav-item"> <a class="nav-link" href="/playlists"> <?php echo $lang['lang_acao_autodj_gerenciar_playlists']; ?></a></li>
                <li class="nav-item"> <a class="nav-link" href="/gerenciar-acoes-autodj"> <?php echo $lang['lang_acao_autodj_gerenciar_acoes_autodj']; ?></a></li>
                <li class="nav-item"> <a class="nav-link" href="/gerenciar-djs"> <?php echo $lang['lang_acao_autodj_gerenciar_djs']; ?></a></li>
                <li class="nav-item"> <a class="nav-link" href="/gerenciar-agendamentos"> <?php echo $lang['lang_acao_autodj_gerenciar_agendamentos']; ?></a></li>
                <li class="nav-item"> <a class="nav-link" href="/gerenciar-agendamentos-relay"> <?php echo $lang['lang_acao_autodj_gerenciar_agendamentos_relay']; ?></a></li>
                <li class="nav-item"> <a class="nav-link" href="/gerenciar-playlists-hora-certa"> <?php echo $lang['lang_acao_autodj_gerenciar_hora_certa']; ?></a></li>
                <li class="nav-item"> <a class="nav-link" href="/gerenciar-playlists-vinhetas-comerciais"> <?php echo $lang['lang_acao_autodj_gerenciar_vinhetas_comerciais']; ?></a></li>
                <li class="nav-item"> <a class="nav-link" href="/utilitario-musicas-gratis"> M&uacute;sicas Gr&aacute;tis</a></li>
                <li class="nav-item"> <a class="nav-link" href="/gerenciar-lives"> Lives</a></li>
                <li class="nav-item"> <a class="nav-link" href="/configuracoes-autodj"> <?php echo $lang['lang_acao_autodj_config']; ?></a></li>
                <li class="nav-item"> <a class="nav-link" href="/download-programas-programetes"> Download P & P</a></li>
                <li class="nav-item"> <a class="nav-link" href="/logs-autodj"> <?php echo $lang['lang_acao_autodj_logs_servidor']; ?></a></li>
              </ul>
            </div>
          </li>
          <?php } ?>
          <?php if($dados_stm["site_adm"] == "sim") { ?>
          <li class="nav-item">
            <a class="nav-link" href="/site-administravel">
              <i class="fa fa-home text-icones"></i>
              <span class="menu-title"> Site Administr&aacute;vel</span>
            </a>
          </li>
          <?php } ?>
          <li class="nav-item">
            <a class="nav-link" href="/configuracoes-one-page">
              <i class="fa fa-home text-icones"></i>
              <span class="menu-title"> Site Administr&aacute;vel OnePage</span>
            </a>
          </li>
          <li class="nav-item">
            <a class="nav-link" data-toggle="collapse" href="#players" aria-expanded="false" aria-controls="players">
              <i class="fa fa-play-circle-o text-icones"></i>
              <span class="menu-title"> <?php echo $lang['lang_acao_stm_players']; ?></span>
              <i class="menu-arrow"></i>
            </a>
            <div class="collapse" id="players">
              <ul class="nav flex-column sub-menu">
                <li class="nav-item"> <a class="nav-link" href="/gerenciar-player-html5-simples"> <?php echo $lang['lang_info_players_player_html5_simples']; ?></a></li>
                <li class="nav-item"> <a class="nav-link" href="/gerenciar-player-topo"> Player Topo Modelo 1</a></li>
                <li class="nav-item"> <a class="nav-link" href="/gerenciar-player-topo-html5"> Player Topo Modelo 2</a></li>
                <li class="nav-item"> <a class="nav-link" href="/gerenciar-player-topo-html5-2"> Player Topo Modelo 3</a></li>
                <li class="nav-item"> <a class="nav-link" href="/gerenciar-player-muses"> <?php echo $lang['lang_info_players_player_muses']; ?></a></li>
                <li class="nav-item"> <a class="nav-link" href="/gerenciar-player-computador"> <?php echo $lang['lang_info_players_player_computador']; ?></a></li>
                <li class="nav-item"> <a class="nav-link" href="/gerenciar-player-celulares"> <?php echo $lang['lang_info_players_player_celulares']; ?></a></li>
                <li class="nav-item"> <a class="nav-link" href="/gerenciar-player-popup"> <?php echo $lang['lang_info_players_player_popup']; ?></a></li>
                <li class="nav-item"> <a class="nav-link" href="/gerenciar-player-popup-responsivo"> <?php echo $lang['lang_info_players_player_popup_responsivo']; ?></a></li>
                <li class="nav-item"> <a class="nav-link" href="/gerenciar-player-web"> Player Web Full</a></li>
                <li class="nav-item"> <a class="nav-link" href="/gerenciar-player-flutuante"> Player Flutuante</a></li>
                <li class="nav-item"> <a class="nav-link" href="/gerenciar-player-moderno"> Player Moderno</a></li>
                <li class="nav-item"> <a class="nav-link" href="/gerenciar-player-vertical-responsivo"> Vertical Responsive</a></li> 
                <!-- <li class="nav-item"> <a class="nav-link" href="/gerenciar-player-premium"> Premium</a></li> -->
                <li class="nav-item"> <a class="nav-link" href="/gerenciar-player-sonic"> Player Sonic <span class="badge badge-danger pull-right"><?php echo $lang['lang_label_novo']; ?></span></a></li>
                <!-- <li class="nav-item"> <a class="nav-link" href="/app-android"> <?php echo $lang['lang_info_players_player_app_android']; ?></a></li> -->
                <li class="nav-item"> <a class="nav-link" href="/app-android-web"> <?php echo $lang['lang_info_players_player_app_android']; ?> Web</a></li>
                <li class="nav-item"> <a class="nav-link" href="/app-windows"> App Windows</a></li>
                <li class="nav-item"> <a class="nav-link text-danger" href="/app-multi-plataforma"> App Multi Plataforma</a></li>
                <li class="nav-item"> <a class="nav-link" href="/gerenciar-player-box-vertical"> Player Box Vertical <span class="badge badge-danger pull-right"><?php echo $lang['lang_label_novo']; ?></span></a></li>
                <li class="nav-item"> <a class="nav-link" href="/gerenciar-player-box-horizontal"> Player Box Horizontal <span class="badge badge-danger pull-right"><?php echo $lang['lang_label_novo']; ?></span></a></li>
                <li class="nav-item"> <a class="nav-link" href="/gerenciar-player-home-page"> Player Home Page <span class="badge badge-danger pull-right"><?php echo $lang['lang_label_novo']; ?></span></a></li>
              </ul>
            </div>
          </li>

          <li class="nav-item">
            <a class="nav-link" data-toggle="collapse" href="#ouvintes" aria-expanded="false" aria-controls="ouvintes">
              <i class="fa fa-users text-icones"></i>
              <span class="menu-title"> <?php echo $lang['lang_acao_label_ouvintes']; ?></span>
              <i class="menu-arrow"></i>
            </a>
            <div class="collapse" id="ouvintes">
              <ul class="nav flex-column sub-menu">
                <li class="nav-item"> <a class="nav-link" href="/ouvintes-conectados"> <?php echo $lang['lang_acao_ouvintes_ouvintes_conectados']; ?></a></li>
                <li class="nav-item"> <a class="nav-link" href="/estatisticas"> <?php echo $lang['lang_acao_ouvintes_stats']; ?></a></li>
                <li class="nav-item"> <a class="nav-link" href="/chat"> <?php echo $lang['lang_acao_ouvintes_chat']; ?></a></li>
                <li class="nav-item"> <a class="nav-link" href="/pedidos"> <?php echo $lang['lang_acao_ouvintes_pedidos_musicais']; ?></a></li>
              </ul>
            </div>
          </li>
          <?php if($dados_stm["autodj"] == "sim") { ?>
          <li class="nav-item">
            <a class="nav-link" data-toggle="collapse" href="#utilitarios" aria-expanded="false" aria-controls="utilitarios">
              <i class="fa fa-cogs text-icones"></i>
              <span class="menu-title"> <?php echo $lang['lang_acao_label_utilitarios']; ?></span>
              <i class="menu-arrow"></i>
            </a>
            <div class="collapse" id="utilitarios">
              <ul class="nav flex-column sub-menu">
                <li class="nav-item"> <a class="nav-link" href="/utilitario-youtube"> <?php echo $lang['lang_acao_utilitarios_download_youtube']; ?></a></li>
                <li class="nav-item"> <a class="nav-link" href="/utilitario-download-mp3"> <?php echo $lang['lang_acao_utilitarios_download_mp3']; ?></a></li>
                <li class="nav-item"> <a class="nav-link" href="/utilitario-download-soundcloud"> <?php echo $lang['lang_acao_utilitarios_download_soundcloud']; ?></a></li>
                <li class="nav-item"> <a class="nav-link" href="/utilitario-gravador"> <?php echo $lang['lang_acao_utilitarios_gravador']; ?></a></li>
                <li class="nav-item"> <a class="nav-link" href="/utilitario-migrar-musicas"> <?php echo $lang['lang_acao_utilitarios_migrar_musicas']; ?></a></li>
                <li class="nav-item"> <a class="nav-link" href="/utilitario-renomear-musicas"> <?php echo $lang['lang_acao_utilitarios_renomear_musicas']; ?></a></li>
                <li class="nav-item"> <a class="nav-link" href="/utilitario-ferramentas-mp3"> Ferramentas MP3</a></li>
                <li class="nav-item"> <a class="nav-link" href="/utilitario-download-suamusica"> Download Cds Completos <span class="badge badge-danger pull-right"><?php echo $lang['lang_label_novo']; ?></span></a></li>
                <li class="nav-item"> <a class="nav-link" href="/utilitario-spotify"> Download Spotify <span class="badge badge-danger pull-right"><?php echo $lang['lang_label_novo']; ?></span></a></li>
              </ul>
            </div>
          </li>
          <?php } ?>
          <?php if($dados_stm["aacplus"] == "sim" || $dados_stm["autodj"] == "sim") { ?>
          <li class="nav-item">
            <a class="nav-link" data-toggle="collapse" href="#solucao_problemas" aria-expanded="false" aria-controls="solucao_problemas">
              <i class="fa fa-support text-icones"></i>
              <span class="menu-title"> <?php echo $lang['lang_acao_label_solucao_problemas']; ?></span>
              <i class="menu-arrow"></i>
            </a>
            <div class="collapse" id="solucao_problemas">
              <ul class="nav flex-column sub-menu">
                <?php if($dados_stm["aacplus"] == "sim") { ?>
                <li class="nav-item"> <a class="nav-link" href="javascript:sincronizar_aacplus('<?php echo $porta_code; ?>');"> <?php echo $lang['lang_acao_solucao_problemas_sincronizar_aacplus']; ?></a></li>
                <?php } ?>
                <?php if($dados_stm["autodj"] == "sim") { ?>
                <li class="nav-item"> <a class="nav-link" href="javascript:diagnosticar_autodj('<?php echo $porta_code; ?>');"> <?php echo $lang['lang_acao_solucao_problemas_diagnosticar_autodj']; ?></a></li>
                <?php } ?>
              </ul>
            </div>
          </li>
          <?php } ?>

          <li class="nav-item">
            <a class="nav-link" data-toggle="collapse" href="#painel" aria-expanded="false" aria-controls="painel">
              <i class="fa fa-cog text-icones"></i>
              <span class="menu-title"> <?php echo $lang['lang_acao_label_painel']; ?></span>
              <i class="menu-arrow"></i>
            </a>
            <div class="collapse" id="painel">
              <ul class="nav flex-column sub-menu">
                <li class="nav-item"> <a class="nav-link" href="javascript:ligar_streaming('<?php echo $porta_code; ?>');"> <?php echo $lang['lang_botao_titulo_ligar']; ?> Streaming</a></li>
                <li class="nav-item"> <a class="nav-link" href="/streaming-api"> <?php echo $lang['lang_acao_painel_api']; ?></a></li>
                <?php if($dados_revenda["stm_exibir_tutoriais"] == 'sim' || $dados_stm["codigo_cliente"] == '0') { ?>
                <li class="nav-item"> <a class="nav-link" href="/ajuda"> <?php echo $lang['lang_acao_painel_ajuda']; ?></a></li>
                <?php } ?>
                <?php if($dados_revenda["stm_exibir_tutoriais"] == 'url') { ?>
                <li class="nav-item"> <a class="nav-link" href="window.open('<?php echo $dados_revenda["url_tutoriais"]; ?>');"> <?php echo $lang['lang_acao_painel_ajuda']; ?></a></li>
                <?php } ?>
                <?php if($dados_revenda["stm_exibir_downloads"] == 'sim' || $dados_stm["codigo_cliente"] == '0') { ?>
                <li class="nav-item"> <a class="nav-link" href="/downloads"> <?php echo $lang['lang_acao_painel_downloads']; ?></a></li>
                <?php } ?>
                <li class="nav-item"> <a class="nav-link" href="/logs-painel"> <?php echo $lang['lang_acao_painel_logs']; ?></a></li>
              </ul>
            </div>
          </li>

        </ul>
      </nav>