Angemeldet bleiben

This commit is contained in:
aschwarz
2023-03-29 16:22:45 +02:00
parent a675b295e7
commit 670599777b
62 changed files with 1668 additions and 14210 deletions

View File

@ -4,18 +4,16 @@ require_once("config/datenbankanbindung.php"); // fügt die Datenbankanb
header('Content-Type: text/html; charset=utf-8');
$db = dbconnect();
$uid = $_SESSION["global_uid"];
$uid = $_SESSION["userid"];
#$login_dateiname = basename($_SERVER['PHP_SELF']);
$login_dateiname = basename($_SERVER['PHP_SELF']);
if($uid == "" AND $login_dateiname !='index.php'){
echo"<script type='text/javascript'>window.top.location.href = \"index.php\";</script>";
exit;
if(!isset($_SESSION['userid'])) {
header("location:../controller/admin_login.php");
}
$template = "modern";
function rechte($curpage, $uid){