Neues Logo in Seminarscheine

This commit is contained in:
aschwarz 2023-04-14 07:53:46 +02:00
parent d075d2b9a0
commit 67134db1be
2 changed files with 26 additions and 14 deletions

Binary file not shown.

View File

@ -12,15 +12,7 @@ require_once("../../prints3/table_def.inc");
$pdf= new utfFPDF();
#if($row2['art'] == 'SK'){
$pagecount = $pdf->setSourceFile("blanko_ludwigsburg_sk.pdf");
#}else{
# $pagecount = $pdf->setSourceFile("blanko_ludwigsburg_ik.pdf");
#}
#$pagecount = $pdf->setSourceFile("anschreiben/aenderung_praxisstelle.pdf");
$pagecount = $pdf->setSourceFile("blanko_ludwigsburg_2023.pdf");
$tplidx = $pdf->ImportPage(1);
@ -67,19 +59,25 @@ while ($row = $result->fetch_array()){
$pdf->useTemplate($tplidx,0,0,0);
$pdf->SetFont('ARIAL', 'B', 22);
$pdf->SetY(76);
#$pdf->SetTextColor(255,0,255);
$pdf->Cell(0, 0, 'Bescheinigung über die Teilnahme am Sprachkurs', 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);
$pdf->SetY(109);
$pos = $pdf->GetY()+20;
$pdf->SetY($pos);
$pdf->SetX(24);
$pdf->Cell(160, 0, 'hat im Studienjahr 20' . $Jahr . '/20' . $Jahr2 . ' am Sprachkurs:', 0, 0, 'C');
$pos = $pdf->GetY()+8;
$pos = $pdf->GetY()+9;
$pdf->SetY($pos);
$pdf->SetX(24);
@ -95,14 +93,28 @@ while ($row = $result->fetch_array()){
$pdf->SetFont('ARIAL', '', 12);
$pdf->Cell(160, 0, 'unter der Leitung von: '.$row['ansprechpart'], 0, 0, 'C');
$pos = $pdf->GetY()+9;
$pdf->SetY($pos);
$pdf->SetX(24);
$pdf->SetFont('ARIAL', '', 12);
$pdf->Cell(160, 0, 'teilgenommen.', 0, 0, 'C');
$pos = $pdf->GetY()+41;
$pos = $pdf->GetY()+20;
$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_Name = "SK_" . $row['FPRNr'] . '_' . $row['Jahrgang'] . ".pdf";