forked from booruguru/UserPie
-
Notifications
You must be signed in to change notification settings - Fork 0
/
navbar.php
31 lines (24 loc) · 819 Bytes
/
navbar.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?php
/*
UserCake Version: 1.0
http://usercake.com
*/
?> <div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container clearfix">
<a class="brand" id="logo" href="/">UserPie</a>
<ul class="nav pull-right">
<?php if(isUserLoggedIn()) { ?>
<li><a href="/">Account Home</a></li>
<li><a href="change-password.php">Change password</a></li>
<li><a href="update-email-address.php">Update email address</a></li>
<li><a href="logout.php">Logout</a></li>
<?php } else { ?>
<li><a href="index.php">Home</a></li>
<li><a href="login.php">Login</a></li>
<li><a href="register.php">Register</a></li>
<?php } ?>
</ul>
</div>
</div>
</div>