64 lines
1.2 KiB
PHP
64 lines
1.2 KiB
PHP
<!doctype html>
|
|
|
|
<html lang="de">
|
|
<head>
|
|
|
|
<?php include "include/includeJSandCSS.php" ?>
|
|
|
|
<script type="text/javascript">
|
|
//<!--
|
|
var userIsLoggedIn = false;
|
|
//-->
|
|
</script>
|
|
<script type="text/javascript">
|
|
//<!--
|
|
var keepAliveInterval = 300
|
|
//-->
|
|
</script>
|
|
|
|
<style>
|
|
html, body {
|
|
height: 100%;
|
|
}
|
|
|
|
.stickywrapper {
|
|
min-height: 60vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.content {
|
|
flex: 1;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<?php include "templates/header.php" ?>
|
|
|
|
<?php
|
|
require_once "config.php";
|
|
// Include config file
|
|
$config = parse_ini_file("config.ini", true) ;
|
|
$baseURL = $config['base']['URL'];
|
|
|
|
// Initialize the session
|
|
session_start();
|
|
|
|
// Check if the user is already logged in, if yes then redirect him to welcome page
|
|
if(isset($_SESSION["loggedin"]) && $_SESSION["loggedin"] === true){
|
|
header("location: " .$baseURL ."/indexBT5.php");
|
|
}
|
|
|
|
$ini_array = parse_ini_file("config.ini", true);
|
|
//print_r($ini_array);
|
|
?>
|
|
|
|
<?php include "templates/footer.php" ?>
|
|
|
|
|
|
<script src="js/script.js"></script>
|
|
</body>
|
|
</html>
|