Neues Logo in Seminarscheine

This commit is contained in:
aschwarz 2023-04-14 09:44:42 +02:00
parent 31a4c3c5bc
commit d9dbf93aa9
2 changed files with 28 additions and 17 deletions

Binary file not shown.

View File

@ -43,9 +43,8 @@ $pdf= new utfFPDF();
$pagecount = $pdf->setSourceFile("blanko_ludwigsburg.pdf");
$pagecount = $pdf->setSourceFile("blanko_ludwigsburg_2023.pdf");
#$pagecount = $pdf->setSourceFile("anschreiben/aenderung_praxisstelle.pdf");
$tplidx = $pdf->ImportPage(1);
while ($row = $result->fetch_array()){
@ -75,44 +74,56 @@ while ($row = $result->fetch_array()){
$pdf->SetFont('ARIAL', 'B', 22);
$pdf->SetY(76);
#$pdf->SetTextColor(255,0,255);
$pdf->Cell(0, 0, 'Bescheinigung für Soziale Kompetenzen', 0, 0, 'C');
$pdf->SetFont('ARIAL', 'B', 14);
$pdf->SetY(96);
$pos = $pdf->GetY()+20;
$pdf->SetY($pos);
$pdf->SetFont('ARIAL', 'B', 12);
$pdf->Cell(0, 0, $row['vorname'] . ' ' . $row['nachname'], 0, 0, 'C');
$pdf->SetFont('ARIAL', '', 12);
$pos = $pdf->GetY()+13;
$pos = $pdf->GetY()+20;
$pdf->SetY($pos);
$pdf->SetX(24);
$pdf->SetFont('ARIAL', '', 12);
$pdf->Cell(160, 0, 'hat im Studienjahr 20' . $Jahr . '/20' . $Jahr2 . ' im Modul Soziale Kompetenzen den Kurs:', 0, 0, 'C');
$pos = $pdf->GetY()+8;
$pos = $pdf->GetY()+9;
$pdf->SetY($pos);
$pdf->SetX(24);
$pdf->SetFont('ARIAL', 'B', 12);
$bezeichnung = str_replace("", "-", $row['Bezeichnung']);
$pdf->MultiCell(160, 6, $bezeichnung, 0, 'C');
$pos = $pdf->GetY()+35;
$pos = $pdf->GetY()+9;
$pdf->SetY($pos);
$pdf->SetFont('ARIAL', '', 12);
$pdf->Cell(0, 0, 'unter der Leitung von:', 0, 0, 'C');
$pos = $pdf->GetY()+9;
$pdf->SetY($pos);
$pdf->SetX(24);
$pdf->MultiCell(160, 0, $row['ansprechpart'], 0, 'C');
$pos = $pdf->GetY()+9;
$pdf->SetY($pos);
$pdf->SetX(10);
$pdf->SetFont('ARIAL', '', 12);
$pdf->Cell(0, 0, 'belegt.', 0, 0, 'C');
$pos = $pdf->GetY()+35;
$pos = $pdf->GetY()+20;
$pdf->SetY($pos);
$pdf->SetX(19);
$pdf->SetFont('ARIAL', '', 12);
$pdf->Cell(0, 0, 'Ludwigsburg, ' . date("d.m.Y", time()), 0, 0, 'L');
$pos = $pdf->GetY()+22;
$pos = $pdf->GetY()+9;
$pdf->SetY($pos);
$pdf->SetX(38);
$pdf->SetX(24);
$pdf->SetFont('ARIAL', '', 9);
$pdf->Cell(160, 0, 'Diese Bescheinigung wurde maschinell erstellt und ist ohne Unterschrift gültig!', 0, 0, 'R');
//$pdf->Image('fusszeile.jpg', 20, 267, 5.1, 12.7);