Ersetzen der FPDF-Library durch TCPDF und Code-Formatierung

This commit is contained in:
2016-07-06 22:04:12 +00:00
parent 5665bcbd3b
commit 715cb62aa9
515 changed files with 110799 additions and 24957 deletions

View File

@@ -1,29 +1,32 @@
<?php
global $nt;
global $nta;
global $ntk;
$this->SetLineWidth(0.1);
$this->Line(7,105,12,105);
$this->Line(7,148.5,12,148.5);
$this->Line(7,210,12,210);
if ("1005" == PREFIX) {
$this->Image('img/'.PREFIX.'_logo.gif',20,10,0,30);
} else {
$this->Image('img/'.PREFIX.'_logo.gif',20,20,0,20);
}
$this->SetFont('Helvetica','',10);
$this->SetY(20);
$this->SetLeftMargin(148);
$this->Cell(52, 4, $_SESSION['Firma']['Firma_Name'], 0, 1, 'R');
if ("" != $_SESSION['Firma']['Firma_Zusatz']) {
$this->Cell(52, 4, $_SESSION['Firma']['Firma_Zusatz'], 0, 1, 'R');
}
$this->Cell(52, 4, $_SESSION['Firma']['Adresse'], 0, 1, 'R');
$this->Cell(52, 4, $_SESSION['Firma']['PLZ']." ".$_SESSION['Firma']['Ort'], 0, 1, 'R');
$this->SetLeftMargin(20);
$this->SetY(55);
?>
<?php
global $nt;
global $nta;
global $ntk;
$this->SetLineWidth(0.1);
$this->Line(7, 105, 12, 105);
$this->Line(7, 148.5, 12, 148.5);
$this->Line(7, 210, 12, 210);
if ("1005" == PREFIX)
{
$this->Image('img/' . PREFIX . '_logo.gif', 20, 10, 0, 30);
}
else
{
$this->Image('img/' . PREFIX . '_logo.gif', 20, 20, 0, 20);
}
$this->SetFont('Helvetica', '', 10);
$this->SetY(20);
$this->SetLeftMargin(148);
$this->Cell(52, 4, $_SESSION['Firma']['Firma_Name'], 0, 1, 'R');
if ("" != $_SESSION['Firma']['Firma_Zusatz'])
{
$this->Cell(52, 4, $_SESSION['Firma']['Firma_Zusatz'], 0, 1, 'R');
}
$this->Cell(52, 4, $_SESSION['Firma']['Adresse'], 0, 1, 'R');
$this->Cell(52, 4, $_SESSION['Firma']['PLZ'] . " " . $_SESSION['Firma']['Ort'], 0, 1, 'R');
$this->SetLeftMargin(20);
$this->SetY(55);