Initial Commit

This commit is contained in:
Clortox
2021-01-04 15:22:48 -05:00
commit 1e9762ff50
9 changed files with 339 additions and 0 deletions

28
www/header.php Normal file
View 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>

14
www/include.php Normal file
View File

@@ -0,0 +1,14 @@
<?php
$p = $_SERVER['DOCUMENT_ROOT'];
$p .= "/var/config.php";
include_once($p);
?>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
<script src="../www/js/progressbar.min.js"></script>
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.10.21/css/jquery.dataTables.css">
<script type="text/javascript" charset="utf8" src="https://cdn.datatables.net/1.10.21/js/jquery.dataTables.js"></script>