<?php include_once "../model/mAlertasAutomaticas.php"; $auto = new AlertasMan(); $num = $auto->countContratosCliente($_POST['clave']); if ($num == 0) { echo 0; } else { $m = $auto->getContratosClienteAgrup($_POST['clave']); ?> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> <h4 class="modal-title" id="myModalLabel">ADVERTENCIA DE EXPEDIENTE</h4> </div> <div class="modal-body"> <h4>EL EXPEDIENTE TIENE LOS SIGUIENTES CONTRATOS RELACIONADOS</h4> <table class="table"> <thead> <tr> <td>CONTRATO</td> <td>MONTO</td> <td>FECHA INICIO</td> <td>STATUS</td> </tr> </thead> <tbody> <?php while ($l = $m->NextRow()) { ?>