Add Link Tree

This commit is contained in:
Clortox
2021-01-04 20:34:14 -05:00
parent 5221e41a5e
commit 2b7a9a6dd4
3 changed files with 72 additions and 16 deletions

View File

@@ -1,7 +1,6 @@
<?php
$clientip = $_SERVER['REMOTE_ADDR'];
$serverip = $_SERVER['SERVER_ADDR'];
?>
<header>
@@ -16,14 +15,15 @@
if($isNav){
echo '<nav class="navbar navbar-expand-lg
navbar-dark border border-secondary">';
foreach($nav_names as $index=>$name){
echo '<a class="navbar-brand" href="' . $nav_links[$index] . '">'
. $name . '</a>';
}
echo '<ul class="nav navbar-nav">';
foreach($nav_names as $index=>$name){
echo '<li class="navbar-brand"><a href="'
. $nav_links[$index] . '">'
. $name . '</a></li>';
}
echo '</ul>';
echo '</nav>';
}
?>
</div>
</header>