Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- session_start();
- ?>
- <!doctype html>
- <html lang="pl">
- <head>
- <link href='http://fonts.googleapis.com/css?family=Cherry+Swash&subset=latin,latin-ext' rel='stylesheet' type='text/css'>
- <meta charset="utf-8">
- <title>LOGOWANIE</title>
- <meta name="description" content="Ulubione odnośniki">
- <meta name="author" content="Marcin Szyszka">
- <link rel="stylesheet" href="style.css">
- <script src="js.js"></script>
- </head>
- <body>
- <?php
- if (isset($_SESSION['uzyt']))
- {
- echo "Zalogowales sie, o to twoja tresc strony"."<br />";
- echo $_SESSION['uzyt'].", miło Cię widzieć "."<br />";
- $adres="wyloguj.php";
- echo '<a href="'.$adres.'">'."WYLOGUJ".'</a>';
- }
- else
- {
- echo "Proszę się zalogować!";
- }
- ?>
- <hr>
- <a href="index.php">ZALOGUJ SIĘ</a>
- </body>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement