<nav id="horizontal-nav" class="white" style="display:block;">
    <div class="nav-wrapper row">
        <ul id="ul-horizontal-nav" class="left white" style="box-shadow: 0 16px 16px 0 rgba(0, 0, 0, 0.04), 0 1px 5px 0 rgba(0, 0, 0, 0.02), 0 3px 1px -2px rgba(0, 0, 0, 0.02);">
            <!-- <li class='<?php echo $_SERVER["PATH_INFO"] == '/homeAdmin' ? 'active' : ''; ?>'>
                <a class="dropdown-menu " href="<?=MODULOS;?>homeAdmin">
                    <i class="material-icons">dashboard</i>allowTelevox
                    <span>{{traducirFrase("Tablero")}}</span>
                </a>
            </li>
            <li class='<?php echo $_SERVER["PATH_INFO"] == '/reporteTiempoReal' ? 'active' : ''; ?>'>
                <a class="dropdown-menu " href="<?=MODULOS;?>reporteTiempoReal" >
                    <i class="material-icons">timer</i>
                    <span>{{traducirFrase("Reporte en tiempo real")}}
                    </span>
                </a>
            </li> -->
            <li class='<?php echo $_SERVER["PATH_INFO"] == '/homeAdmin' || $_SERVER["PATH_INFO"] == '/reporteTiempoReal' ? 'active' : ''; ?>'>
                <a class="dropdown-menu dropdown-trigger " href="#!" data-target="Tableros">
                    <i class="material-icons">grid_on</i>
                    <span>{{traducirFrase("Tableros")}}
                    </span>
                </a>
            </li>
            <!-- <li class='<?php echo $_SERVER["PATH_INFO"] == '/reporteEntrantes' ? 'active' : ''; ?>'>
                <a class="dropdown-menu  " href="<?=MODULOS;?>reporteEntrantes" >
                    <i class="material-icons">call</i>
                    <span>{{traducirFrase("Reporte de entrantes")}}
                    </span>
                </a>
            </li>
            <li class='<?php echo $_SERVER["PATH_INFO"] == '/reporteSalientes' ? 'active' : ''; ?>'>
                <a class="dropdown-menu" href="<?=MODULOS;?>reporteSalientes">
                    <i class="material-icons">call_end</i>
                    <span>{{traducirFrase("Reporte de salientes")}}
                    </span>
                </a>
            </li> -->
            <li class='<?php echo $_SERVER["PATH_INFO"] == '/reporteCambiosAdmin' || $_SERVER["PATH_INFO"] == '/reporteListaFecha' || $_SERVER["PATH_INFO"] == '/reporteHora' || $_SERVER["PATH_INFO"] == '/reporteHorarioAgente' || $_SERVER["PATH_INFO"] == '/usuarios/otro' || $_SERVER["PATH_INFO"] == '/reporteSalientes' || $_SERVER["PATH_INFO"] == '/reporteEntrantes' ? 'active' : ''; ?>'>
                <a class="dropdown-menu dropdown-trigger " href="#!" data-target="ReportesDropdown">
                    <i class="material-icons">receipt</i>
                    <span>{{traducirFrase("Reportes")}}
                    </span>
                </a>
            </li>
            <li class='<?php echo $_SERVER["PATH_INFO"] == '/usuarios' || $_SERVER["PATH_INFO"] == '/campanas' || $_SERVER["PATH_INFO"] == '/categorias' || $_SERVER["PATH_INFO"] == '/grupoAgentes' || $_SERVER["PATH_INFO"] == '/listas' ? 'active' : ''; ?>'>
                <a class="dropdown-menu dropdown-trigger" href="#!" data-target="RegistrosDropdown">
                    <i class="material-icons">settings</i>
                    <span>{{traducirFrase("Administracion")}}
                    </span>
                </a>
            </li>
            <!-- <li class='<?php echo $_SERVER["PATH_INFO"] == '/usuarios' ? 'active' : ''; ?>'>
                <a class="dropdown-menu" href="<?=MODULOS;?>usuarios">
                    <i class="material-icons">person</i>
                    <span>{{traducirFrase("Usuarios")}}
                    </span>
                </a>
            </li>
            <li class='<?php echo $_SERVER["PATH_INFO"] == '/campanas' ? 'active' : ''; ?>'>
                <a class="dropdown-menu " href="<?=MODULOS;?>campanas">
                    <i class="material-icons">storage</i>
                    <span>{{traducirFrase("Campañas")}}
                    </span>
                </a>
            </li>
            <li class='<?php echo $_SERVER["PATH_INFO"] == '/GrupoDeEntrada' ? 'active' : ''; ?>'>
                <a class="dropdown-menu " href="<?=MODULOS;?>GrupoDeEntrada">
                    <i class="material-icons">phone</i>
                    <i class="material-icons" style="font-size: 0.8em;transform: translate(5%, -.5em);">call_received</i>
                    <span>Grupos de entrada</span>
                </a>
            </li>
            <li class='<?php echo $_SERVER["PATH_INFO"] == '/Contextos' ? 'active' : ''; ?>'>
                <a class="dropdown-menu " href="<?=MODULOS;?>Contextos">
                    <i class="material-icons">dvr</i>
                    <span>Contextos</span>
                </a>
            </li>
            <li class='<?php echo $_SERVER["PATH_INFO"] == '/Telefono' ? 'active' : ''; ?>'>
                <a class="dropdown-menu " href="<?=MODULOS;?>Telefono">
                    <i class="material-icons">contact_phone</i>
                    <span>Extensiones</span>
                </a>
            </li> -->
            <!-- <li class='<?php echo $_SERVER["PATH_INFO"] == '/listas' ? 'active' : ''; ?>'>
                <a class="dropdown-menu " href="<?=MODULOS;?>listas" >
                    <i class="material-icons">list</i>
                    <span>{{traducirFrase("Listas")}}
                    </span>
                </a>
            </li> -->
            <!-- <li class=''>
                <a class="dropdown-menu dropdown-trigger" href="#"  data-target="categoriasDropdown">
                    <i class="material-icons">blur_linear</i>
                    <span>{{traducirFrase("Categorias")}}
                    </span>
                </a>
            </li> -->
            <?php if ($_SESSION["Cliente"] == -1 || $_SESSION["allowACD"] == 1) {?>
                <li class='<?php echo strpos($_SERVER["PATH_INFO"], "IVR") || $_SERVER["PATH_INFO"] == '/GrupoDeEntrada' || $_SERVER["PATH_INFO"] == '/Contextos' || $_SERVER["PATH_INFO"] == '/Telefono' ? 'active' : ''; ?>'>
                    <a class="dropdown-menu dropdown-trigger" href="#" data-target="IVRDropdown">
                        <i class="material-icons">settings_phone</i>
                        <span>ACD
                        </span>
                    </a>
                </li>
            <?php }?>
            <li class='<?php echo $_SERVER["PATH_INFO"] == '/listasNegras' || $_SERVER["PATH_INFO"] == '/numerosGlobales' ? 'active' : ''; ?>'>
                <a class="dropdown-menu dropdown-trigger" href="#" data-target="listasNegrasDropdown">
                    <i class="material-icons">subject</i>
                    <span>{{traducirFrase("Listas Negras")}}
                    </span>
                </a>
            </li>
            <li class='<?php echo $_SERVER["PATH_INFO"] == '/CustomerRM' ? 'active' : ''; ?>'>
                <a href="<?=MODULOS;?>CustomerRM">
                    <i class="material-icons">add</i>
                    <span>CRM
                    </span>
                </a>
            </li>
            <?php if ($_SESSION["Cliente"] == -1 || $_SESSION["allowTelevox"] == 1) {?>
                <li class='<?php echo $_SERVER["PATH_INFO"] == '/televox' ? 'active' : ''; ?>'>
                    <a href="<?=MODULOS;?>televox">
                        <i class="material-icons">important_devices</i>
                        <span>{{traducirFrase("Grabaciones")}}
                        </span>
                    </a>
                </li>
            <?php }?>
            <?php if ($_SESSION["Cliente"] == -1 || $_SESSION["allow_chat"] == 1) {?>
                <li class='<?php echo $_SERVER["PATH_INFO"] == '/Chat' ? 'active' : ''; ?>'>
                    <a href="<?=MODULOS;?>Chat">
                        <i class="material-icons">message</i>
                        <span>{{traducirFrase("Chat")}}
                        </span>
                    </a>
                </li>
            <?php }?>
            <?php if ($_SESSION["Cliente"] == -1) {?>
                <li>
                    <a class="dropdown-menu " href="<?=MODULOS;?>clientes">
                        <i class="material-icons">account_circle</i>
                        <span>{{traducirFrase("Clientes")}}</span>
                    </a>
                </li>
            <?php }?>
            <?php if (isset($_SESSION["ConfigOmnicanalidad"]) && count($_SESSION["ConfigOmnicanalidad"]) > 0) { ?>
                <li>
                    <a class="dropdown-menu dropdown-trigger" href="#" data-target="omnicanalidadDropdown">
                        <i class="material-icons">apps</i>
                        <span>{{traducirFrase("Omnicanalidad")}}
                        </span>
                    </a>
                </li>
            <?php } ?>
            <?php if (isset($_SESSION["ConfigExtras"]) && count($_SESSION["ConfigExtras"]) > 0) { ?>
                <li>
                    <a class="dropdown-menu dropdown-trigger" href="#" data-target="otrosDropdown">
                        <i class="material-icons">subject</i>
                        <span>{{traducirFrase("Otros")}}
                        </span>
                    </a>
                </li>
            <?php } ?>
            <?php
if (
    file_exists("/etc/dialvox/dialvox_plugins/" . $_SESSION["Cliente"] . ".json") ||
    file_exists(RUTA_APP . "../dialvox_plugins/" . $_SESSION["Cliente"] . ".json")
) {
    ?>
                <li>
                    <a class="dropdown-menu dropdown-trigger" href="#" data-target="extrasDropdown">
                        <i class="material-icons">subject</i>
                        <span>{{traducirFrase("Extras")}}
                        </span>
                    </a>
                </li>
            <?php }?>

        </ul>
    </div>
</nav>