Einchecken des Online-Codes
This commit is contained in:
139
inhalte/pdf/akauf.php
Normal file
139
inhalte/pdf/akauf.php
Normal file
@@ -0,0 +1,139 @@
|
||||
<?php
|
||||
$pdf->Write(8, "Eigenschaften\n");
|
||||
$pdf->SetFont('Helvetica', '', 10);
|
||||
$pdf->Cell(40, 4, "Land");
|
||||
$pdf->Cell(40, 4, $nt['Land'], '', 1, 'R');
|
||||
if (eregi('Wohnung', $nt['Art']) OR eregi('wohnung', $nt['Art'])) {
|
||||
$pdf->Cell(40, 4, "Wohnungstyp");
|
||||
} else {
|
||||
$pdf->Cell(40, 4, "Haustyp");
|
||||
}
|
||||
$pdf->Cell(40, 4, $nt['Art'], '', 1, 'R');
|
||||
$pdf->Cell(40, 4, "Baujahr");
|
||||
$pdf->Cell(40, 4, $nt['Baujahr'], '', 1, 'R');
|
||||
$pdf->Cell(40, 4, "Zimmer");
|
||||
$pdf->Cell(40, 4, $nt['Zimmer'], '', 1, 'R');
|
||||
$pdf->Cell(40, 4, "Wohnfläche ca");
|
||||
$pdf->Cell(40, 4, $nt['WohnF']." m²", '', 1, 'R');
|
||||
$pdf->Cell(40, 4, "Grundstücksfläche");
|
||||
$pdf->Cell(40, 4, $nt['GrundF']." m²", '', 1, 'R');
|
||||
$pdf->Cell(40, 4, "Etage");
|
||||
$pdf->Cell(40, 4, $nt['Etage'], '', 1, 'R');
|
||||
$pdf->Cell(40, 4, "Bezug zum");
|
||||
$pdf->Cell(40, 4, $nt['Bezug'], '', 1, 'R');
|
||||
$pdf->Cell(40, 4, "Hausmeisterservice");
|
||||
$pdf->Cell(40, 4, $nt['HausMS'], '', 1, 'R');
|
||||
$pdf->Write(4, "\n");
|
||||
|
||||
$pdf->SetFont('Helvetica', '', 12);
|
||||
$pdf->Write(8, "Kosten\n");
|
||||
$pdf->SetFont('Helvetica', '', 10);
|
||||
$pdf->Cell(40, 4, "Kaufpreis");
|
||||
$pdf->Cell(40, 4, number_format ( $nt['Mkalt'], 0, ',', '.' ) ." €", '', 1, 'R');
|
||||
$pdf->Cell(40, 4, "Nebenkosten");
|
||||
$pdf->Cell(40, 4, number_format ( $nt['NebenK'], 0, ',', '.' )." €", '', 1, 'R');
|
||||
$pdf->Cell(40, 4, "zzgl. Garage");
|
||||
$pdf->Cell(40, 4, number_format ( $nt['GaraK'], 0, ',', '.' )." €", '', 1, 'R');
|
||||
$pdf->Cell(40, 4, "zzgl. Stellplatz");
|
||||
$pdf->Cell(40, 4, number_format ( $nt['StellK'], 0, ',', '.' )." €", '', 1, 'R');
|
||||
$pdf->Cell(40, 4, "Ablöse Einbauküche");
|
||||
$pdf->Cell(40, 4, number_format ( $nt['EBKK'], 0, ',', '.' )." €", '', 1, 'R');
|
||||
$pdf->Cell(40, 4, "Sonstige Kosten");
|
||||
$pdf->Cell(40, 4, number_format ( $nt['SonK'], 0, ',', '.' )." €", '', 1, 'R');
|
||||
$pdf->Write(4, "\n");
|
||||
|
||||
$pdf->SetFont('Helvetica', '', 12);
|
||||
$pdf->Write(8, "Ausstattung\n");
|
||||
$pdf->SetFont('Helvetica', '', 10);
|
||||
$pdf->Cell(40, 4, "Abstellraum");
|
||||
if ("0" == $nt['Abstell']) {
|
||||
$pdf->Cell(40, 4, "nein", '', 1, 'R');
|
||||
} else {
|
||||
$pdf->Cell(40, 4, "ja", '', 1, 'R');
|
||||
}
|
||||
$pdf->Cell(40, 4, "Dachboden");
|
||||
if ("0" == $nt['DachB']) {
|
||||
$pdf->Cell(40, 4, "nein", '', 1, 'R');
|
||||
} else {
|
||||
$pdf->Cell(40, 4, "ja", '', 1, 'R');
|
||||
}
|
||||
$pdf->Cell(40, 4, "Keller");
|
||||
if ("0" == $nt['Keller']) {
|
||||
$pdf->Cell(40, 4, "nein", '', 1, 'R');
|
||||
} else {
|
||||
$pdf->Cell(40, 4, "ja", '', 1, 'R');
|
||||
}
|
||||
$pdf->Cell(40, 4, "Heizart");
|
||||
$pdf->Cell(40, 4, $nt['Heizart'], '', 1, 'R');
|
||||
$pdf->Cell(40, 4, "Waschmaschine");
|
||||
$pdf->Cell(40, 4, $nt['WaschOrt'], '', 1, 'R');
|
||||
$pdf->Cell(40, 4, "TV-Anschluss");
|
||||
$pdf->Cell(40, 4, $nt['TV'], '', 1, 'R');
|
||||
$pdf->Cell(40, 4, "Einbauküche");
|
||||
if ("0" == $nt['EinbauK']) {
|
||||
$pdf->Cell(40, 4, "nein", '', 1, 'R');
|
||||
} else {
|
||||
$pdf->Cell(40, 4, "ja", '', 1, 'R');
|
||||
}
|
||||
$pdf->Cell(40, 4, "Speisekammer");
|
||||
if ("0" == $nt['Speise']) {
|
||||
$pdf->Cell(40, 4, "nein", '', 1, 'R');
|
||||
} else {
|
||||
$pdf->Cell(40, 4, "ja", '', 1, 'R');
|
||||
}
|
||||
$pdf->Cell(40, 4, "Badewanne");
|
||||
if ("0" == $nt['BadeW']) {
|
||||
$pdf->Cell(40, 4, "nein", '', 1, 'R');
|
||||
} else {
|
||||
$pdf->Cell(40, 4, "ja", '', 1, 'R');
|
||||
}
|
||||
$pdf->Cell(40, 4, "Dusche");
|
||||
if ("0" == $nt['DuschK']) {
|
||||
$pdf->Cell(40, 4, "nein", '', 1, 'R');
|
||||
} else {
|
||||
$pdf->Cell(40, 4, "ja", '', 1, 'R');
|
||||
}
|
||||
$pdf->Cell(40, 4, "WC separat");
|
||||
if ("0" == $nt['WCsep']) {
|
||||
$pdf->Cell(40, 4, "nein", '', 1, 'R');
|
||||
} else {
|
||||
$pdf->Cell(40, 4, "ja", '', 1, 'R');
|
||||
}
|
||||
$pdf->Cell(40, 4, "WC im Bad");
|
||||
if ("0" == $nt['WCbad']) {
|
||||
$pdf->Cell(40, 4, "nein", '', 1, 'R');
|
||||
} else {
|
||||
$pdf->Cell(40, 4, "ja", '', 1, 'R');
|
||||
}
|
||||
$pdf->Cell(40, 4, "Garage");
|
||||
if ("0" == $nt['Garage']) {
|
||||
$pdf->Cell(40, 4, "nein", '', 1, 'R');
|
||||
} else {
|
||||
$pdf->Cell(40, 4, "ja", '', 1, 'R');
|
||||
}
|
||||
$pdf->Cell(40, 4, "Stellplatz");
|
||||
if ("0" == $nt['StellPl']) {
|
||||
$pdf->Cell(40, 4, "nein", '', 1, 'R');
|
||||
} else {
|
||||
$pdf->Cell(40, 4, "ja", '', 1, 'R');
|
||||
}
|
||||
$pdf->Cell(40, 4, "Terrasse");
|
||||
if ("0" == $nt['Terrasse']) {
|
||||
$pdf->Cell(40, 4, "nein", '', 1, 'R');
|
||||
} else {
|
||||
$pdf->Cell(40, 4, "ja", '', 1, 'R');
|
||||
}
|
||||
$pdf->Cell(40, 4, "Balkon");
|
||||
if ("0" == $nt['Balkon']) {
|
||||
$pdf->Cell(40, 4, "nein", '', 1, 'R');
|
||||
} else {
|
||||
$pdf->Cell(40, 4, "ja", '', 1, 'R');
|
||||
}
|
||||
$pdf->Cell(40, 4, "Garten");
|
||||
if ("0" == $nt['Garten']) {
|
||||
$pdf->Cell(40, 4, "nein", '', 1, 'R');
|
||||
} else {
|
||||
$pdf->Cell(40, 4, "ja", '', 1, 'R');
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user