diff --git a/admin/proseminarscheine/blanko_ludwigsburg_2023.pdf b/admin/proseminarscheine/blanko_ludwigsburg_2023.pdf new file mode 100644 index 0000000..c8c553a Binary files /dev/null and b/admin/proseminarscheine/blanko_ludwigsburg_2023.pdf differ diff --git a/admin/proseminarscheine/seminarscheine.php b/admin/proseminarscheine/seminarscheine.php index a466361..8fe3c67 100755 --- a/admin/proseminarscheine/seminarscheine.php +++ b/admin/proseminarscheine/seminarscheine.php @@ -36,9 +36,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()){ @@ -71,47 +70,45 @@ while ($row = $result->fetch_array()){ $pdf->SetFont('ARIAL', 'B', 22); $pdf->SetY(76); #$pdf->SetTextColor(255,0,255); - $pdf->Cell(0, 0, 'Proseminarbescheinigung', 0, 0, 'C'); + $pdf->Cell(0, 0, 'Bescheinigung über die Teilnahme am Proseminar', 0, 0, 'C'); - $pdf->SetFont('ARIAL', 'B', 14); - - $pdf->SetY(97); + $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); - $pdf->SetY(109); - $pdf->SetX(10); - $pdf->Cell(0, 0, 'hat im Studienjahr 20' . $Jahr . '/20' . $Jahr2 . ' im Proseminar:', 0, 0, 'C'); - - $pos = $pdf->GetY()+9; + $pos = $pdf->GetY()+20; $pdf->SetY($pos); - $pdf->SetX(51); + $pdf->SetX(24); + $pdf->SetFont('ARIAL', '', 12); + $pdf->MultiCell(160, 6, 'hat im Studienjahr 20' . $Jahr . '/20' . $Jahr2 . ' im Proseminar:', 0, 'C'); + + $pos = $pdf->GetY()+9; + $pdf->SetY($pos); + $pdf->SetX(24); $pdf->SetFont('ARIAL', 'B', 12); - $bezeichnung = str_replace("–", "-", $row['Bezeichnung']); - $pdf->MultiCell(110, 6, $bezeichnung, 0, 'C'); + $pdf->MultiCell(160, 6, $bezeichnung, 0, 'C'); - - $pos = $pdf->GetY()+8; + $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()+6; + $pos = $pdf->GetY()+9; $pdf->SetY($pos); $pdf->SetX(10); $pdf->Cell(0, 0, $row['ansprechpart'], 0, 0, 'C'); - $pos = $pdf->GetY()+12; - + $pos = $pdf->GetY()+9; $pdf->SetY($pos); $pdf->SetX(10); $pdf->SetFont('ARIAL', '', 12); $pdf->Cell(0, 0, 'zum Thema:', 0, 0, 'C'); - $pos = $pdf->GetY()+12; + $pos = $pdf->GetY()+9; $pdf->SetY($pos); $pdf->SetX(25); @@ -120,8 +117,7 @@ while ($row = $result->fetch_array()){ $thema = str_replace("–", "-", $row['Thema']); $pdf->MultiCell(160, 6, $thema, 0, 'C'); - $pos = $pdf->GetY()+12; - + $pos = $pdf->GetY()+9; $pdf->SetY($pos); $pdf->SetX(10); $pdf->SetFont('ARIAL', '', 12); @@ -155,12 +151,17 @@ while ($row = $result->fetch_array()){ $pdf->Cell(0, 0, '(' . $Note . ')', 0, 0, 'C'); */ - $pos = $pdf->GetY()+32; + $pos = $pdf->GetY()+20; $pdf->SetFont('ARIAL', '', 12); $pdf->SetY($pos); $pdf->SetX(19); $pdf->Cell(0, 0, 'Ludwigsburg, ' . date("d.m.Y", time()), 0, 0, 'L'); + $pos = $pdf->GetY()+9; + $pdf->SetY($pos); + $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);