mirror of
https://github.com/Clortox/SimpleFileRepository.git
synced 2026-03-05 09:37: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>
|
||||
14
www/include.php
Normal file
14
www/include.php
Normal 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>
|
||||
Reference in New Issue
Block a user