diff options
Diffstat (limited to 'public/footer.php')
-rw-r--r-- | public/footer.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/public/footer.php b/public/footer.php index 57831be..d42bef5 100644 --- a/public/footer.php +++ b/public/footer.php @@ -1,8 +1,15 @@ +<?php require_once "../lib/login.php" ?> <footer> <div class="inner limwidth"> <div class="flex"> <span class="left">de winkel website</span> <span class="right">dit is een footer hoor</span> </div> + <?php if ($logged_in) echo <<<"EOF" + <div class="flex"> + <span class="left"></span> + <span class="right"><a href="/logout.php">LAAT ME ERUIT</a></span> + </div> + EOF; ?> </div> </footer> |