summaryrefslogtreecommitdiff
path: root/header.php
diff options
context:
space:
mode:
Diffstat (limited to 'header.php')
-rw-r--r--header.php68
1 files changed, 65 insertions, 3 deletions
diff --git a/header.php b/header.php
index 082135a..1a41233 100644
--- a/header.php
+++ b/header.php
@@ -3,7 +3,58 @@
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
- <title>Check HTTP Headers online!</title>
+ <style>
+ html {
+ position: relative;
+ min-height: 100%;
+}
+
+body {
+ margin-bottom: 60px;
+}
+
+a {
+ color: #3083D6;
+}
+
+/* navbar */
+
+.navbar-default {
+ background-color: #3083D6 ;
+ border-color: #3083D6 ;
+ background: #3083D6 ;
+}
+
+.navbar-default .navbar-brand {
+ color: white;
+}
+
+.navbar-default .navbar-brand:hover,
+.navbar-default .navbar-brand:focus {
+}
+
+.navbar-default .navbar-nav > li > a {
+ color: white;
+}
+
+
+/* footer */
+
+.footer {
+ background-color: #3083D6 ;
+ border-color: #3083D6 ;
+ background: #3083D6 ;
+ color: white ;
+ position: absolute;
+ bottom: 0;
+ width: 100%;
+}
+
+.footer-a {
+ color: white;
+}
+ </style>
+ <title>Header: <?php echo htmlentities($_POST['url']); ?></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel='shortcut icon' href='/favicon.ico' type='image/x-icon'>
</head>
@@ -11,20 +62,31 @@
<nav class="navbar navbar-default navbar-custom" role="navigation">
<div class="container">
<div class="navbar-header">
- <a class="navbar-brand" href="">Home</a>
+ <a class="navbar-brand" href=""><span class="glyphicon glyphicon-home"></span> Home</a>
</div>
</div>
</nav>
<div class="container">
<div class="text-center">
<div class="row">
+ <h3><u><?php echo htmlentities($_POST['url']); ?></u></h3>
+ <br>
<pre>
<?php
require 'getheader.php';
- echo $header;
+ echo htmlentities($header);
?>
</pre>
</div>
</div>
</div>
+ <div class="footer">
+ <div class="container">
+ <div class="row">
+ <div class="text-right">
+ <p>Copyright 2014 <a class="footer-a" href="//www.moehm.org/" target="_blank" title="https://www.moehm.org/">Maximilian M&ouml;hring</a></p>
+ </div>
+ </div>
+ </div>
+ </div>
</body>