Datenstand V1.0

This commit is contained in:
2016-07-05 20:38:34 +00:00
parent 5a75f609e5
commit 5ea463a308
1027 changed files with 141480 additions and 0 deletions

20
pdf/kfz_header.php Normal file
View File

@@ -0,0 +1,20 @@
<?php
$sql = "SELECT * FROM ".PREFIX."_KfZ WHERE ID = \"".$nt['KfZ_ID']."\";";
$resultkfz =$db->query($sql);
if ($ntkfz = $resultkfz->fetch_assoc()) {
$pdf->Write(4, "\n");
$pdf->Cell(48, 4, "Fahrzeug:", 'LTR');
$pdf->Cell(35, 4, "Kennzeichen:", 'TR');
$pdf->Cell(35, 4, "KM-Stand:", 'TR');
$pdf->Cell(62, 4, "Fahrzeug-Ident:", 'TR', 1);
$pdf->Cell(48, 4, $ntkfz['Marke']." ".$ntkfz['Modell'], 'LRB');
$pdf->Cell(35, 4, $ntkfz['Kennzeichen'], 'RB');
$pdf->Cell(35, 4, number_format($ntkfz['Kilometerlaufleistung'], '0', ',', '.'), 'RB');
$pdf->Cell(62, 4, $ntkfz['Fzg_Ident_Nr'], 'RB');
$pdf->SetY(117);
} else {
$pdf->SetY(107);
}
?>