<?php

require_once '../negocio/institucion.class.php';
require_once '../util/funciones/Funciones.class.php';
$objInstitucion = new Institucion();
try {
    $registros = $objInstitucion->listar();
    //        echo '<pre>';
    //        print_r($registros);
    //        echo '</pre>';
} catch (Exception $exc) {
    Funciones::mensaje($exc->getMessage(), "e");
}
?>

<table id="tabla-listado" class="table table-bordered table-striped">
    <thead>
            <tr>
                
                    <th>&nbsp;</th>    
                    <th>CODIGO</th>
                    <th>NOMBRE INSTITUCIÓN</th>
                    <th>TELEFONO</th>
                    <th>OPCIÓN</th>
                   
            </tr>
    </thead>
    <tbody>
        <?php 
for ($i = 0; $i < count($registros); $i++) {
    echo '<tr>';