$this->Row(array(utf8_decode("\nFecha de inicio: {$rowPas['fecha_inicio']}"), utf8_decode("\nFecha de finalización: {$rowPas['fecha_fin']}"))); if ($rowPas['tiempo_completo'] == TRUE) { $this->SetWidths(array(45, 45, 17.5, 45, 17.5)); $this->SetAligns(array('L')); $this->Row(array(utf8_decode("\nTiempo de pasantía: "), utf8_decode("\nTiempo completo: "), utf8_decode(" \n X "), utf8_decode("\nMedio tiempo: "), utf8_decode("\n"))); } else { $this->SetWidths(array(45, 45, 17.5, 45, 17.5)); $this->SetAligns(array('L')); $this->Row(array(utf8_decode("\nTiempo de pasantía: "), utf8_decode("\nTiempo completo: "), utf8_decode("\n"), utf8_decode("\nMedio tiempo: "), utf8_decode(" \n X "))); } $this->SetX(20); $this->SetWidths(array(170)); $this->SetAligns(array('L')); $this->Row(array(utf8_decode("\nHorario de trabajo del Pasante: {$rowPas['horario']}"))); $this->SetX(20); $this->SetWidths(array(170)); $this->SetAligns(array('L')); $this->Row(array(utf8_decode("\nActividades a realizar por el pasante: \n\n{$rowPas['actividades']}"))); $this->SetX(20); $this->SetWidths(array(56, 57, 57)); $this->SetAligns(array('L')); $this->Row(array(utf8_decode("\nFirma del Pasante: "), utf8_decode("\nFirma del Supervisor Inmediato: \n\n\n\n\n "), utf8_decode("\nFirma del Coordinador de Pasantías: "))); } } //Main $pdf = new PDF_MC_Table('P', 'mm', 'Letter'); $pdf->AliasNbPages(); $pdf->AddPage(); $pdf->Membrete(); $pdf->formatoTabla(); $pdf->Output("formato_dpe_pas_002.pdf", "D");