<? session_start(); ?>
<? include("../includes/sesiones.php"); ?>
<? include("vars.php"); ?>
<? include("../includes/traducciones.php");?>
<!doctype html>
<?php
include("../defines.php");
include("../administracion/bd-con.php");
include("../administracion/funciones.php");
include("../includes/consultas-generales.php");
include("sql.php");
include("../includes/header.php");
?>
<main class="interiores <?=$seccion?>">
<section class="container">
<div class="row">
<div class="col-lg-5">
<h1 class="titulo-articulo"><?=$titulo?></h1>
<?=$row['descripcion']?>
</div>
<? if( $row['imagen'] != "" ) { ?>
<figure class="col-lg-7">
<img class=" mt-5 d-block img-fluid float-right" src="<?=PROTOCOL.DOMAIN_NAME?>images/<?=$row['imagen']?>" alt="<?=$row['titulo']?>">
</figure>
<? } ?>
</div>
<br>
<hr>
<br>
<? include "sql_textos.php"; ?>
<div class="col-lg-12">
<article id="ancla" class="row">
<? while($row_textos = mysqli_fetch_array($res_textos)){
?>
<div class="col-md-3 text-center">
<figure class="retratos rounded">
<? if( $row_textos['imagen'] != "" ) { ?>
<img class="rounded-circle mx-auto d-block img-fluid" src="<?=PROTOCOL.DOMAIN_NAME?>images/<?=$row_textos['imagen']?>" alt="<?=$row_textos['titulo']?>">
<figcaption>
<? if($row_textos['titulo'] != ""){
?>
<strong><?= $row_textos['titulo']; ?></strong><?
}
if($row_textos['descripcion']!=""){
?><?= $row_textos['descripcion']; ?><?
} ?>
</figcaption>
<? }?>
</figure>
</div>
<? } ?>
</article>
</div>
</section>
</main>
<?php
include("../includes/footer.php");
?>
</body>
</html>