Initial commit: legacy WOPS PHP application

This commit is contained in:
2026-09-21 09:52:08 +02:00
commit 9b61e32c5a
132 changed files with 28000 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
<?php
#Datei ist für den Include bestimmt
#Debug Funktion einbinden
#include "Debug.php";
#Prüfen ob man eingeloggt ist
session_name('wportal');
session_start();
if(isset($_SESSION["UserID"])){
#Wenn man eingeloggt ist Session Variablen in normale schreiben
$Userid = $_SESSION["UserID"];
$Fname = $_SESSION["Fname"];
$Lname = $_SESSION["Lname"];
$Email = $_SESSION["Email"];
$Isactive = $_SESSION["IsActive"];
$Uname = $_SESSION["Uname"];
$Userlvl = $_SESSION["UserLevel"];
}
else{
#Wenn man nicht eingeloggt ist zurück zur Loginmaske
header('Location: Bestellen.php');
}
?>