diff options
Diffstat (limited to 'demo/components/navbar.php')
-rw-r--r-- | demo/components/navbar.php | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/demo/components/navbar.php b/demo/components/navbar.php new file mode 100644 index 0000000..9fcb9ee --- /dev/null +++ b/demo/components/navbar.php @@ -0,0 +1,24 @@ +<!-- Start navigation bar --> +<nav class="navbar navbar-default navbar-fixed-top"> + <a href="https://github.com/valentineus/Module-III-API"> + <img class="github-fork"> + </a> + <div class="container"> + <div class="collapse navbar-collapse"> + <!-- The right side of the navigation bar --> + <ul class="nav navbar-nav navbar-right"> + <li> + <p class="navbar-text"><?php + // Check the ability to use Cookie + if (SetCookie("TestCookie", "Success")) { ?> + <span class="glyphicon glyphicon-ok" aria-hidden="true"></span> + <?php } else { ?> + <span class="glyphicon glyphicon-remove" aria-hidden="true"></span> + <?php } + ?> Cookie</p> + </li> + </ul><!-- navbar-right --> + </div> + </div><!-- container --> +</nav> +<!-- End navigation bar --> |