<?php
require(__DIR__ . "/componentes/comunes/functions.php");
require(__DIR__ . "/componentes/comunes/functions2.php");
require(__DIR__ . "/componentes/comunes/cursor_DB.php");

require(__DIR__ . "/componentes/comunes/functions_ejecutar.php");
require(__DIR__ . "/componentes/comunes/functions_errores.php");
require(__DIR__ . "/componentes/comunes/fecha/fecha.php");

require(__DIR__ . "/componentes/comunes/functions_html_picture.php");
require(__DIR__ . "/componentes/idiomas/functions_translate.php");
require(__DIR__ . "/componentes/comunes/functions_db.php");
//-----------

require(__DIR__ . "/componentes/comunes/entidades/articulo.php");


require(__DIR__ . "/componentes/comunes/inicializar.php");
//require($_SERVER["DOCUMENT_ROOT"] . "/comunes2/functions.php");
?>
<!DOCTYPE html>
<html lang="es">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>Menú - Blog</title>
  <!-- Bootstrap 5 -->
  <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
  <!--Estilos personalizados -->
  <link rel="stylesheet" href="styles.css?rand=<?php echo rand(); ?>" >
  <link rel="stylesheet" href="styles_2.css?rand=<?php echo rand(); ?>" >
  <!-- Iconos -->
  <link rel="stylesheet" href="fonts/font_awesome/css/fontawesome.min.css?rand=<?php echo rand(); ?>">
  <link rel="stylesheet" href="fonts/font_awesome/css/regular.min.css?rand=<?php echo rand(); ?>">
  <link rel="stylesheet" href="fonts/font_awesome/css/brands.min.css?rand=<?php echo rand(); ?>">
  <link rel="stylesheet" href="fonts/font_roboto/roboto.css?rand=<?php echo rand(); ?>">
  <link rel="stylesheet" href="fonts/font_awesome/font_loracustom.css?rand=<?php echo rand(); ?>">
  <link rel="stylesheet" href="fonts/font_loracustom/css/brands.min.css?rand=<?php echo rand(); ?>">
  <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,600;0,700;1,400&display=swap">
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css">
 </head>


<body style="padding-top: 70px;">

<?php require('componentes/menuPrincipalHeader/componente_menuPrincipalHeader.php'); ?>


<?php //require('componentes/idiomas/componente_idiomas.php'); ?>
<?php require('componentes/RedesSocialesHeader/componente_RedesSocialesHeader.php'); ?>

       <nav>
        <?php require('componentes/subcategorias/componente_subcategorias.php');
 ?>
      </nav>


  <main>
        <!-- 🔹 Buscador -->
        <?php require('componentes/buscadorHeader/componente_buscadorHeader.php');
 ?>

        <!-- 🔹 slider -->

        <section class="row g-0">
        <?php require('componentes/sliderPrincipal/componente_sliderPrincipal.php');
 ?>
        <?php require('componentes/fotografiaRealtor/componente_fotografiaRealtor.php');
 ?>   
        </section>

        <?php require('componentes/biografiaRealtor/componente_biografiaRealtor.php');
 ?>
        <?php require('componentes/btnPostTotales/componente_btnPostTotales.php');
 ?>

        <section class="container-fluid d-flex justify-content-center">
        <div class="row g-lg-3" >    
        <?php		
		 for ($id=0; $id<2;$id++) {
		 	//require('componentes/articuloTipo2/componente_articuloTipo2.php');
		 }            
		?>     
        </div>
        </section>  

        <?php //require('componentes/articuloTipo1/componente_articuloTipo1.php');
 ?>
        <?php require('componentes/destacadoTipo1/componente_destacadoTipo1.php');
 ?>

        <section class="container" >     
        <?php //require('componentes/articuloTipo3/componente_articuloTipo3.php');
 ?> 
        </section>  

        <section class="container">
        <?php require('componentes/destacadoTipo2/componente_destacadoTipo2.php');
 ?> 
        </section> 

        <section class="container">  
        <?php require('componentes/properties/componente_properties.php');
 ?>
        </section>
    </main>

    <footer>
      <?php require('componentes/footer/componente_footer.php');
 ?>
    </footer>


  <!-- Bootstrap JS -->
  <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>
</body>

</html>
