diff --git a/html/admin.php b/html/admin.php
index 74eb5b7..54975d2 100755
--- a/html/admin.php
+++ b/html/admin.php
@@ -1,60 +1,83 @@
-
- | UTStats Administration |
-
';
+echo '
+
+
+ | UTStats Administration |
+
';
-IF (empty($import_adminkey)) {
- echo'| Error: |
- No key set in config.php |
-
';
- include("includes/footer.php");
+if (empty($import_adminkey)) {
+ echo '
+
+ | Error: |
+ No key set in config.php |
+
+ ';
+ include 'includes/footer.php';
return;
}
-IF (!empty($adminkey) and $adminkey != $import_adminkey) {
- echo'| Error: |
- Keys do not match |
-
';
+if (!empty($adminkey) and $adminkey != $import_adminkey) {
+ echo '
+
+ | Error: |
+ Keys do not match |
+
';
$adminkey = '';
}
-IF (empty($adminkey)) {
- echo'
- | Enter Admin key: |
- |
-
';
- include("includes/footer.php");
+if (empty($adminkey)) {
+ echo '
+
+ | Enter Admin key: |
+
+
+ |
+
+ ';
+ include 'includes/footer.php';
return;
}
-
-echo'
-
';
-
$action = str_replace(array('.', '/', '<', ':'), array(), $action);
$fn = "pages/admin/$action.php";
-if (!file_exists($fn) or !is_file($fn)) die('bla');
-require($fn);
-include('includes/footer.php');
+if (!file_exists($fn) or !is_file($fn)) {
+ die('bla');
+}
+
+require $fn;
+
+echo '
+
';
+
+require 'includes/footer.php';
?>
diff --git a/html/assets/style.css b/html/assets/style.css
index fd700d0..565f19b 100755
--- a/html/assets/style.css
+++ b/html/assets/style.css
@@ -49,6 +49,11 @@
font-style: normal;
}
+html {
+ min-height: 100%;
+ position: relative;
+}
+
body {
background-color: #1e1e1e;
background-repeat: no-repeat;
@@ -57,7 +62,7 @@ body {
font-family: Montserrat, Helvetica, Verdana, Arial, sans-serif;
font-weight: 200;
padding: 0;
- margin: 0;
+ margin-bottom: 0px 0px 60px 0px;
}
a {
@@ -96,55 +101,36 @@ input[type="submit"]:hover {
cursor: pointer;
}
-.navbar {
- background: rgba(0, 0, 0, 0.7);
- height: 56px;
- line-height: 56px;
- position: relative;
- text-align: right;
+.logo {
+ height: 4%;
+ margin-right: 10px;
}
-.navbar ul {
- list-style: none;
- margin: 0 auto;
- padding: 0;
- max-width: 900px;
+main.row {
+ margin-left: 0;
+ margin-right: 0;
}
-.navbar li {
- display: inline-block;
+.main-content {
+ margin-top: 20px;
}
-.navbar a {
- font-size: 17px;
+
+.phantom {
display: block;
- text-decoration: none;
- color: white;
- padding: 0 18px;
- -webkit-transition: background-color 0.4s;
- -moz-transition: background-color 0.4s;
- -o-transition: background-color 0.4s;
- -ms-transition: background-color 0.4s;
- transition: background-color 0.4s;
-}
-.navbar a:hover {
- background-color: #2069a1;
- opacity: 1;
-}
-.navbar .logo {
- float: left;
-}
-.navbar .logo a {
- height: 100%;
-}
-.navbar .logo img {
- height: 36px;
- margin-top: 10px;
+ padding: 20px 0px;
+ margin-top: 50px;
+ height: 100px;
+ width: 100%;
+ bottom: 0;
}
-
.footer {
background: #2069a1;
font-size: 10pt;
- color: #ffffff;
- padding: 20px;
- margin-top: 50px;
+ text-align: center;
+ color: white;
+ padding: 20px 0px;
+ position: absolute;
+ width: 100%;
+ height: 100%px;
+ bottom: 0;
}
.footer a {
color: #efc100;
@@ -403,7 +389,6 @@ input[type="button"].btn-block {
}
.recentheader {
margin-left: 3px;
- width: 896px;
height: 310px;
}
.matchtop {
diff --git a/html/includes/footer.php b/html/includes/footer.php
index 3158b06..4abdd03 100755
--- a/html/includes/footer.php
+++ b/html/includes/footer.php
@@ -1,4 +1,12 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+