<div id="layoutSidenav_nav">
    <nav class="sb-sidenav accordion sb-sidenav-dark" id="sidenavAccordion">
        <div class="sb-sidenav-menu">
            <div class="nav">
                <div class="sb-sidenav-menu-heading">Registros</div>
                <a class="nav-link" href="index.php">
                    <div class="sb-nav-link-icon"><i class="fas fa-angle-right"></i></div>
                    Personal GAM-PV
                </a>
                <a class="nav-link" href="personalReg.php">
                    <!--<div class="sb-nav-link-icon"><i class="fas fa-tachometer-alt"></i></div> -->
                    <div class="sb-nav-link-icon"><i class="fas fa-plus"></i></div> 
                    Registro Personal
                </a>
                <a class="nav-link" href="viajes.php">
                    <div class="sb-nav-link-icon"><i class="fas fa-angle-double-right"></i></div>
                    Comisión de Viaje
                </a>
                <a class="nav-link" href="permisosLic.php">
                    <div class="sb-nav-link-icon"><i class="fas fa-angle-right"></i></div>
                    Persmisos / Licencias
                </a>
                <!-------------------------------reportes--------------------------------------->
                <div class="sb-sidenav-menu-heading">REPORTES</div>
                <a class="nav-link collapsed" href="#" data-toggle="collapse" data-target="#reportes" aria-expanded="false" aria-controls="reportes">
                    <div class="sb-nav-link-icon"><i class="fas fa-list"></i></div>
                    Viajes
                    <div class="sb-sidenav-collapse-arrow"><i class="fas fa-angle-down"></i></div>
                </a>
                <div class="collapse" id="reportes" aria-labelledby="headingOne" data-parent="#sidenavAccordion">
                    <nav class="sb-sidenav-menu-nested nav">
                        <a class="nav-link" href="viajesReporte.php">Por parametro</a>
                        <a class="nav-link" href="ReporteV.php" target="_blank" rel="noopener">Reporte generalLL</a>
                    </nav>
                </div>

                <!-------------------------------usuario--------------------------------------->
                <?php if($_SESSION['tipo_user']=='ADMINISTRADOR'){  ?>
                <div class="sb-sidenav-menu-heading">GESTIÓN DE USUARIOS</div>
                <a class="nav-link collapsed" href="#" data-toggle="collapse" data-target="#usuario" aria-expanded="false" aria-controls="usuario">
                    <div class="sb-nav-link-icon"><i class="fas fa-chalkboard-teacher"></i></div>
                    Usuarios
                    <div class="sb-sidenav-collapse-arrow"><i class="fas fa-angle-down"></i></div>
                </a>
                <div class="collapse" id="usuario" aria-labelledby="headingOne" data-parent="#sidenavAccordion">
                    <nav class="sb-sidenav-menu-nested nav">
                        <a class="nav-link" href="usuario.php">Usuarios de sistema</a>
                        <!--<a class="nav-link" href="layout-sidenav-light.html">Editar Usuario</a>-->
                    </nav>
                </div>
                <?php  } ?>
                <!--
                <a class="nav-link collapsed" href="#" data-toggle="collapse" data-target="#collapsePages" aria-expanded="false" aria-controls="collapsePages">
                    <div class="sb-nav-link-icon"><i class="fas fa-book-open"></i></div>
                    Pages
                    <div class="sb-sidenav-collapse-arrow"><i class="fas fa-angle-down"></i></div>
                </a>
                <div class="collapse" id="collapsePages" aria-labelledby="headingTwo" data-parent="#sidenavAccordion">
                    <nav class="sb-sidenav-menu-nested nav accordion" id="sidenavAccordionPages">
                        <a class="nav-link collapsed" href="#" data-toggle="collapse" data-target="#pagesCollapseAuth" aria-expanded="false" aria-controls="pagesCollapseAuth">
                            Authentication
                            <div class="sb-sidenav-collapse-arrow"><i class="fas fa-angle-down"></i></div>
                        </a>
                        <div class="collapse" id="pagesCollapseAuth" aria-labelledby="headingOne" data-parent="#sidenavAccordionPages">
                            <nav class="sb-sidenav-menu-nested nav">
                                <a class="nav-link" href="login.html">Login</a>
                                <a class="nav-link" href="register.html">Register</a>
                                <a class="nav-link" href="password.html">Forgot Password</a>
                            </nav>
                        </div>
                        <a class="nav-link collapsed" href="#" data-toggle="collapse" data-target="#pagesCollapseError" aria-expanded="false" aria-controls="pagesCollapseError">
                            Error
                            <div class="sb-sidenav-collapse-arrow"><i class="fas fa-angle-down"></i></div>
                        </a>
                        <div class="collapse" id="pagesCollapseError" aria-labelledby="headingOne" data-parent="#sidenavAccordionPages">
                            <nav class="sb-sidenav-menu-nested nav">
                                <a class="nav-link" href="401.html">401 Page</a>
                                <a class="nav-link" href="404.html">404 Page</a>
                                <a class="nav-link" href="500.html">500 Page</a>
                            </nav>
                        </div>
                    </nav>
                </div>
                <div class="sb-sidenav-menu-heading">Addons</div>
                <a class="nav-link" href="charts.html">
                    <div class="sb-nav-link-icon"><i class="fas fa-chart-area"></i></div>
                    Charts
                </a>
                <a class="nav-link" href="tables.html">
                    <div class="sb-nav-link-icon"><i class="fas fa-table"></i></div>
                    Tables
                </a>  -->

            </div>
        </div>
        <div class="sb-sidenav-footer">
            <div class="small">Redes y Sistemas:
                <a href="https://api.whatsapp.com/send?phone=59162700751"><img src="../img/imgw.png" width="30"></a>
            </div>
        </div>
    </nav>
</div>