//imagen de fondo
$pdf->Image("../img/img_certificados/" . $fondo, 0, 0, 300, 300);
//cintillo
$pdf->Image("../img/gob_bolivariano.png", 16, 5, 70, 20);
$pdf->Image("../img/img_certificados/" . $logo, 250, 5, 20, 20);
$pdf->SetFont('Arial', 'B', 20);
$pdf->SetFillColor(159, 182, 205);
$pdf->ln(70);
$pdf->Cell(0, 5, "Se le otorga el siguiente certificado a:", 0, 0, 'C', 0);
$pdf->ln(20);
$pdf->Cell(0, 5, $_SESSION["nom_us"], 0, 0, 'C', 0);
$pdf->ln(20);
$pdf->Cell(0, 5, "Por haber aprobado el curso de " . $aula_virtual, 0, 0, 'C', 0);
$pdf->SetMargins(50, 5, 30);
$pdf->ln(20);
$pdf->SetFont('Arial', 'B', 14);
$pdf->Cell(30, 5, "Facilitador:", 0, 0, 'C', 0);
$pdf->Cell(140, 5, "Presidente INJ:", 0, 0, 'R', 0);
$pdf->ln();
$pdf->Cell(30, 5, $rs[0][1], 0, 0, 'L', 0);
$pdf->cell(160, 5, $rs[0][4], 0, 0, 'R', 0);
$pdf->ln();
$pdf->Cell(30, 5, $rs[0][2], 0, 0, 'L', 0);
$pdf->cell(114, 5, $rs[0][5], 0, 0, 'R', 0);
$pdf->ln();
$pdf->Image("../img/firmas/" . $firma_usuario, 49, 160, 30, 30);
$pdf->Image("../img/firmas/" . $firma_presidente, 180, 160, 30, 30);
//
$pdf->SetMargins(10, 5, 10);
//$pdf->Footer();
$pdf->Output();
//imagen de fondo
$pdf->Image("../img/img_certificados/" . $fondo, 0, 0, 300, 300);
//cintillo
$pdf->Image("../img/gob_bolivariano.png", 16, 5, 70, 20);
$pdf->Image("../img/img_certificados/" . $logo, 250, 5, 20, 20);
$pdf->SetFont('Arial', 'B', 20);
$pdf->SetFillColor(159, 182, 205);
$pdf->ln(70);
$pdf->Cell(0, 5, "Se le otorga el siguiente certificado a:", 0, 0, 'C', 0);
$pdf->ln(20);
$pdf->Cell(0, 5, "_____________________________________________", 0, 0, 'C', 0);
$pdf->ln(20);
$pdf->Cell(0, 5, "Por haber aprobado el curso de " . $aula_virtual, 0, 0, 'C', 0);
$pdf->SetMargins(50, 5, 30);
$pdf->ln(20);
$pdf->SetFont('Arial', 'B', 14);
$pdf->Cell(30, 5, "Facilitador:", 0, 0, 'C', 0);
$pdf->Cell(140, 5, "Presidente INJ:", 0, 0, 'R', 0);
$pdf->ln();
$pdf->Cell(30, 5, utf8_decode($rs[0][1]), 0, 0, 'L', 0);
$pdf->cell(160, 5, utf8_decode($rs[0][4]), 0, 0, 'R', 0);
$pdf->ln();
$pdf->Cell(30, 5, $rs[0][2], 0, 0, 'L', 0);
$pdf->cell(114, 5, $rs[0][5], 0, 0, 'R', 0);
$pdf->ln();
$pdf->Image("../img/firmas/" . $firma_usuario, 49, 160, 30, 30);
$pdf->Image("../img/firmas/" . $firma_presidente, 180, 160, 30, 30);
//
$pdf->SetMargins(10, 5, 10);
//$pdf->Footer();
$pdf->Output();