require "template/header.php";
require "class/class.integrantes.php";
$x = new Integrante();
?>
<div class="container">
	<div class="row">
	<?php 
require "template/nav_testimonios.php";
?>
		<div class="grid col-9">
			<div class="row back-integrante">
				<h2>Integrantes</h2>
				<hr>
				<div>
					<?php 
if ($x->fetch() != 0) {
    ?>
					<?php 
    foreach ($x->fetch() as $k => $v) {
        ?>
					<div class="integrante" style="background:url(../resources/images/<?php 
        echo $v["img"];
        ?>
)">
						<h3><?php 
        echo $v["nombre"] . " " . $v["apellido"];
        ?>
</h3>
						<p class="to-bottom1">Puesto : <?php 
        echo $v["puesto"];
        ?>
    <div class="pagination"></div>
</section>


<section class="Equipo clearfix SacarSeccionCelular" id="PerosnasFundacion">
	<div class="row clearfix">
        <?php 
require "admin/class/class.integrantes.php";
$x = new Integrante();
?>


    	<h1>Quienes Integramos La FundaciĆ³n</h1>
        
        <?php 
foreach ($x->fetch() as $k => $v) {
    $telefono = !is_null($v["telefono"]) && !empty($v["telefono"]) ? 'TEL: ' . $v["telefono"] : '';
    ?>
    		<article class="integrantes">
            <a href="mailto:<?php 
    echo $v["email"];
    ?>
"> 

                <?php 
    if ($v["img"] != "") {
        ?>

            	<figure style="overflow:hidden;">
                    <div class="content-contacto">
                        <div class="SobreContacto">