Menü und Hilfe

This commit is contained in:
2026-03-30 21:24:55 +02:00
parent c9b0026f52
commit 091702c2a2
4 changed files with 204 additions and 12 deletions
+13 -2
View File
@@ -43,13 +43,24 @@ include("templates/footer.inc.php");
<?php
$aktion = $_POST["aktion"] ?? $_GET["aktion"] ?? '';
$artRequest = $_POST["art"] ?? $_GET["art"] ?? "1";
if ($aktion !== '') {
$_POST["aktion"] = $aktion;
}
if ($artRequest !== '') {
$_POST["art"] = $artRequest;
}
if(!check_worker()){
echo "<div class='container main-container'><h3>Erst anmelden: <a href=login.php>Login</a></h3><br>";
echo $_SESSION['userid'];
}else{
if (($_POST["aktion"] ?? '') == "1") {
if ($aktion == "1") {
echo "<header><h2>Anfragen bearbeiten</h2></header>";
@@ -95,7 +106,7 @@ if(!check_worker()){
$art = $_POST["art"] ?? "1";
$art = $artRequest;
// Default
$sql = "