Files
startup/inhalte/lv.php
2016-07-05 20:38:34 +00:00

37 lines
1013 B
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 "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";
}
}
?>