-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
46 lines (37 loc) · 1.1 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<html lang="de">
<head>
<title>ProStd</title>
<meta http-equiv="content-type" content="text/html, charset=UTF-8" />
<meta charset="UTF-8" />
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
<!-- IE9 9 edge-->
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<!-- iOS -->
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
<link href="style.css" rel="stylesheet" type="text/css">
<link href="stylewww.css" rel="stylesheet" type="text/css">
<?php
session_start();
session_destroy();
include "php/basis.php";
$seiteaktiv="login";//default
$sessionuser="";
$sessionID="";
include "php/logincheck.php";
if (!empty($_SESSION['userid']))
$sessionuser=$_SESSION['userid'];
echo "<!--";
echo "SESSION:".($sessionuser==0)." suser=".$sessionuser." stat=".session_status();
echo " sid=".session_id();
echo " sid:".$sessionID." ";
echo "go:".$pfadphp.$seiteaktiv.".php<br>";
echo "-->";
?>
</head>
<body>
<!--<nav class="menue">[LOGIN]</nav>-->
<?php
include $pfadphp.$seiteaktiv.".php";
?>
</body>
</html>