function Header() { $loFuncion = new clsFunciones(); if ($_POST['txtTipoAgenda'] == '1') { $NombreVar = 'Diocesanas'; } else { $NombreVar = 'Parroquiales'; } // Logo $this->Image('../../logos/encabezado.png', 5, 5, 200, 0, '', 'localhost/iglesia/vis/lista_agendaDiocesana.php'); // Arial bold 15 $this->Ln(35); $this->SetFont('Arial', 'B', 15); // Movernos a la derecha $this->Cell(80); // Título $this->Cell(30, 10, 'Listado de Agenda de Actividades ' . $NombreVar . '', 0, 0, 'C'); $this->Ln(5); $this->SetFont('Arial', 'I', 10); $this->setX(90); $this->Cell(30, 10, '(Desde el ' . $loFuncion->fDameFechaEscrita($_POST["f_Inicio"]) . ', Hasta el ' . $loFuncion->fDameFechaEscrita($_POST["f_Fin"]) . ')', 0, 0, 'C'); $this->Ln(5); $this->SetFont('Arial', 'I', 8); $this->setX(20); $this->Cell(40, 10, 'Fecha: ' . $loFuncion->fDameFechaEscrita(date("Y-m-d")) . " " . $loFuncion->fDameHoraEstandar(substr(date("d-m-Y H:i:s"), 11, 8)), 0, 0, 'R'); // Salto de línea $this->Ln(15); }
function Header() { $loFuncion = new clsFunciones(); // Logo $this->Image('../../logos/encabezado.png', 5, 5, 200, 0, '', 'localhost/iglesia/vis/lista_bautizos.php'); // Arial bold 15 $this->Ln(35); $this->SetFont('Arial', 'B', 15); // Movernos a la derecha $this->Cell(80); // Título $this->Cell(30, 10, 'Listado de Bautizos', 0, 0, 'C'); $this->Ln(10); $this->SetFont('Arial', 'I', 8); $this->setX(20); $this->Cell(40, 10, 'Fecha: ' . $loFuncion->fDameFechaEscrita(date("Y-m-d")) . " " . $loFuncion->fDameHoraEstandar(substr(date("d-m-Y H:i:s"), 11, 8)), 0, 0, 'R'); // Salto de línea $this->Ln(15); }
$lsMunicipionovia = $loMatrimo->fsGetMunicipionovia(); $lsParroquianovia = $loMatrimo->fsGetParroquianovia(); $lsEstadonovio = $loMatrimo->fsGetEstadonovio(); $lsCiudadnovio = $loMatrimo->fsGetCiudadnovio(); $lsMunicipionovio = $loMatrimo->fsGetMunicipionovio(); $lsParroquianovio = $loMatrimo->fsGetParroquianovio(); $lsNacionovio = $loMatrimo->fsGetNacionovio(); $lscedunovio = $loMatrimo->fsGetCInovio(); $lsNombreNovio = $loMatrimo->fsGetNombnovio(); $lsFechaHoraProclamaUno = $loMatrimo->fsGetFechaProclamaUno(); $lsFechaHoraProclamaDos = $loMatrimo->fsGetFechaProclamaDos(); $lsFechaHoraProclamaTres = $loMatrimo->fsGetFechaProclamaTres(); $lsFechaProclamaUno = $loFuncion->fDameFechaEscrita(substr($lsFechaHoraProclamaUno, 0, 10)); $lsFechaProclamaDos = $loFuncion->fDameFechaEscrita(substr($lsFechaHoraProclamaDos, 0, 10)); $lsFechaProclamaTres = $loFuncion->fDameFechaEscrita(substr($lsFechaHoraProclamaTres, 0, 10)); $lsHoraProclamaUno = $loFuncion->fDameHoraEstandar(substr($lsFechaHoraProclamaUno, 11, 8)); $lsHoraProclamaDos = $loFuncion->fDameHoraEstandar(substr($lsFechaHoraProclamaDos, 11, 8)); $lsHoraProclamaTres = $loFuncion->fDameHoraEstandar(substr($lsFechaHoraProclamaTres, 11, 8)); $lsEstadoMatrimonio = $loMatrimo->fsGetEstadoMatrimonio(); $lsFechanaciNovia = $loMatrimo->fsGetFechaNaciNovia(); $lsFechanaciNovio = $loMatrimo->fsGetFechaNaciNovio(); $lsEdadNovia = $loFuncion->fDameEdad($lsFechanaciNovia); $lsEdadNovio = $loFuncion->fDameEdad($lsFechanaciNovio); } else { $_SESSION["message"] = "No se encontro ningun matrimonio"; header("location: ../../index.php"); } require_once "encabezado_reportes.php"; echo ' </head> <body>
function BasicTable($header, $Bauti, $poPadrinos) { $poPadrinos->fpSetEventoPadrino("B"); $poPadrinos->fpSetIDcumatba($Bauti->asIDbautizo); $laMatrizPadri = $poPadrinos->faListarPadrinosReales(); $this->SetTextColor(111, 0, 36); $loFuncion = new clsFunciones(); $this->Image('img/fondobautizo.png', 0, 0, 210, 295, 'PNG'); $estadoIMG = "img/info_verifique.png"; $this->SetFont('Arial', 'B', 8); // Movernos a la derecha $this->Cell(55); // Título $this->Cell(10, 48, utf8_decode('El Presbítero: ______________________________________________'), 0, 0, 'L'); $this->ln(); $this->Cell(55); $this->Cell(10, 5, utf8_decode('Que según consta del acta reseñada al margen, correspondiente al Libro de Bautismo,'), 0, 0, 'L'); $this->ln(); $this->Cell(55); $this->Cell(10, 5, utf8_decode('se encuentra en la partida de: ________________________________________________'), 0, 0, 'L'); $this->ln(); $this->Cell(55); $this->Cell(10, 5, utf8_decode('Nació el día: _______________________________________________________________'), 0, 0, 'L'); $this->ln(); $this->Cell(55); $this->Cell(10, 5, utf8_decode('En: ______________________________ Estado: _________________________________'), 0, 0, 'L'); $this->ln(); $this->Cell(55); $this->Cell(10, 5, utf8_decode('Fue Bautizado(a) el día: _____________________________________________________'), 0, 0, 'L'); $this->ln(); $this->Cell(55); $this->Cell(10, 5, utf8_decode('Padres: ________________________________________________________________'), 0, 0, 'L'); $this->ln(); $this->Cell(55); $this->Cell(10, 5, utf8_decode(' ________________________________________________________________'), 0, 0, 'L'); $this->ln(); $this->Cell(55); $this->Cell(10, 5, utf8_decode('Padrinos: ________________________________________________________________'), 0, 0, 'L'); $this->ln(); $this->Cell(55); $this->Cell(10, 5, utf8_decode(' _______________________________________________________________'), 0, 0, 'L'); $this->ln(); $this->Cell(55); $this->Cell(10, 5, utf8_decode('Ministro: ________________________________________________________________'), 0, 0, 'L'); $this->ln(); $this->ln(); $this->Cell(55); $this->Cell(10, 5, utf8_decode('Se expide el presente Certificado para fines: ____________________________________'), 0, 0, 'L'); $this->ln(); $this->ln(); $this->ln(); $this->ln(); $this->ln(); $this->ln(); $this->Cell(110); $this->Cell(10, 5, utf8_decode('Acarigua: ' . $loFuncion->fDameFechaEscrita(date("Y-m-d")) . " " . $loFuncion->fDameHoraEstandar(substr(date("d-m-Y H:i:s"), 11, 8))), 0, 0, 'L'); $this->ln(); $this->ln(); $this->ln(); $this->ln(); $this->ln(); $this->ln(); $this->ln(); $this->ln(); $this->ln(); $this->Cell(90); $this->Cell(10, 5, utf8_decode('Doy Fe _____________________________'), 0, 0, 'L'); $this->ln(); $this->Cell(135); $this->Cell(10, 5, utf8_decode('EL PÁRROCO'), 0, 0, 'L'); $this->SetY(95); $this->Cell(15); $this->Cell(10, 5, utf8_decode('Libro: _________________'), 0, 0, 'L'); $this->ln(); $this->Cell(15); $this->Cell(10, 5, utf8_decode('Folio: _________________'), 0, 0, 'L'); $this->ln(); $this->Cell(15); $this->Cell(10, 5, utf8_decode('Número: ______________'), 0, 0, 'L'); $this->SetFont('Arial', 'B', 12); $this->ln(); $this->Cell(15); $this->Cell(10, 5, utf8_decode('NOTA MARGINAL'), 0, 0, 'L'); $this->SetFont('Arial', 'B', 8); $this->ln(); $this->Cell(15); $this->Cell(10, 5, utf8_decode('_____________________'), 0, 0, 'L'); $this->ln(); $this->Cell(15); $this->Cell(10, 5, utf8_decode('_____________________'), 0, 0, 'L'); $this->ln(); $this->Cell(15); $this->Cell(10, 5, utf8_decode('_____________________'), 0, 0, 'L'); $this->ln(); $this->Cell(15); $this->Cell(10, 5, utf8_decode('_____________________'), 0, 0, 'L'); $this->ln(); $this->Cell(15); $this->Cell(10, 5, utf8_decode('_____________________'), 0, 0, 'L'); $this->ln(); $this->Cell(15); $this->Cell(10, 5, utf8_decode('_____________________'), 0, 0, 'L'); $this->ln(); $this->Cell(15); $this->Cell(10, 5, utf8_decode('_____________________'), 0, 0, 'L'); $this->ln(); $this->Cell(15); $this->Cell(10, 5, utf8_decode('_____________________'), 0, 0, 'L'); $this->ln(); $this->Cell(15); $this->Cell(10, 5, utf8_decode('_____________________'), 0, 0, 'L'); $this->ln(); $this->ln(); $this->Cell(15); $this->Cell(10, 5, utf8_decode('Registro Civil'), 0, 0, 'L'); $this->ln(); $this->Cell(15); $this->Cell(10, 5, utf8_decode('Prefectura de:'), 0, 0, 'L'); $this->ln(); $this->Cell(15); $this->Cell(10, 5, utf8_decode('_____________________'), 0, 0, 'L'); $this->ln(); $this->Cell(15); $this->Cell(10, 5, utf8_decode('_____________________'), 0, 0, 'L'); $this->ln(); $this->Cell(15); $this->Cell(10, 5, utf8_decode('Presentado(a)'), 0, 0, 'L'); $this->ln(); $this->Cell(15); $this->Cell(10, 5, utf8_decode('El'), 0, 0, 'L'); $this->ln(); $this->Cell(15); $this->Cell(10, 5, utf8_decode('_____________________'), 0, 0, 'L'); $this->ln(); $this->Cell(15); $this->Cell(10, 5, utf8_decode('Bajo el Número'), 0, 0, 'L'); $this->ln(); $this->Cell(15); $this->Cell(10, 5, utf8_decode('_____________________'), 0, 0, 'L'); $this->ln(); $this->ln(); $this->SetFont('Arial', 'B', 9); $this->Cell(15); $this->Cell(10, 5, utf8_decode('SELLO'), 0, 0, 'L'); $this->ln(); $this->SetY(69); $this->SetTextColor(0, 0, 0); $this->SetFont('Arial', 'B', 9); $this->Cell(80); $this->Cell(10, 48, utf8_decode($this->CompletaCaracteres($Bauti->asNombreSacer, 40)), 0, 0, 'L'); $this->ln(); $this->SetY(122); $this->Cell(100); $this->Cell(10, 5, utf8_decode($this->CompletaCaracteres($Bauti->asNombresBau . ' ' . $Bauti->asApellidosBau, 30)), 0, 0, 'L'); $this->ln(); $this->Cell(80); $this->Cell(10, 5, utf8_decode($loFuncion->fDameFechaEscrita($Bauti->asFechaNacimiento)), 0, 0, 'L'); $this->ln(); $this->Cell(65); $this->Cell(10, 5, utf8_decode($Bauti->asNombCiudad), 0, 0, 'L'); $this->Cell(50); $this->Cell(10, 5, utf8_decode($Bauti->asNombEstado), 0, 0, 'L'); $this->ln(); $this->Cell(95); $this->Cell(10, 5, utf8_decode($loFuncion->fDameFechaEscrita(substr($Bauti->asFechaBautizo, 0, 10)) . ", a las " . $loFuncion->fDameHoraEstandar(substr($Bauti->asFechaBautizo, 11, 8))), 0, 0, 'L'); $this->ln(); $this->Cell(75); $this->Cell(10, 5, utf8_decode($this->CompletaCaracteres($Bauti->asNombMama . ' ' . $Bauti->asApellMama, 40)), 0, 0, 'L'); $this->ln(); $this->Cell(75); $this->Cell(10, 5, utf8_decode($this->CompletaCaracteres($Bauti->asNombPapa . ' ' . $Bauti->asApellPapa, 40)), 0, 0, 'L'); $this->ln(); $this->Cell(75); $this->Cell(10, 5, utf8_decode($this->CompletaCaracteres($laMatrizPadri[0]["Nombres"] . ' ' . $laMatrizPadri[0]["Apellidos"], 40)), 0, 0, 'L'); $this->ln(); $this->Cell(75); $this->Cell(10, 5, utf8_decode($this->CompletaCaracteres($laMatrizPadri[1]["Nombres"] . ' ' . $laMatrizPadri[1]["Apellidos"], 40)), 0, 0, 'L'); $this->ln(); $this->Cell(75); $this->Cell(10, 5, utf8_decode($this->CompletaCaracteres($Bauti->asNombreMinistro, 40)), 0, 0, 'L'); $this->ln(); $this->ln(); $this->Cell(120); $this->Cell(10, 5, utf8_decode($this->CompletaCaracteres($_GET["FinesCertificado"], 27)), 0, 0, 'L'); $this->ln(); $this->SetY(94); $this->Cell(25); $this->Cell(10, 5, utf8_decode($this->CompletaCaracteres($Bauti->asLibro_registro, 14)), 0, 0, 'L'); $this->ln(); $this->Cell(25); $this->Cell(10, 5, utf8_decode($this->CompletaCaracteres($Bauti->asFolio_registro, 14)), 0, 0, 'L'); $this->ln(); $this->Cell(28); $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(); }
function BasicTable($header, $data) { $loMatrimo = new claMatrimonio(); $loFuncion = new clsFunciones(); $lscedunovia = $_GET["RPNovia"]; $lscedunovio = $_GET["RPNovio"]; $varMoF = 4; if (!empty($lscedunovia) and !empty($lscedunovio)) { $loMatrimo->fpSetCInovia($lscedunovia); $varMoF = 0; } elseif (empty($lscedunovia) and !empty($lscedunovio)) { $loMatrimo->fpSetCInovio($lscedunovio); $varMoF = 1; } elseif (!empty($lscedunovia) and empty($lscedunovio)) { $loMatrimo->fpSetCInovia($lscedunovia); $varMoF = 0; } $lbEnc = $loMatrimo->fbBuscarMatrimonio($varMoF); if ($lbEnc and $varMoF != 4) { $lsIDmatrimonio = $loMatrimo->fpGetIDTmatrimonio(); $lsFechaInscri = $loMatrimo->fpGetFechaInscri(); $lsFechaHoraMatrimonio = $loMatrimo->fsGetFechaMatrimonio(); $lsFechaMatrimonio = $loFuncion->fDameFechaEscrita(substr($lsFechaHoraMatrimonio, 0, 10)); $lsIDsacerdote = $loMatrimo->fsGetIDsacerdote(); $lsNacionovia = $loMatrimo->fsGetNacionovia(); $lscedunovia = $loMatrimo->fsGetCInovia(); $lsNombreNovia = $loMatrimo->fsGetNombnovia(); $lsEstadonovia = $loMatrimo->fsGetEstadonovia(); $lsCiudadnovia = $loMatrimo->fsGetCiudadnovia(); $lsMunicipionovia = $loMatrimo->fsGetMunicipionovia(); $lsParroquianovia = $loMatrimo->fsGetParroquianovia(); $lsEstadonovio = $loMatrimo->fsGetEstadonovio(); $lsCiudadnovio = $loMatrimo->fsGetCiudadnovio(); $lsMunicipionovio = $loMatrimo->fsGetMunicipionovio(); $lsParroquianovio = $loMatrimo->fsGetParroquianovio(); $lsNacionovio = $loMatrimo->fsGetNacionovio(); $lscedunovio = $loMatrimo->fsGetCInovio(); $lsNombreNovio = $loMatrimo->fsGetNombnovio(); $lsFechaHoraProclamaUno = $loMatrimo->fsGetFechaProclamaUno(); $lsFechaHoraProclamaDos = $loMatrimo->fsGetFechaProclamaDos(); $lsFechaHoraProclamaTres = $loMatrimo->fsGetFechaProclamaTres(); $lsFechaProclamaUno = $loFuncion->fDameFechaEscrita(substr($lsFechaHoraProclamaUno, 0, 10)); $lsFechaProclamaDos = $loFuncion->fDameFechaEscrita(substr($lsFechaHoraProclamaDos, 0, 10)); $lsFechaProclamaTres = $loFuncion->fDameFechaEscrita(substr($lsFechaHoraProclamaTres, 0, 10)); $lsHoraProclamaUno = $loFuncion->fDameHoraEstandar(substr($lsFechaHoraProclamaUno, 11, 8)); $lsHoraProclamaDos = $loFuncion->fDameHoraEstandar(substr($lsFechaHoraProclamaDos, 11, 8)); $lsHoraProclamaTres = $loFuncion->fDameHoraEstandar(substr($lsFechaHoraProclamaTres, 11, 8)); $lsEstadoMatrimonio = $loMatrimo->fsGetEstadoMatrimonio(); $laMatrizPadres = $loMatrimo->fsGetDatosPadres(); $lsFechanaciNovia = $loMatrimo->fsGetFechaNaciNovia(); $lsFechanaciNovio = $loMatrimo->fsGetFechaNaciNovio(); $lsEdadNovio = $loFuncion->fDameEdad($lsFechanaciNovia); $lsEdadNovia = $loFuncion->fDameEdad($lsFechanaciNovio); } else { $_SESSION["message"] = "No se encontro ningun matrimonio"; header("location: ../../index.php"); } $this->SetFont('Arial', 'B', 10); $this->SetFont('Arial', 'B', 10); $this->Cell(80, 10, utf8_decode($lsNombreNovio), 0, 0, 'L'); $this->SetFont('Arial', '', 10); $this->Cell(30, 10, utf8_decode('de'), 0, 0, 'L'); $this->SetFont('Arial', 'B', 10); $this->Cell(30, 10, utf8_decode($lsEdadNovio), 0, 0, 'L'); $this->SetFont('Arial', '', 10); $this->Cell(30, 10, utf8_decode(' años de edad '), 0, 0, 'L'); $this->Ln(10); $this->SetFont('Arial', '', 10); $this->Cell(80, 10, utf8_decode(' hijo de '), 0, 0, 'L'); $this->SetFont('Arial', 'B', 10); $this->Cell(30, 10, utf8_decode($laMatrizPadres[3]["Nombres"]), 0, 0, 'L'); $this->SetFont('Arial', '', 10); $this->Cell(30, 10, utf8_decode(' y de '), 0, 0, 'L'); $this->SetFont('Arial', 'B', 10); $this->Cell(30, 10, utf8_decode($laMatrizPadres[2]["Nombres"]), 0, 0, 'L'); $this->Ln(10); $this->SetFont('Arial', '', 10); $this->Cell(80, 10, utf8_decode(' natural de '), 0, 0, 'L'); $this->SetFont('Arial', 'B', 10); $this->Cell(30, 10, utf8_decode($lsCiudadnovio . ', Estado ' . $lsEstadonovio . ','), 0, 0, 'L'); $this->Ln(10); $this->SetFont('Arial', '', 10); $this->Cell(80, 10, utf8_decode(' Con '), 0, 0, 'L'); $this->SetFont('Arial', 'B', 10); $this->Cell(30, 10, utf8_decode($lsNombreNovia), 0, 0, 'L'); $this->SetFont('Arial', '', 10); $this->Cell(30, 10, utf8_decode(' de '), 0, 0, 'L'); $this->SetFont('Arial', 'B', 10); $this->Cell(30, 10, utf8_decode($lsEdadNovia), 0, 0, 'L'); $this->SetFont('Arial', 'B', 10); $this->Cell(30, 10, utf8_decode(' años de edad '), 0, 0, 'L'); $this->Ln(10); $this->SetFont('Arial', '', 10); $this->Cell(80, 10, utf8_decode(' hija de '), 0, 0, 'L'); $this->SetFont('Arial', 'B', 10); $this->Cell(30, 10, utf8_decode($laMatrizPadres[1]["Nombres"]), 0, 0, 'L'); $this->SetFont('Arial', '', 10); $this->Cell(30, 10, utf8_decode(' y de '), 0, 0, 'L'); $this->SetFont('Arial', 'B', 10); $this->Cell(30, 10, utf8_decode($laMatrizPadres[0]["Nombres"]), 0, 0, 'L'); $this->Ln(10); $this->SetFont('Arial', '', 10); $this->Cell(80, 10, utf8_decode(' natural de '), 0, 0, 'L'); $this->SetFont('Arial', 'B', 10); $this->Cell(30, 10, utf8_decode($lsCiudadnovia . ', Estado ' . $lsEstadonovia . ','), 0, 0, 'L'); $this->Ln(10); $this->SetFont('Arial', '', 10); $this->Cell(80, 10, utf8_decode(' El matrimonio se realizará el '), 0, 0, 'L'); $this->SetFont('Arial', 'B', 10); $this->Cell(30, 10, utf8_decode($lsFechaMatrimonio), 0, 0, 'L'); $this->Ln(15); $this->SetFont('Arial', 'B', 10); $this->Cell(120, 10, utf8_decode(' Primera Proclama: '), 0, 0, 'L'); $this->Cell(30, 10, utf8_decode(' Hora: '), 0, 0, 'L'); $this->Ln(10); $this->Cell(120, 10, utf8_decode(' Segunda Proclama: '), 0, 0, 'L'); $this->Cell(30, 10, utf8_decode(' Hora: '), 0, 0, 'L'); $this->Ln(10); $this->Cell(120, 10, utf8_decode(' Tercera Proclama: '), 0, 0, 'L'); $this->Cell(30, 10, utf8_decode(' Hora: '), 0, 0, 'L'); $this->Ln(10); $this->Cell(80); $this->SetFont('Arial', 'B', 11); $this->Cell(30, 10, utf8_decode(' Quien(es) conozca(n) algún impedimento que pueda hacer inválido este matrimonio '), 0, 0, 'C'); $this->Ln(10); $this->Cell(30); $this->Cell(30, 10, utf8_decode(' tiene(n) la obligación de manifestarlo al Párroco. '), 0, 0, 'C'); $this->Ln(10); $html = utf8_decode(' <b></b> <center><table style="width:800px;"> <tr> <td colspan="2"><font style="text-align: justify; font-size:204px; line-height: 2.5em;"> <strong>' . $lsNombreNovio . '</strong> de <strong>' . $lsEdadNovio . '</strong> años de edad, hijo de <strong>' . $laMatrizPadres[3]["Nombres"] . '</strong> y de <strong>' . $laMatrizPadres[2]["Nombres"] . '</strong>, natural de ' . $lsCiudadnovio . ', Estado ' . $lsEstadonovio . ' Con <strong>' . $lsNombreNovia . '</strong> de <strong>' . $lsEdadNovia . '</strong> años de edad, hija de <strong>' . $laMatrizPadres[1]["Nombres"] . '</strong> y de <strong>' . $laMatrizPadres[0]["Nombres"] . '</strong>, natural de ' . $lsCiudadnovia . ', Estado ' . $lsEstadonovia . ' El matrimonio se realizará el <strong>' . $lsFechaMatrimonio . '.</strong> </font></td> </tr> </table></center> <br><br> <center><table style="width:600px;"> <tr align="left"> <td style="width:500px;"><strong>Primera proclama: ' . $lsFechaProclamaUno . '</strong></td> <td style="width:400px;" align="center"><strong>Hora: ' . $lsHoraProclamaUno . '</strong></td> </tr> <tr align="left"> <td style="width:500px;"><strong>Segunda proclama: ' . $lsFechaProclamaDos . '</strong></td> <td style="width:400px;" align="center"><strong>Hora: ' . $lsHoraProclamaDos . '</strong></td> </tr> <tr align="left"> <td style="width:500px;"><strong>Tercera proclama: ' . $lsFechaProclamaTres . '</strong></td> <td style="width:400px;" align="center"><strong>Hora: ' . $lsHoraProclamaTres . '</strong></td> </tr> <tr> <td colspan="10" align="center"><button type="button" onclick="history.go(-1);" id="volver">Volver</button><button type="button" onclick="imprimir()" id="impri">Imprimir</button></td> </tr> </table></center><br><br><br><br><b> <center><div style="width:800px;">Quien(es) conozca(n) algún impedimento que pueda hacer inválido este matrimonio tiene(n) la obligación de manifestarlo al Párroco.</div></center> <br><br><br><br><br><div align="center">_____________________________ _____________________________</div> <div align="center"> Los contrayentes </div> <br><br><br><br><div align="center" style="float:right; margin-right:100px;">_____________________________<br> Párroco</div> <div id="usuario">Elaborado por: ' . $_SESSION["nombreUsuario"] . ' </div> </div> </body> </html>'); $this->WriteHTML($html); }
</select><div class="tool-tip slideIn" id="ttipf_listarTipoSolicitud" style="display:none;"></div></div></div> </center> </th> </tr> <tr> <th> <font class="control-label">Requisitos:</font> <textarea name="f_Requisitos" id="f_Requisitos" class="form-control" maxlength="100" tabindex="2" style="height:200px;" disabled></textarea> </th> <th id="tDespliegue"><font class="control-label">Citas Pendientes a la fecha:</font><br> '); $arrCitas = $loCitas->fpListaCitasFeligresPendiente(); $i = 0; foreach ($arrCitas as &$ACitas) { $i++; echo utf8_decode('<div class="alert alert-success" id="citas' . $i . '"><div style="display: inline-block;" val="' . $ACitas['idTSolicitud'] . '*' . $ACitas['descripcion'] . '*' . $ACitas['requisitos'] . '" onclick="fpSeleccionaSolicitudListaC($(this).attr(\'val\'));">' . $ACitas['descripcion'] . ' "' . $ACitas['idTSolicitud'] . '" (' . $loFuncion->fDameFechaEscrita($ACitas['FechaCita']) . ' - ' . $loFuncion->fDameHoraEstandar($ACitas['HoraCita']) . ')</div> <input type="button" class="btn btn-danger" name="b_Anular" value="Anular" onclick="fpPreAnularCitaMotivo(\'' . $ACitas['idTSolicitud'] . '\',\'' . $ACitas['descripcion'] . '\',' . $i . ');"></div>'); } echo utf8_Decode(' </th> </tr> </table> <br> </div> </div> <div class="container" style="margin-top:5px; padding:5px; min-height: auto; background: #FFFFFF; -webkit-box-shadow: 0px 2px 5px 2px #999; -moz-box-shadow: 2px 2px 5px #999;"> <table class="table table-striped table-bordered table-hover" border="1" style="margin:0px"> <tr> <th colspan="2"><center> <input type="hidden" name="txtOperacion" id="txtOperacion" value="' . $lsOperacion . '"> <input type="hidden" name="txtHacer" id="txtHacer" value="' . $lsHacer . '">
$estadoCita = 'warning'; break; case 3: $estadoCita = 'danger'; break; default: $estadoCita = 'info'; break; } echo utf8_decode(' <tr class="' . $estadoCita . '"> <td>' . intval($i + 1) . '</td> <td>' . $arrCitas[$i]['Cedula'] . ' ' . $arrCitas[$i]['Nombres'] . ' ' . $arrCitas[$i]['Apellidos'] . '</td> <td>' . $arrCitas[$i]['idTSolicitud'] . '</td> <td>' . $arrCitas[$i]['descripcion'] . '</td> <td>' . $loFuncion->fDameFechaEscrita($arrCitas[$i]['FechaCita']) . '</td> <td>' . $loFuncion->fDameHoraEstandar($arrCitas[$i]['HoraCita']) . '</td> <td><div class="controls form-inline" style="display:flex;"><input type="button" dato="' . $arrCitas[$i]['idTSolicitud'] . '" class="btn btn-success" style="width: 75px; display:inline-block;" name="b_Proc" value="Procesar" onclick=""> <input type="button" dato="' . $arrCitas[$i]['idTSolicitud'] . '" style="width: 90px; display:inline-block;" class="btn btn-warning" name="b_susp" value="Suspender" onclick=""></div></td> </tr>'); } echo utf8_decode(' </tbody> </table> </div> <!-- /.table-responsive --> '); echo utf8_decode(' </div> <!-- /.panel-body --> </div>'); } elseif ($_SESSION["rol"] == "F") { echo utf8_decode('
function BasicTable($header, $Matrimo, $poPadrinos) { $poPadrinos->fpSetEventoPadrino("M"); $poPadrinos->fpSetIDcumatba($Matrimo->fpGetIDTmatrimonio()); $laMatrizPadri = $poPadrinos->faListarPadrinosReales(); $this->SetTextColor(111, 0, 36); $loFuncion = new clsFunciones(); $this->Image('img/fondomatrimonio.png', 0, 0, 210, 295, 'PNG'); $estadoIMG = "img/info_verifique.png"; $this->SetFont('Arial', 'B', 8); // Movernos a la derecha $this->SetY(123); $this->ln(); $this->Cell(92); $this->Cell(10, 5, utf8_decode('_______________________________________________'), 0, 0, 'C'); $this->ln(3); $this->Cell(92); $this->Cell(10, 5, utf8_decode('Nombre y Apellido de soltera de la novia'), 0, 0, 'C'); $this->ln(); $this->SetY(144); $this->Cell(92); $this->Cell(10, 5, utf8_decode('_______________________________________________'), 0, 0, 'C'); $this->ln(3); $this->Cell(92); $this->Cell(10, 5, utf8_decode('Nombre y Apellido de soltero de el novio'), 0, 0, 'C'); $this->ln(); $this->SetY(163); $this->SetFont('Courier', 'B', 10); $this->Cell(92); $this->Cell(10, 5, utf8_decode('Se han unido en Santo Matrimonio, siguiendo los estatutos'), 0, 0, 'C'); $this->ln(3); $this->Cell(92); $this->Cell(10, 5, utf8_decode('y ordenanzas de Dios, y bajo las leyes terrenales de:'), 0, 0, 'C'); $this->ln(); $this->SetFont('Arial', 'B', 8); $this->SetY(185); $this->Cell(92); $this->Cell(10, 5, utf8_decode('_______________________________________________'), 0, 0, 'C'); $this->ln(3); $this->Cell(92); $this->Cell(10, 5, utf8_decode('Ciudad y País'), 0, 0, 'C'); $this->ln(); $this->SetY(200); $this->Cell(92); $this->Cell(10, 5, utf8_decode('Realizado en: _____________________________________________________'), 0, 0, 'C'); $this->ln(); $this->SetY(214); $this->Cell(92); $this->Cell(10, 5, utf8_decode('_______________________________________________'), 0, 0, 'C'); $this->ln(3); $this->Cell(92); $this->Cell(10, 5, utf8_decode('Nombre del Ministro'), 0, 0, 'C'); $this->ln(); $this->SetY(235); $this->Cell(92); $this->Cell(10, 5, utf8_decode('________________________________ ________________________________'), 0, 0, 'C'); $this->ln(4); $this->Cell(92); $this->Cell(10, 5, utf8_decode('Nombre del Testigo Nombre del Testigo'), 0, 0, 'C'); $this->ln(); $this->SetY(250); $this->Cell(150); $this->Cell(10, 5, utf8_decode('...Por esto el hombre dejará padre y madre, y se unirá a su mujer, y los dos serán una sola carne.'), 0, 0, 'R'); $this->ln(3); $this->Cell(150); $this->Cell(10, 5, utf8_decode('Mateo 19:5'), 0, 0, 'R'); $this->ln(); $this->Cell(110); $this->Cell(10, 5, utf8_decode('Acarigua: ' . $loFuncion->fDameFechaEscrita(date("Y-m-d")) . " " . $loFuncion->fDameHoraEstandar(substr(date("d-m-Y H:i:s"), 11, 8))), 0, 0, 'L'); $this->ln(); $this->ln(); $this->ln(); $this->SetY(117); $this->SetTextColor(0, 0, 0); $this->ln(); $this->Cell(92); $this->Cell(10, 5, utf8_decode($this->CompletaCaracteres($Matrimo->fsGetNombnovia(), 40)), 0, 0, 'C'); $this->SetY(143); $this->Cell(92); $this->Cell(10, 5, utf8_decode($this->CompletaCaracteres($Matrimo->fsGetNombnovio(), 40)), 0, 0, 'C'); $this->SetY(184); $this->Cell(92); $this->Cell(10, 5, utf8_decode($this->CompletaCaracteres('ACARIGUA, VENEZUELA', 40)), 0, 0, 'C'); $this->SetY(199); $this->Cell(92); $this->Cell(10, 5, utf8_decode($this->CompletaCaracteres('LA IGLESIA SAN ROQUE', 40)), 0, 0, 'C'); $this->SetY(213); $this->Cell(92); $this->Cell(10, 5, utf8_decode($this->CompletaCaracteres($Matrimo->fsGetNombSacerdote(), 40)), 0, 0, 'C'); $this->SetY(234); $this->Cell(62); $this->Cell(10, 5, utf8_decode($this->CompletaCaracteres($laMatrizPadri[0]["Nombres"] . ' ' . $laMatrizPadri[0]["Apellidos"], 40)), 0, 0, 'C'); $this->Cell(50); $this->Cell(10, 5, utf8_decode($this->CompletaCaracteres($laMatrizPadri[1]["Nombres"] . ' ' . $laMatrizPadri[1]["Apellidos"], 40)), 0, 0, 'C'); }
$lsNombnovia = ""; $lsNombnovio = ""; } break; case "buscar_like": $cadena = strtoupper($_REQUEST['txtcadena']); $arr = $loMatrimo->buscarLike("proximo", $cadena); $cabecera = "\n\t\t\t\t\t\t<thead>\n\t\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t\t<th><h4 class=\"modal-title\" id=\"myModalLabel\">Ref</h4></th>\n\t\t\t\t\t\t\t\t<th><h4 class=\"modal-title\" id=\"myModalLabel\">Novia</h4></th>\n\t\t\t\t\t\t\t\t<th><h4 class=\"modal-title\" id=\"myModalLabel\">Novio</h4></th>\n\t\t\t\t\t\t\t\t<th><h4 class=\"modal-title\" id=\"myModalLabel\">Estado</h4></th>\n\t\t\t\t\t\t\t\t<th><h4 class=\"modal-title\" id=\"myModalLabel\">Ceremonia</h4></th>\n\t\t\t\t\t\t\t\t<th><h4 class=\"modal-title\" id=\"myModalLabel\">-</h4></th>\n\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t</thead>"; for ($i = 0; $i < count($arr); $i++) { $line .= "<tr height=\"1%\">"; $line .= "<th>" . $arr[$i]['ReferenciaMatrimonio'] . "</th>"; $line .= "<th>" . $arr[$i]['NvaNombre'] . "</th>"; $line .= "<th>" . $arr[$i]['NvoNombre'] . "</th>"; $line .= "<th><center>" . fpMatriEstado($arr[$i]['MatriEdo'], $i, $arr[$i]['ReferenciaMatrimonio']) . "</center></th>"; $line .= "<th>" . $loFuncion->fDameFechaEscrita(substr($arr[$i]['MatriFecha'], 0, 10)) . "</th>"; $line .= "<th>\n\t\t\t\t\t<form name=\"fr_matriLike" . $i . "\" id=\"fr_matriLike" . $i . "\" action=\"" . $_SERVER['HTTP_REFERER'] . "\" method=\"post\">\n\t\t\t\t\t\t<input type=\"hidden\" name=\"nvaCedula\" id=\"nvaCedula\" value=\"" . $arr[$i]['NvaCedula'] . "\">\n\t\t\t\t\t\t<input type=\"hidden\" name=\"nvoCedula\" id=\"nvoCedula\" value=\"" . $arr[$i]['NvoCedula'] . "\">\n\t\t\t\t\t\t<input type=\"hidden\" name=\"NvaNombre\" id=\"NvaNombre\" value=\"" . $arr[$i]['NvaNombre'] . "\">\n\t\t\t\t\t\t<input type=\"hidden\" name=\"NvoNombre\" id=\"NvoNombre\" value=\"" . $arr[$i]['NvoNombre'] . "\">\n\t\t\t\t\t\t<input type=\"hidden\" name=\"NvaEdad\" id=\"NvaEdad\" value=\"" . $loFuncion->fDameEdad($arr[$i]['FechaNaciNovia']) . "\">\n\t\t\t\t\t\t<input type=\"hidden\" name=\"NvoEdad\" id=\"NvoEdad\" value=\"" . $loFuncion->fDameEdad($arr[$i]['FechaNaciNovio']) . "\">\n\t\t\t\t\t\t<input type=\"hidden\" name=\"FechaProclamaUno\" id=\"FechaProclamaUno\" value=\"" . $arr[$i]['FechaProclamaUno'] . "\">\n\t\t\t\t\t\t<input type=\"hidden\" name=\"FechaProclamaDos\" id=\"FechaProclamaDos\" value=\"" . $arr[$i]['FechaProclamaDos'] . "\">\n\t\t\t\t\t\t<input type=\"hidden\" name=\"FechaProclamaTres\" id=\"FechaProclamaTres\" value=\"" . $arr[$i]['FechaProclamaTres'] . "\">\n\t\t\t\t\t\t<input type=\"hidden\" name=\"interLibro\" id=\"interLibro\" value=\"" . $arr[$i]['interLibro'] . "\">\n\t\t\t\t\t\t<input type=\"hidden\" name=\"interFolio\" id=\"interFolio\" value=\"" . $arr[$i]['interFolio'] . "\">\n\t\t\t\t\t\t<input type=\"hidden\" name=\"interNumero\" id=\"interNumero\" value=\"" . $arr[$i]['interNumero'] . "\">\n\t\t\t\t\t\t<input type=\"hidden\" name=\"NotaMarginal\" id=\"NotaMarginal\" value=\"" . $arr[$i]['NotaMarginal'] . "\">\n\t\t\t\t\t\t<input type=\"hidden\" name=\"MatriMotivo\" id=\"MatriMotivo\" value=\"" . $arr[$i]['Motivo'] . "\">\n\t\t\t\t\t\t<input type=\"hidden\" name=\"MatriS\" id=\"MatriS\" value=\"" . $arr[$i]['ReferenciaMatrimonio'] . "\">\n\t\t\t\t\t\t<input type=\"hidden\" name=\"MatriIDSacer\" id=\"MatriIDSacer\" value=\"" . $arr[$i]['IDSacer'] . "\">\n\t\t\t\t\t\t<input type=\"hidden\" name=\"MatriSacer\" id=\"MatriSacer\" value=\"" . $arr[$i]['NombreSacer'] . "\">\n\t\t\t\t\t\t<input type=\"hidden\" name=\"MatriFecha\" id=\"MatriFecha\" value=\"" . $loFuncion->fDameFechaEscrita(substr($arr[$i]['MatriFecha'], 0, 10)) . " a las " . $loFuncion->fDameHoraEstandar(substr($arr[$i]['MatriFecha'], 11, 8)) . "\">\n\t\t\t\t\t\t<textarea name=\"MatriEdo\" id=\"MatriEdo\" style=\"display:none;\">" . fpMatriEstado($arr[$i]['MatriEdo'], $i, $arr[$i]['ReferenciaMatrimonio']) . "</textarea>\n\t\t\t\t\t\t<input type=\"hidden\" name=\"MatriEdoNum\" id=\"MatriEdoNum\" value=\"" . $arr[$i]['MatriEdo'] . "\">\n\t\t\t\t\t\t<input type=\"hidden\" name=\"ItemNum\" id=\"ItemNum\" value=\"" . $i . "\">\n\t\t\t\t\t\t<button type=\"button\" style=\"display:block; margin:0 auto; padding:3px;\" onclick=\"fpSelectLike('fr_matriLike" . $i . "');\" class=\"btn btn-primary\" name=\"b_Nuevo\"><span class=\"fa fa-check\"></span></button>\n\t\t\t\t\t\t</form></th>"; $line .= "</tr>"; } print $cabecera . $line; break; case "buscarPadri": if ($lsHacer == "buscarPadri") { $lsCIyNaci = $loFuncion->DameCIyNaci($_POST["auxiliarPadrino"]); $lsNacio = $lsCIyNaci["0"]; $lscedu = $lsCIyNaci["1"]; $loPersonas->asNacionalidad = $lsNacio; $loPersonas->asCedula = $lscedu; $lbEncPersonas = $loPersonas->fbBuscarPorCedula(); if ($lbEncPersonas) { $liHay = 1; $RegistroPadrino["lsNacio"] = $loPersonas->asNacionalidad;