SHARE
TWEET

Untitled

a guest Jun 18th, 2019 50 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php if( isset($_SESSION['username']) && !empty($_SESSION['username'])) {
  2.                 ?>
  3.                 <li><a href="index.php">Home</a></li>
  4.                 <li><a href="add.php">New Post</a></li>
  5.                 <li><a href="logout.php">Logout</a></li>
  6.                 <li><a href="profile.php">Profile</a></li>
  7.                 <?php }else{ ?>
  8.                 <li><a href="index.php">Home</a></li>
  9.                 <li><a href="add.php">New Post</a></li>
  10.                 <li><a href="login.php">Login</a></li>
  11.                 <li><a href="register.php">Register</a></li>
  12.                 <?php } ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top