
<?php include 'contadoravisos.php';

?>
                <!-- JavaScript -->
<script src="https://unpkg.com/flickity@2/dist/flickity.pkgd.min.js"></script>
<!-- CSS -->
<link rel="stylesheet" href="https://unpkg.com/flickity@2/dist/flickity.min.css">
<style>

.carousel-cell {

  margin-right: 5px;
}
</style>


<? if ($cat_user == 9) { ?>   
<div class="main-carousel">

    <div class="carousel-cell col-4 col-sm-3 col-md-2 p-0">
        
        <a class="tamañoMenu col-12 btn btn-primary  py-3" href="index.php"><? echo $idioma_100286 ?></a>
        
    </div>
</div>

<? } else { ?>

<div class="fixed-top">
    <nav class="navbar-light p-0 bg-light border-bottom container">
    
            <div class="col-12 p-0">
    
                <div class="container">
                    
                    <div class="row">
                        <div class="col-12 col-sm-6 p-0">
                            <ul class="d-flex justify-content-start m-0 mb-sm-3">
                                        <li >
                                            <b class="p-2"><? echo $idioma_100281 ?> <?php echo $nombre ?></b>
                                        </li>
    
                                        <li>
                                            <i class="p-2"><? echo $idioma_100285 ?></i>
                                        </li>
                                    </ul>
                        </div>
                        <div class="col-12 col-sm-6 p-0">
                            <ul class="d-flex justify-content-end m-0 mb-sm-3">
    
                                        <li>
                                            <a class="d-none btn btn-link" href="cambiarpass.php"><? echo $idioma_100282 ?></a>
                                            <a class="btn btn-link" href="cambiarpass.php"><? echo "Contraseña" ?></a>
                                        </li>
    
                                        <li>
                                            <a class="d-none btn btn-link" href="logout.php"><? echo $idioma_100283 ?></a>
                                            <a class="btn btn-link" href="logout.php"><? echo "Salir" ?></a>
                                        </li>
    
                                        <li>
                                            <form id="form1" name="form1" method="POST" action="<?php echo $dom ?>" target="_blank">
    
                                                <button value="submit" class="d-none btn btn-primary"><? echo $idioma_100284 ?></button>
                                                <button value="submit" class="btn btn-outline-primary"><? echo "Ver" ?></button>
                                            </form>
                                        </li>
                                    </ul>
                        </div>
                    </div>
                            
                </div>
                    
                <div class="main-carousel">
                    
                    <div class="carousel-cell col-4 col-sm-3 col-md-3 p-0">
                        
                        <a class="tamañoMenu col-12 btn btn-primary  py-3" href="index.php">
                            <? echo $idioma_100286 ?>
                        </a>
                    </div>
                    
                    <div class="carousel-cell col-4 col-sm-3 col-md-3 p-0">
                        
                        <a class="tamañoMenu col-12 btn btn-primary  py-3" href="menu_fotonoticias_simples.php">
                            <? echo $asdasd ?>Portada
                        </a>
                    </div>
                    
                    <div class="carousel-cell col-4 col-sm-3 col-md-3 p-0">
                        
                        <a class="tamañoMenu col-12 btn btn-primary  py-3" href="menu_publicidades_gif.php">
                            <? echo $idioma_100289 ?>
                        </a>
                    </div>
                    
                    <div class="carousel-cell col-4 col-sm-3 col-md-3 p-0">
                        
                        <a class="tamañoMenu col-12 btn btn-primary  py-3" href="menu_diseno.php">
                            <? echo $idioma_100290 ?>
                        </a>
                    </div>

                    <div class="carousel-cell col-4 col-sm-3 col-md-3 p-0">
                        
                        <a class="tamañoMenu col-12 btn btn-primary  py-3" href="menu_configuracion.php">
                            <? echo $idioma_100296 ?>
                        </a>
                        
                    </div>
                    
                
                </div>
    
            </div>
    
    </nav>
</div>

<script>
    var elem = document.querySelector('.main-carousel');
    var flkty = new Flickity( elem, {
      // options
      cellAlign: 'left',
      contain: true,
      pageDots: false,
      prevNextButtons: true,
      freeScroll: true
    });
</script>


<? }; ?>
