diff --git a/admin/kompetenzscheine/blanko_ludwigsburg_2023.pdf b/admin/kompetenzscheine/blanko_ludwigsburg_2023.pdf new file mode 100644 index 0000000..c8c553a Binary files /dev/null and b/admin/kompetenzscheine/blanko_ludwigsburg_2023.pdf differ diff --git a/admin/kompetenzscheine/seminarscheine.php b/admin/kompetenzscheine/seminarscheine.php index b081043..2c9ed09 100755 --- a/admin/kompetenzscheine/seminarscheine.php +++ b/admin/kompetenzscheine/seminarscheine.php @@ -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);