mirror of
https://github.com/Clortox/SimpleFileRepository.git
synced 2025-01-10 10:57:59 +00:00
29 lines
679 B
PHP
29 lines
679 B
PHP
|
<?php
|
||
|
$clientip = $_SERVER['REMOTE_ADDR'];
|
||
|
$serverip = $_SERVER['SERVER_ADDR'];
|
||
|
|
||
|
?>
|
||
|
|
||
|
<header>
|
||
|
<div class="jumbotron">
|
||
|
<h1><?php echo $site_name ?></h1>
|
||
|
<?php
|
||
|
if($isConvo){
|
||
|
$saying = $convo[rand(0,count($convo)-1)];
|
||
|
echo '<p>' . $clientip . $saying . $serverip . '</p>';
|
||
|
}
|
||
|
?>
|
||
|
|
||
|
<nav class="navbar navbar-expand-lg navbar-light bg-light">
|
||
|
<?php
|
||
|
foreach($nav_names as $index=>$name){
|
||
|
echo '<a class="navbar-brand" href="' . $nav_links[$index] . '">'
|
||
|
. $name . '</a>';
|
||
|
}
|
||
|
?>
|
||
|
</nav>
|
||
|
|
||
|
|
||
|
</div>
|
||
|
</header>
|