Neues Logo in Seminarscheine

This commit is contained in:
aschwarz 2023-04-14 08:04:19 +02:00
parent 67134db1be
commit e316571c5b
2 changed files with 36 additions and 38 deletions

View File

@ -17,7 +17,7 @@ $pdf= new utfFPDF();
#if($row2['art'] == 'SK'){ #if($row2['art'] == 'SK'){
# $pagecount = $pdf->setSourceFile("blanko_ludwigsburg_sk.pdf"); # $pagecount = $pdf->setSourceFile("blanko_ludwigsburg_sk.pdf");
#}else{ #}else{
$pagecount = $pdf->setSourceFile("blanko_ludwigsburg_ik.pdf"); $pagecount = $pdf->setSourceFile("blanko_ludwigsburg_2023.pdf");
#} #}
#$pagecount = $pdf->setSourceFile("anschreiben/aenderung_praxisstelle.pdf"); #$pagecount = $pdf->setSourceFile("anschreiben/aenderung_praxisstelle.pdf");
@ -67,43 +67,51 @@ while ($row = $result->fetch_array()){
$pdf->AddPage(); $pdf->AddPage();
$pdf->useTemplate($tplidx,0,0,0); $pdf->useTemplate($tplidx,0,0,0);
$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');
$pos = $pdf->GetY()+20;
$pdf->SetFont('ARIAL', 'B', 20); $pdf->SetY($pos);
$pdf->SetY(83); $pdf->SetFont('ARIAL', 'B', 12);
#$pdf->SetTextColor(255,0,0);
$pdf->SetFont('ARIAL', 'B', 14);
$pdf->SetY(96);
$pdf->Cell(0, 0, $row['vorname'] . ' ' . $row['nachname'], 0, 0, 'C'); $pdf->Cell(0, 0, $row['vorname'] . ' ' . $row['nachname'], 0, 0, 'C');
$pdf->SetFont('ARIAL', '', 12); $pos = $pdf->GetY()+20;
$pdf->SetY(106);
$pdf->SetX(62);
$pdf->MultiCell(160, 6, 'hat im Studienjahr 20' . $Jahr . '/20' . $Jahr2 . ' am Training:', 0, 'L');
$pos = $pdf->GetY()+26;
$pdf->SetY($pos); $pdf->SetY($pos);
$pdf->SetX(24); $pdf->SetX(24);
$pdf->MultiCell(160, 0, $row['ansprechpart'], 0, 'C'); $pdf->SetFont('ARIAL', '', 12);
$pdf->MultiCell(160, 6, 'hat im Studienjahr 20' . $Jahr . '/20' . $Jahr2 . ' im Modul Soziale Kompetenzen den Kurs:', 0, 'C');
$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()+6; $pos = $pdf->GetY()+9;
$pdf->SetY($pos); $pdf->SetY($pos);
$pdf->SetX(24); $pdf->SetX(24);
$pdf->SetFont('ARIAL', '', 12); $pdf->SetFont('ARIAL', '', 12);
$pdf->MultiCell(160, 0, 'teilgenommen.', 0, 'C'); $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->MultiCell(160, 0, 'belegt.', 0, 'C');
$pos = $pdf->GetY()+20;
$pdf->SetY(235); $pdf->SetY($pos);
$pdf->SetX(19); $pdf->SetX(24);
$pdf->Cell(0, 0, 'Ludwigsburg, ' . date("d.m.Y", time()), 0, 0, 'L'); $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); //$pdf->Image('fusszeile.jpg', 20, 267, 5.1, 12.7);

View File

