$lsProxEscolarRepre = $_POST["lsProxEscolarRepre"]; $lsHacer = $_POST["txtHacer"]; $liHay = $_POST["txtHay"]; $lsObj = $_GET["obj"]; $lsFila = $_POST["txtFila"]; $datRepre = array(); $datMama = array(); $datPapa = array(); if (empty($lsOperacion)) { $lsOperacion = $_GET["AccionGet"]; } switch ($lsOperacion) { case "buscar": if ($lsHacer == "buscar") { $loPadrinos->fpSetEventoPadrino("B"); $lbEnc = $loBautismo->fbBuscarBauti(); if ($lbEnc) { $liHay = 1; $lsIDbautizo = $loBautismo->asIDbautizo; $lsFechaInscri = $loBautismo->asFechaInscri; $lsFechaBautizo = $loBautismo->asFechaBautizo; $lsReferenciaInfante = $loBautismo->asReferenciaInfante; $lsNombresBau = $loBautismo->asNombresBau; $lsApellidosBau = $loBautismo->asApellidosBau; $lsSexoBau = $loBautismo->asSexoBau; $lsFechaNacimiento = $loBautismo->asFechaNacimiento; $lsBautizado = $loBautismo->asBautizado; $lsDireccion = $loBautismo->asDireccion; $lsEstado = $loBautismo->asIDestado; $lsCiudad = $loBautismo->asIDciudad; $lsMunicipio = $loBautismo->asIDmunicipio;
$this->Cell(10, 5, utf8_decode($this->CompletaCaracteres($Bauti->asNumero_registro, 12)), 0, 0, 'L'); $this->ln(); $this->ln(); $this->Cell(15); $this->MultiCell(38, 5, utf8_decode($this->CompletaCaracteres($Bauti->asNotaMarginal, 135)), 0, 'L'); $this->SetY(174); $this->Cell(15); $this->MultiCell(37, 5, utf8_decode($this->CompletaCaracteres($Bauti->asPrefectuDe, 30)), 0, 'L'); $this->SetY(194); $this->Cell(15); $this->Cell(10, 5, utf8_decode($loFuncion->fDameFechaEscrita($Bauti->asPresentadoEl)), 0, 0, 'L'); $this->SetY(204); $this->Cell(15); $this->Cell(10, 5, utf8_decode($this->CompletaCaracteres($Bauti->asNumPartidaNac, 19)), 0, 0, 'L'); $this->ln(); } } $loPadrinos = new claPadrinos(); $objC = new claBautismo(); $objC->asReferenciaInfante = $_GET["ReFinfante"]; $objC->fbBuscarBauti(); if ($objC->asEstatusBau == 1) { $header = array('Ref', ' Fecha Bautizo', ' Infante', 'Sexo', 'Representante', 'Estado'); $pdf = new PDF(); $pdf->AddPage(); $pdf->BasicTable($header, $objC, $loPadrinos); $pdf->Output(); } else { $_SESSION["message"] = "No se pudo imprimir el Certificado."; header("location: ../../index.php"); }