12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- <?php
- if (check_login ()) {
- ?>
- <nav class="navbar navbar-default">
- <div class="container">
- <div class="navbar-header">
- <ul class="nav navbar-nav navbar-left">
- <a class="navbar-brand" href="/"><span
- class="glyphicon glyphicon-home"></a> <a class="navbar-brand" href="index.php"></span>
- <?php
- echo $ini['app_title'];
- ?></a>
- <li><a href="selfservice.php">User Self Service</a></li>
- <li><a href="adminpwd.php">Admin password</a></li>
- <li><a href="logout.php">Logout</a></li>
- </ul>
- </div>
- </div>
- </nav>
- <?php
- } else {
- ?>
- <nav class="navbar navbar-default">
- <div class="container">
- <div class="navbar-header">
- <ul class="nav navbar-nav navbar-left">
- <a class="navbar-brand" href="/"><span
- class="glyphicon glyphicon-home"></a> <a class="navbar-brand" href="selfservice.php"></span>
- <?php
- echo $ini['app_title'];
- ?></a>
- <li><a href="selfservice.php">User Self Service</a></li>
- <li><a href="forgotten.php">Password forgotten</a></li>
- <li><a href="login.php">Admin Login</a></li>
- </ul>
- </div>
- </div>
- </nav>
- <?php
- }
- ?>
|