$lobjPdf->SetFont("arial", "B", 12);
$lobjPdf->Cell(50, 6, utf8_decode('Tipo de construcción'), 1, 0, "C");
$lobjPdf->SetFont("arial", "", 12);
$lobjPdf->Cell(50, 6, utf8_decode($row_participante[13]), 1, 1, "C");
$lobjPdf->SetFont("arial", "B", 12);
$lobjPdf->Cell(50, 6, utf8_decode('Institución'), 1, 0, "C");
$lobjPdf->SetFont("arial", "", 12);
$lobjPdf->Cell(50, 6, utf8_decode($row_participante[16]), 1, 0, "C");
$lobjPdf->SetFont("arial", "B", 12);
$lobjPdf->Cell(50, 6, utf8_decode('Diagnóstico'), 1, 0, "C");
$lobjPdf->SetFont("arial", "", 12);
$lobjPdf->Cell(50, 6, utf8_decode($row_participante[15]), 1, 1, "C");
$lobjPdf->SetFont("arial", "B", 12);
$lobjPdf->Cell(50, 6, utf8_decode('Dirección'), 1, 0, "C");
$lobjPdf->SetFont("arial", "", 12);
$lobjPdf->MultiCell(150, 6, utf8_decode($row_participante[8]), 1, "L");
if ($row_cursos) {
    for ($i = 0; $i < count($row_cursos); $i++) {
        if ($tmpvar != $row_cursos[$i][1]) {
            $tmpvar = $row_cursos[$i][1];
            $lobjPdf->Ln(6);
            $lobjPdf->SetFont("arial", "B", 12);
            $lobjPdf->Cell(200, 6, utf8_decode("HISTORIAL DE CURSOS " . $row_cursos[$i][1]), 1, 1, "C");
            $lobjPdf->SetFont("arial", "B", 12);
            $lobjPdf->Cell(40, 6, utf8_decode('Grupo'), 1, 0, "C");
            $lobjPdf->Cell(50, 6, utf8_decode('Asignatura'), 1, 0, "C");
            $lobjPdf->Cell(70, 6, utf8_decode('Nombre'), 1, 0, "C");
            $lobjPdf->Cell(40, 6, utf8_decode('Aula'), 1, 1, "C");
            $lobjPdf->SetFont("arial", "", 12);
            $lobjPdf->Cell(40, 6, utf8_decode($row_cursos[$i][4]), 1, 0, "C");
            $lobjPdf->Cell(50, 6, utf8_decode($row_cursos[$i][2]), 1, 0, "C");
     $arr['fotocopia_ci'][$ind] = $sacar_datos['fotocopia_ci'];
     $arr['partida_nacimiento'][$ind] = $sacar_datos['partida_nacimiento'];
     $arr['boleta_promocion'][$ind] = $sacar_datos['boleta_promocion'];
     $arr['certificado_calificaciones'][$ind] = $sacar_datos['certificado_calificaciones'];
     $arr['constancia_buenaconducta'][$ind] = $sacar_datos['constancia_buenaconducta'];
     $arr['fotos_estudiante'][$ind] = $sacar_datos['fotos_estudiante'];
     $arr['boleta_zonificacion'][$ind] = $sacar_datos['boleta_zonificacion'];
     $arr['fotocopia_ci_representante'][$ind] = $sacar_datos['fotocopia_ci_representante'];
     $arr['fotos_representante'][$ind] = $sacar_datos['fotos_representante'];
     $arr['otro_documento'][$ind] = $sacar_datos['otro_documento'];
     $arr['cual_documento'][$ind] = $sacar_datos['cual_documento'];
     $arr['observacion_documentos'][$ind] = $sacar_datos['observacion_documentos'];
 }
 $lobjPdf->SetFont('Arial', '', 8);
 $lobjPdf->SetXY(25, 40);
 $lobjPdf->MultiCell(20, 10, 'Foto Estudiante', 1, 'C', false);
 $lobjPdf->SetFont('Arial', 'B', 12);
 $lobjPdf->SetXY(5, 50);
 $lobjPdf->Cell(0, 6, 'FICHA DE INSCRIPCIÓN', 0, 1, "C");
 $lobjPdf->SetFont('Arial', '', 8);
 $lobjPdf->SetXY(160, 40);
 $lobjPdf->MultiCell(25, 10, 'Foto Representante', 1, 'C', false);
 $lobjPdf->Ln(2);
 $lobjPdf->SetFont('Arial', 'B', 10);
 $lobjPdf->SetFont('Arial', '', 8);
 $lobjPdf->Cell(30, 5, 'FECHA ' . $arr['fecha_inscripcion'][0], 1, 0);
 $lobjPdf->Cell(50, 5, 'AÑO ESCOLAR: ' . $arr['ano_academico'][0], 1, 0);
 $lobjPdf->Cell(110, 5, 'Prof. Responsable: ' . $arr['responsable'][0], 1, 1);
 $lobjPdf->SetFont('Arial', 'B', 10);
 $lobjPdf->Cell(190, 5, 'I.-DATOS DEL ESTUDIANTE', 1, 1);
 $lobjPdf->SetFont('Arial', '', 8);
$lobjPdf->SetFont("arial", "B", 12);
$lobjPdf->Cell(50, 6, utf8_decode('Edad:'), 0, 0, "C");
$lobjPdf->SetFont("arial", "", 12);
$lobjPdf->Cell(50, 6, utf8_decode($row_participante[20]), 'B', 1, "L");
$lobjPdf->SetFont("arial", "B", 12);
$lobjPdf->Cell(50, 6, utf8_decode('Sexo:'), 0, 0, "C");
$lobjPdf->SetFont("arial", "", 12);
$lobjPdf->Cell(50, 6, utf8_decode($row_participante[6]), 'B', 0, "L");
$lobjPdf->SetFont("arial", "B", 12);
$lobjPdf->Cell(50, 6, utf8_decode('Cédula:'), 0, 0, "C");
$lobjPdf->SetFont("arial", "", 12);
$lobjPdf->Cell(50, 6, utf8_decode($row_participante[18] . '-' . number_format($row_participante[1], 0, '', '.')), 'B', 1, "L");
$lobjPdf->SetFont("arial", "B", 12);
$lobjPdf->Cell(50, 6, utf8_decode('Dirección:'), 0, 0, "C");
$lobjPdf->SetFont("arial", "", 12);
$lobjPdf->MultiCell(150, 6, utf8_decode($row_participante[8]), 'B', "L");
$lobjPdf->SetFont("arial", "B", 12);
$lobjPdf->Cell(50, 6, utf8_decode('Teléfono:'), 0, 0, "C");
$lobjPdf->SetFont("arial", "", 12);
$lobjPdf->Cell(50, 6, utf8_decode($row_participante[7]), 'B', 0, "L");
$lobjPdf->SetFont("arial", "B", 12);
$lobjPdf->Cell(50, 6, utf8_decode('Correo:'), 0, 0, "C");
$lobjPdf->SetFont("arial", "", 12);
$lobjPdf->Cell(50, 6, utf8_decode($row_participante[21]), 'B', 1, "L");
$lobjPdf->SetFont("arial", "B", 12);
$lobjPdf->Cell(50, 6, utf8_decode('Etnia:'), 0, 0, "C");
$lobjPdf->SetFont("arial", "", 12);
$lobjPdf->Cell(50, 6, utf8_decode($row_participante[19] == '1' ? 'SI' : 'NO'), 'B', 0, "L");
$lobjPdf->SetFont("arial", "B", 12);
$lobjPdf->Cell(50, 6, utf8_decode('Braille:'), 0, 0, "C");
$lobjPdf->SetFont("arial", "", 12);
Exemple #4
0
$lobjPdf->SetFont("arial", "B", 10);
$lobjPdf->Cell(75, 6, utf8_decode('DOCENTE ESPECIALISTA:'), 0, 0, "C");
$lobjPdf->SetFont("arial", "", 10);
$lobjPdf->Cell(175, 6, utf8_decode($row_evaluacion['nombreunodoc'] . ' ' . $row_evaluacion['apellidounodoc']), 'B', 1, "L");
$lobjPdf->SetFont("arial", "B", 10);
$lobjPdf->Cell(75, 6, utf8_decode('FECHA:'), 0, 0, "C");
$lobjPdf->SetFont("arial", "", 10);
$lobjPdf->Cell(50, 6, utf8_decode($fecha), 'B', 1, "L");
$lobjPdf->Ln(10);
$lobjPdf->SetFont("arial", "B", 12);
$lobjPdf->Cell(0, 6, utf8_decode("2.- DATOS DE LOS LOGROS"), 0, 1, "L");
$lobjPdf->Ln(5);
for ($i = 0; $i < count($row_criterios); $i++) {
    if ($row_criterios[$i][3] == 'completo') {
        $lobjPdf->SetFont("arial", "B", 10);
        $lobjPdf->Cell(75, 6, utf8_decode($row_criterios[$i][2] . ': '), 0, 0, "C");
        $lobjPdf->SetFont("arial", "", 10);
        $lobjPdf->MultiCell(175, 6, utf8_decode(''), 'B', "L");
    } elseif ($row_criterios[$i][3] == 'mitad' && $i % 2 != 0) {
        $lobjPdf->SetFont("arial", "B", 10);
        $lobjPdf->Cell(40, 6, utf8_decode($row_criterios[$i][2] . ': '), 0, 0, "C");
        $lobjPdf->SetFont("arial", "", 10);
        $lobjPdf->Cell(85, 6, utf8_decode(''), 'B', 0, "L");
    } elseif ($row_criterios[$i][3] == 'mitad' && $i % 2 == 0) {
        $lobjPdf->SetFont("arial", "B", 10);
        $lobjPdf->Cell(40, 6, utf8_decode($row_criterios[$i][2] . ': '), 0, 0, "C");
        $lobjPdf->SetFont("arial", "", 10);
        $lobjPdf->Cell(85, 6, utf8_decode(''), 'B', 1, "L");
    }
}
$lobjPdf->Output();
$lobjPdf->SetFont("arial", "", 10);
$lobjPdf->Cell(75, 6, utf8_decode($laCurso[11]), 'B', 1, "L");
$lobjPdf->SetFont("arial", "B", 12);
$lobjPdf->Ln(5);
$lobjPdf->Cell(0, 6, utf8_decode("2.- DATOS DE LA ASISTENCIA"), 0, 1, "L");
$lobjPdf->Ln(5);
$lobjPdf->SetFont("arial", "B", 12);
$lobjPdf->Cell(20, 6, utf8_decode('ASISTIÓ'), 1, 0, "C");
$lobjPdf->Cell(70, 6, utf8_decode('UNIDAD'), 1, 0, "C");
$lobjPdf->Cell(100, 6, utf8_decode('OBJETIVOS'), 1, 1, "C");
$lobjPdf->SetFont("arial", "", 10);
$lobjPdf->Cell(20, 6, utf8_decode($laAsistencia[2]), 1, 0, "C");
for ($j = 0; $j < count($laAsistencia[4]); $j++) {
    $lobjPdf->Cell(70, 6, utf8_decode($laAsistencia[4][$j][1]), 1, 0, "C");
}
if ($j == 0) {
    $lobjPdf->Cell(70, 6, utf8_decode('-'), 1, 0, "C");
}
for ($j = 0; $j < count($laAsistencia[5]); $j++) {
    $lobjPdf->MultiCell(100, 6, utf8_decode($j + 1 . '.-' . $laAsistencia[5][$j][1]), 1, "C");
}
if ($j == 0) {
    $lobjPdf->MultiCell(100, 6, utf8_decode('-'), 1, "C");
}
$lobjPdf->Ln(6);
$lobjPdf->SetFont("arial", "B", 10);
$lobjPdf->Cell(35, 6, utf8_decode('OBSERVACIONES:'), 0, 0, "L");
$lobjPdf->SetFont("arial", "", 10);
$lobjPdf->Cell(155, 6, utf8_decode($laAsistencia[3]), 'B', 1, "L");
$lobjPdf->Ln(6);
$lobjPdf->Output();