Guest User

Other page

a guest
Feb 26th, 2015
314
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. <?php
  2.  
  3. session_start();
  4. if(!isset($_SESSION['sess_user'])){
  5.  
  6. header('location: login.php');
  7. }
  8. else{
  9.  
  10.  
  11.  
  12.  
  13. ?>
  14. <html>
  15. <head>
  16. <title> Pagina Administrator</title>
  17. </head>
  18. <body>
  19. <h3> Ola , <?=$_SESSION['sess_user']; ?>! </h3>
  20. <a href="/filip/index.php" title="Inapoi"> <-- Inapoi </a>
  21.  
  22.  
  23.  
  24. <p>
  25. <a href="new.php" title="Postare Noua"> Postare Noua </a>
  26. <br>
  27. <a href="edit.php" title="Editare Postare"> Editare Postare </a>
  28. <br>
  29. <a href="delete.php" title="Steregere Postare"> Stergere Postare </a>
  30. </p>
  31.  
  32. <h4><a href="logout.php">Logout</a></h4>
  33.  
  34. </body>
  35.  
  36.  
  37.  
  38. </html>
  39. <?php
  40. }
  41. ?>
Advertisement
Add Comment
Please, Sign In to add comment