[HOME]

Path : /home/hermanostamargo/www/quienes-somos_______original/amp/
Upload :
Current File : /home/hermanostamargo/www/quienes-somos_______original/amp/index.php

<? 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_amp.php");

?>

<main class="interiores <?=$seccion?>">

	<section class="container">
		<div class="row">
			
			<div class="col-lg-5"> 
				<h1 class="titulo-articulo"><?=strip_tags($titulo)?></h1>
				<? $textos = borra_style($row['descripcion']); ?>
				<?= ampify($textos)?>				
			</div>
			<? if( $row['imagen'] != "" ) { ?>
				<?
				$img_size = $_SERVER['DOCUMENT_ROOT']."/images/" . $row['imagen'];
				list($width_img, $height_img) = getimagesize($img_size);
				?>
				<figure>
					<amp-img src="<?=PROTOCOL.DOMAIN_NAME?>images/<?=$row['imagen']?>"
						width="<?=$width_img?>"
						height="<?=$height_img?>"
						layout="responsive"
						alt="<?=strip_tags($row['titulo'])?>">
					</amp-img>
				</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="text-center">

						<figure class="col-2 retratos rounded">
							<? if( $row_textos['imagen'] != "" ) { ?>
								<?
								$img_size = $_SERVER['DOCUMENT_ROOT']."/images/" . $row_textos['imagen'];
								list($width_img, $height_img) = getimagesize($img_size);
								?>
								<amp-img class="rounded-circle mx-auto d-block" src="<?=PROTOCOL.DOMAIN_NAME?>images/<?=$row_textos['imagen']?>"
									width="<?=$width_img?>"
									height="<?=$height_img?>"
									layout="responsive"
									alt="<?=strip_tags($row_textos['titulo'])?>">
								</amp-img>
								<figcaption>
			                        <? if($row_textos['titulo'] != ""){
			                            ?>
			                            <strong><?= strip_tags($row_textos['titulo']); ?></strong><?
			                        }
			                        if($row_textos['descripcion']!=""){ ?>
										<? $textos = borra_style($row_textos['descripcion']); ?>
										<?= ampify($textos)?>				                            
			                        <? } ?>								
								</figcaption>
							<? }?>
						</figure>

					</div>

                <? } ?>
			</article>
        </div>




	</section>

</main>


<?php
include("../../includes/footer_amp.php");
?>

</body>
</html>