@ -58,27 +58,23 @@ while ($row = $result->fetch_array()){
$pdf->AddPage(); $pdf->AddPage();
$pdf->useTemplate($tplidx,0,0,0); $pdf->useTemplate($tplidx,0,0,0);
$pdf->SetFont('ARIAL', 'B', 22); $pdf->SetFont('ARIAL', 'B', 22);
$pdf->SetY(76); $pdf->SetY(76);
#$pdf->SetTextColor(255,0,255); #$pdf->SetTextColor(255,0,255);
$pdf->Cell(0, 0, 'Bescheinigung über die Teilnahme am Sprachkurs', 0, 0, 'C'); $pdf->Cell(0, 0, 'Bescheinigung über die Teilnahme am Sprachkurs', 0, 0, 'C');
$pos = $pdf->GetY()+20; $pos = $pdf->GetY()+20;
$pdf->SetY($pos); $pdf->SetY($pos);
$pdf->SetFont('ARIAL', 'B', 12); $pdf->SetFont('ARIAL', 'B', 12);
$pdf->Cell(0, 0, $row['vorname'] . ' ' . $row['nachname'], 0, 0, 'C'); $pdf->Cell(0, 0, $row['vorname'] . ' ' . $row['nachname'], 0, 0, 'C');
$pdf->SetFont('ARIAL', '', 12);
$pos = $pdf->GetY()+20; $pos = $pdf->GetY()+20;
$pdf->SetY($pos); $pdf->SetY($pos);
$pdf->SetX(24); $pdf->SetX(24);
$pdf->SetFont('ARIAL', '', 12);
$pdf->Cell(160, 0, 'hat im Studienjahr 20' . $Jahr . '/20' . $Jahr2 . ' am Sprachkurs:', 0, 0, 'C'); $pdf->Cell(160, 0, 'hat im Studienjahr 20' . $Jahr . '/20' . $Jahr2 . ' am Sprachkurs:', 0, 0, 'C');
$pos = $pdf->GetY()+9; $pos = $pdf->GetY()+9;
$pdf->SetY($pos); $pdf->SetY($pos);
$pdf->SetX(24); $pdf->SetX(24);
$pdf->SetFont('ARIAL', 'B', 12); $pdf->SetFont('ARIAL', 'B', 12);
@ -87,29 +83,23 @@ while ($row = $result->fetch_array()){
$pdf->MultiCell(160, 6, '"'.$bezeichnung.'" '.$niveau.'*', 0, 'C'); $pdf->MultiCell(160, 6, '"'.$bezeichnung.'" '.$niveau.'*', 0, 'C');
$pos = $pdf->GetY()+9; $pos = $pdf->GetY()+9;
$pdf->SetY($pos); $pdf->SetY($pos);
$pdf->SetX(24); $pdf->SetX(24);
$pdf->SetFont('ARIAL', '', 12); $pdf->SetFont('ARIAL', '', 12);
$pdf->Cell(160, 0, 'unter der Leitung von: '.$row['ansprechpart'], 0, 0, 'C'); $pdf->Cell(160, 0, 'unter der Leitung von: '.$row['ansprechpart'], 0, 0, 'C');
$pos = $pdf->GetY()+9; $pos = $pdf->GetY()+9;
$pdf->SetY($pos); $pdf->SetY($pos);
$pdf->SetX(24); $pdf->SetX(24);
$pdf->SetFont('ARIAL', '', 12); $pdf->SetFont('ARIAL', '', 12);
$pdf->Cell(160, 0, 'teilgenommen.', 0, 0, 'C'); $pdf->Cell(160, 0, 'teilgenommen.', 0, 0, 'C');
$pos = $pdf->GetY()+20; $pos = $pdf->GetY()+20;
$pdf->SetY($pos); $pdf->SetY($pos);
$pdf->SetX(19); $pdf->SetX(19);
$pdf->Cell(0, 0, 'Ludwigsburg, ' . date("d.m.Y", time()), 0, 0, 'L'); $pdf->Cell(0, 0, 'Ludwigsburg, ' . date("d.m.Y", time()), 0, 0, 'L');
$pos = $pdf->GetY()+9; $pos = $pdf->GetY()+9;
$pdf->SetY($pos); $pdf->SetY($pos);
$pdf->SetX(24); $pdf->SetX(24);
$pdf->SetFont('ARIAL', '', 9); $pdf->SetFont('ARIAL', '', 9);