41 lines
835 B
PHP
41 lines
835 B
PHP
<?php
|
|
if (isset($_POST['ID']))
|
|
{
|
|
$test = explode("_", $_POST['ID']);
|
|
$ID = $test['1'];
|
|
$Jahr = $test['0'];
|
|
}
|
|
$t_pos = "Auftrag";
|
|
$Typ = "Auftragsbestätigung";
|
|
$type = "Auftragsbestätigung";
|
|
$legend = "Auftragsbestätigungen";
|
|
$Text = "Auftragsbestätigung vom:";
|
|
$table = PREFIX . "_Auftraege";
|
|
|
|
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";
|
|
}
|
|
} |