aboutsummaryrefslogtreecommitdiff
path: root/inc/nav.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/nav.inc.php')
-rw-r--r--inc/nav.inc.php27
1 files changed, 0 insertions, 27 deletions
diff --git a/inc/nav.inc.php b/inc/nav.inc.php
index e75445c..c626142 100644
--- a/inc/nav.inc.php
+++ b/inc/nav.inc.php
@@ -9,31 +9,4 @@
<a href="/guestbook/">guestbook</a>
</div>
</nav>
- <div class="pagetree">
- <span class="title">
- <?php
- $uri = $_SERVER['REQUEST_URI'];
- if ($uri === '/') { echo '~floppydisk'; }
- else {
- $uri = substr(substr($uri, 1), 0, -1);
- if (!strpos($uri, '/')) {
- $uriArr = explode('/', $uri);
- $link = "/";
- $links = '<a href="/">~floppydisk</a> / ';
- $currentDir = basename(getcwd());
- foreach($uriArr as $page) {
- if ($page !== $currentDir) {
- if ($link !== '/') $link = $link . '/' . $page;
- else $link = $link . $page;
- $links = $links . '<a href="' . $link . '">' . $page . '</a> / ';
- }
- }
- $links = substr($links, 0, -3) . ' / ' . $currentDir;
- echo $links;
- }
- }
- ?>
-
- </span>
- </div> <!-- pagetree -->
</div> <!-- header --> \ No newline at end of file