mirror of
https://github.com/Clortox/SimpleFileRepository.git
synced 2026-04-26 08:27:58 +00:00
Initial Commit
This commit is contained in:
28
www/header.php
Normal file
28
www/header.php
Normal file
@@ -0,0 +1,28 @@
|
||||
<?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>
|
||||
Reference in New Issue
Block a user