2021-01-04 20:22:48 +00:00
|
|
|
<?php
|
|
|
|
$clientip = $_SERVER['REMOTE_ADDR'];
|
|
|
|
$serverip = $_SERVER['SERVER_ADDR'];
|
|
|
|
|
|
|
|
?>
|
|
|
|
|
|
|
|
<header>
|
2021-01-04 21:58:05 +00:00
|
|
|
<div class="jumbotron bg-dark border-bottom border-secondary text-white">
|
2021-01-04 20:22:48 +00:00
|
|
|
<h1><?php echo $site_name ?></h1>
|
|
|
|
<?php
|
|
|
|
if($isConvo){
|
|
|
|
$saying = $convo[rand(0,count($convo)-1)];
|
|
|
|
echo '<p>' . $clientip . $saying . $serverip . '</p>';
|
|
|
|
}
|
|
|
|
?>
|
|
|
|
|
2021-01-04 21:58:05 +00:00
|
|
|
<nav class="navbar navbar-expand-lg navbar-dark border border-secondary">
|
2021-01-04 20:22:48 +00:00
|
|
|
<?php
|
|
|
|
foreach($nav_names as $index=>$name){
|
|
|
|
echo '<a class="navbar-brand" href="' . $nav_links[$index] . '">'
|
|
|
|
. $name . '</a>';
|
|
|
|
}
|
|
|
|
?>
|
|
|
|
</nav>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</header>
|