Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- session_start();
- if(!isset($_SESSION['sess_user'])){
- header('location: login.php');
- }
- else{
- ?>
- <html>
- <head>
- <title> Pagina Administrator</title>
- </head>
- <body>
- <h3> Ola , <?=$_SESSION['sess_user']; ?>! </h3>
- <a href="/filip/index.php" title="Inapoi"> <-- Inapoi </a>
- <p>
- <a href="new.php" title="Postare Noua"> Postare Noua </a>
- <br>
- <a href="edit.php" title="Editare Postare"> Editare Postare </a>
- <br>
- <a href="delete.php" title="Steregere Postare"> Stergere Postare </a>
- </p>
- <h4><a href="logout.php">Logout</a></h4>
- </body>
- </html>
- <?php
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment