Guest User

Untitled

a guest
Jan 13th, 2018
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1. <?php
  2. session_start();
  3. print_r($_SESSION);
  4. if(!is_array($_SESSION['login']))
  5. {
  6. echo "Kein Zugang!";
  7. die();
  8. }
  9.  
  10. else{
  11. ?>
  12.  
  13. <html>
  14. <head>
  15. <title></title>
  16. </head>
  17.  
  18. <body>
  19. <link rel="stylesheet" type="text/css" href="layout.css"/>
  20. <center>
  21.  
  22.  
  23. <div id="outerbox">
  24. <div id="header"></div>
  25.  
  26. <div id="navi">
  27. <a href="reg.php">Registrieren</a>
  28. <a href="logout.php">Logout</a>
  29. <br>
  30. <a href="logtest.php">Bin ich Eingelogt?</a>
  31. </div>
  32.  
  33. <div id="content">
  34. <h1>Happy Birthday du bist Eingelogt :D</h1>
  35. </div>
  36.  
  37. </div>
  38. </center>
  39. </body>
  40. </html>
  41. <?php
  42. }
  43. ?>
Add Comment
Please, Sign In to add comment