Advertisement
Guest User

Untitled

a guest
Nov 22nd, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. <?php
  2. session_start();
  3. ?>
  4. <!doctype html>
  5. <html lang="pl">
  6. <head>
  7. <link href='http://fonts.googleapis.com/css?family=Cherry+Swash&subset=latin,latin-ext' rel='stylesheet' type='text/css'>
  8. <meta charset="utf-8">
  9. <title>LOGOWANIE</title>
  10. <meta name="description" content="Ulubione odnośniki">
  11. <meta name="author" content="Marcin Szyszka">
  12. <link rel="stylesheet" href="style.css">
  13. <script src="js.js"></script>
  14. </head>
  15. <body>
  16. <?php
  17. if (isset($_SESSION['uzyt']))
  18. {
  19. echo "Zalogowales sie, o to twoja tresc strony"."<br />";
  20. echo $_SESSION['uzyt'].", miło Cię widzieć "."<br />";
  21. $adres="wyloguj.php";
  22. echo '<a href="'.$adres.'">'."WYLOGUJ".'</a>';
  23. }
  24. else
  25. {
  26. echo "Proszę się zalogować!";
  27. }
  28. ?>
  29. <hr>
  30. <a href="index.php">ZALOGUJ SIĘ</a>
  31. </body>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement