Esempio n. 1
0
<?php

require_once '../../class/Conectar.class.php';
require_once '../../class/Institucion.class.php';
$objCon = new Conectar();
$objIns = new Institucion();
$objCon->db_connect();
$datos = $objIns->obtenerInstitucionesActivas($objCon);
$datos2 = $objIns->obtenerInstitucionesInactivas($objCon);
$objCon = null;
?>
<script type="text/javascript" src="controller/client/js_busqudaConvenio.js"></script>
<center><h3>Listado de Convenios</h3></center>
<div id="btnAgregarConvenio" onclick="ventanaModal('./view/dialog/agregarConvenio','','auto','auto','Registro de Convenio','modalAgregarConvenio')"><img src="./include/img/world.png" width="25" height="25"> Agregar Convenio</div>
<br>
<center>
<div style="width]:500px;">
	<table class="display" width="100%" id="tabUsuario">
            <thead>
	            <tr>
	              <th width="10%">Id</th>
	              <th width="10%">Nombre</th>
	              <th width="10%">Opciones</th>
	            </tr>
            </thead>
            <?php 
for ($i = 0; $i < count($datos); $i++) {
    ?>
 	<tr>
	            		<td><?php 
    echo $datos[$i]['ins_id'];