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,37 +1,51 @@
<?php
if (isset($_POST['ID'])) {
$test = explode("_", $_POST['ID']);
$ID = $test['1'];
$Jahr = $test['0'];
}
if ($_SESSION['Firma']['KfZ']) {
$Typ = "Kostenvoranschlag";
$type = "Kostenvoranschlag";
$legend = "Kostenvoranschläge";
$Text = "Kostenvoranschlag vom:";
} else {
$Typ = "Leistungsverzeichnis";
$type = "Leistungsverzeichnis";
$legend = "Leistungsverzeichnisse";
$Text = "Leistungsverzeichnis vom:";
}
$t_pos = "LV";
$table = PREFIX."_LVs";
if (isset($_GET['pdf'])) {
include "inhalte/pdf_show.php";
} elseif (isset($_GET['mail'])) {
include "inhalte/mail.php";
} else {
if ((!isset($_POST['formaction'])) OR ("stop" == $_POST['formaction'])) {
include "inhalte/search.php";
include "inhalte/".$_GET['section']."_over.php";
} elseif ("mail" == $_POST['formaction']) {
} elseif ("email" == $_POST['formaction']) {
include "inhalte/email.php";
} else {
include "inhalte/".$_GET['section']."_".$_POST['formaction'].".php";
}
}
?>
<?php
if (isset($_POST['ID']))
{
$test = explode("_", $_POST['ID']);
$ID = $test['1'];
$Jahr = $test['0'];
}
if ($_SESSION['Firma']['KfZ'])
{
$Typ = "Kostenvoranschlag";
$type = "Kostenvoranschlag";
$legend = "Kostenvoranschläge";
$Text = "Kostenvoranschlag vom:";
}
else
{
$Typ = "Leistungsverzeichnis";
$type = "Leistungsverzeichnis";
$legend = "Leistungsverzeichnisse";
$Text = "Leistungsverzeichnis vom:";
}
$t_pos = "LV";
$table = PREFIX . "_LVs";
if (isset($_GET['pdf']))
{
include __DIR__ . "/pdf_show.php";
}
elseif (isset($_GET['mail']))
{
include __DIR__ . "/mail.php";
}
else
{
if ((!isset($_POST['formaction'])) OR ("stop" == $_POST['formaction']))
{
include __DIR__ . "/search.php";
include __DIR__ . "/" . $_GET['section'] . "_over.php";
}
elseif ("mail" == $_POST['formaction'])
{
}
elseif ("email" == $_POST['formaction'])
{
include __DIR__ . "/email.php";
}
else
{
include __DIR__ . "/" . $_GET['section'] . "_" . $_POST['formaction'] . ".php";
}
}