logout
This commit is contained in:
parent
62aea1726e
commit
c2f1067e5e
2 changed files with 14 additions and 0 deletions
|
@ -17,6 +17,7 @@
|
|||
<?php
|
||||
if (isset($username)) { ?>
|
||||
<a class="header-link" href="/user.php?id=<?php echo $username ?>"><?php echo $username ?></a>
|
||||
<a class="header-link" href="/logout.php">Logout</a>
|
||||
<?php } else { ?>
|
||||
<a class="header-link" href="/login.php">Login</a>
|
||||
<?php }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue