                <div class="topbar">
                  <nav class="navbar navbar-expand-lg navbar-light">
                     <div class="full">
                        <button type="button" id="sidebarCollapse" class="sidebar_toggle"><i class="fa fa-bars"></i></button>
                        <div class="logo_section">
                           <a href="../login/inicio.php"><img class="img-responsive" src="<?php echo $rutalogo; ?>" alt="#" /></a>
                        </div>
                        <div class="right_topbar">
                           <div class="icon_info">
                              <?php if($idrol_sesion == 1){ ?>
                              <ul>
                                 <?php 
                                    $sql = "select count(*) from usuario where estado='1'";
                                    $usuariospendientes = current($pdo->query($sql)->fetch()); 
                                  ?>
                                 <li><a href="../usuario/usuariospendientes.php"><i class="fa-solid fa-user-group"></i><span <?php if($usuariospendientes > 0) {echo "class='badge'";} ?>><?php if($usuariospendientes > 0) {echo $usuariospendientes;} ?></span></a></li>
                                  
                              </ul>
                              <?php } ?>
                              <ul class="user_profile_dd">
                                 <li>
                                    <!--<a class="dropdown-toggle" data-toggle="dropdown"><img class="img-responsive rounded-circle" src="../images/layout_img/user_img.jpg" alt="#" /><span class="name_user"><?php echo $nombreusuario_sesion; ?></span></a>-->
                                    <a class="dropdown-toggle" data-toggle="dropdown"><img class="img-responsive rounded-circle" src="../images/layout_img/perfil.png" alt="#" /><span class="name_user"><?php echo $nombreusuario_sesion; ?></span></a>
                                    <div class="dropdown-menu">
                                       <a class="dropdown-item" href="../usuario/perfil.php"><i class="fa fa-user"></i> Mi Perfil</a>
                                       <!-- <a class="dropdown-item" href="settings.html">Settings</a>
                                       <a class="dropdown-item" href="help.html">Help</a> -->
                                       <a class="dropdown-item" href="../login/cerrarsesion.php"><i class="fa fa-sign-out"></i>  Cerrar Sesi&oacute;n</a>
                                    </div>
                                 </li>
                              </ul>
                           </div>
                        </div>
                     </div>
                  </nav>
               </div>