summaryrefslogtreecommitdiff
path: root/html
diff options
context:
space:
mode:
authorMatthijs Kuiper <info@matthijskuiper.nl>2018-01-10 01:24:29 +0100
committerMatthijs Kuiper <info@matthijskuiper.nl>2018-01-10 01:24:29 +0100
commitad5c14f4a3677276f9f2f3bce5dc8614d29ee5bc (patch)
treef56978193cd15cffd9413a0da84dd807538d5d90 /html
parent277232a9cad87dc2c7074bf72dc206f712aea9a7 (diff)
Misc cleanup
Diffstat (limited to 'html')
-rwxr-xr-xhtml/assets/style.css31
-rw-r--r--html/images/blankbar.gifbin813 -> 0 bytes
-rwxr-xr-xhtml/images/watermark.pngbin3006 -> 0 bytes
-rwxr-xr-xhtml/includes/footer.php24
-rwxr-xr-xhtml/index.php76
-rwxr-xr-xhtml/pages/home.php4
6 files changed, 50 insertions, 85 deletions
diff --git a/html/assets/style.css b/html/assets/style.css
index dba9c37..edec897 100755
--- a/html/assets/style.css
+++ b/html/assets/style.css
@@ -73,6 +73,10 @@ table {
font-weight: 200;
}
+input[type="text"] {
+ color: #bcbcbc;
+}
+
.navbar {
background: rgba(0, 0, 0, 0.7);
height: 56px;
@@ -121,18 +125,17 @@ table {
font-size: 10pt;
color: #ffffff;
padding: 20px;
+ margin-top: 50px;
}
-
-a.footer {
+.footer a {
color: #efc100;
text-decoration: none;
- padding: 0px;
+ /* padding: 0px; */
margin-left: 25px;
}
-
-a:hover.footer {
+.footer a:hover {
color: #fff;
- padding: 0px;
+ /* padding: 0px; */
}
.darksearch {
@@ -149,10 +152,6 @@ a:hover.footer {
box-shadow: inset 2px 2px 5px -5px rgba(0, 0, 0, 0.04);
}
-input[type="text"] {
- color: #bcbcbc;
-}
-
.search {
padding: 6px 15px 6px 30px;
margin: 3px;
@@ -439,8 +438,7 @@ input[type="button"].btn-block {
.recentheader {
margin-left: 3px;
width: 896px;
- height: 300px;
- position: center;
+ height: 310px;
}
.matchtop {
margin-bottom: 1px;
@@ -451,20 +449,12 @@ input[type="button"].btn-block {
margin-left: 1px;
width: 699px;
height: 232px;
- position: center;
border-left: 1px solid #1e1e1e;
}
.imgbg {
z-index: 0;
}
.carousel-caption {
- /** position: absolute;
- right: 15%;
- bottom: 350px;
- left: 15%;
- z-index: 10;
- padding-top: 20px;
- padding-bottom: 20px; **/
margin-top: -1px;
padding-top: 10px;
padding-left: 5%;
@@ -778,7 +768,6 @@ a.lggrey:hover {
background: #515151;
font-weight: normal;
padding: 5px;
- border-left: 1px solid #1e1e1e;
}
.dark-mbreakdown {
font-size: 8pt;
diff --git a/html/images/blankbar.gif b/html/images/blankbar.gif
deleted file mode 100644
index 6ba6306..0000000
--- a/html/images/blankbar.gif
+++ /dev/null
Binary files differ
diff --git a/html/images/watermark.png b/html/images/watermark.png
deleted file mode 100755
index 6ce8859..0000000
--- a/html/images/watermark.png
+++ /dev/null
Binary files differ
diff --git a/html/includes/footer.php b/html/includes/footer.php
index 56d9b10..15ec34f 100755
--- a/html/includes/footer.php
+++ b/html/includes/footer.php
@@ -1,17 +1,15 @@
- <br>
- <br>
- <br>
<div class="footer">
- <a class="footer" href="./?p=maps">Maps</a>
- <a class="footer" href="./?p=totals">Totals</a>
- <a class="footer" href="./import.php">Import</a>
- <a class="footer" href="./admin.php">Admin</a>
- <a class="footer" href="./?p=credits">Credits</a>
- <a class="footer" href="./?p=help">Help</a>
- <br>
- <br>
- <a href="https://github.com/sn3p/utstats" target="_blank" class="footer">UTStats Beta 4.4.0</a> &copy; 2005 azazel, AnthraX and toa
- <br>
+ <a href="./?p=maps">Maps</a>
+ <a href="./?p=totals">Totals</a>
+ <a href="./import.php">Import</a>
+ <a href="./admin.php">Admin</a>
+ <a href="./?p=credits">Credits</a>
+ <a href="./?p=help">Help</a>
+ <br>
+ <br>
+ <a href="https://github.com/sn3p/utstats" target="_blank">UTStats Beta 4.4.0</a>
+ &copy; 2005 azazel, AnthraX toa and sn3p
+ </div>
</body>
</html>
diff --git a/html/index.php b/html/index.php
index 545bc2d..089c989 100755
--- a/html/index.php
+++ b/html/index.php
@@ -1,11 +1,11 @@
<?php
+
include ("includes/config.php");
include ("includes/functions.php");
if (!isset($_GET['noheader'])) include ("includes/header.php");
-switch ($_GET["p"])
-{
+switch ($_GET["p"]) {
case "": page(); break; // Our opening page
case "recent": recent(); break; // list of recent games, 30 in date order
@@ -35,123 +35,101 @@ switch ($_GET["p"])
case "credits": credits(); break; // Credits
case "help": help(); break; // Help Page
- default : page(); break; // Our opening page
+ default: page(); break; // Our opening page
}
-function page()
-{
+function page() {
include("pages/home.php");
}
-function admin()
-{
+function admin() {
include("admin.php");
}
-function recent()
-{
+function recent() {
include("pages/recent.php");
}
-function match()
-{
+function match() {
include("pages/match.php");
}
-function matchp()
-{
+function matchp() {
include("pages/match_player.php");
}
-function report()
-{
+function report() {
include("pages/report.php");
}
-function rank()
-{
+function rank() {
include("pages/rank.php");
}
-function ext_rank()
-{
+function ext_rank() {
include("pages/rank_extended.php");
}
-function servers()
-{
+function servers() {
include("pages/servers.php");
}
-function sinfo()
-{
+function sinfo() {
include("pages/servers_info.php");
}
-function squery()
-{
+function squery() {
include("pages/servers_query.php");
}
-function players()
-{
+function players() {
include("pages/players.php");
}
-function psearch()
-{
+function psearch() {
include("pages/players_search.php");
}
-function pinfo()
-{
+function pinfo() {
include("pages/players_info.php");
}
-function pexplrank()
-{
+function pexplrank() {
include("pages/players_explain_ranking.php");
}
-function pmatchs()
-{
+function pmatchs() {
include("pages/players_matchs.php");
}
-function pmaps()
-{
+function pmaps() {
include("pages/players_maps.php");
}
-function maps()
-{
+function maps() {
include("pages/maps.php");
}
-function minfo()
-{
+function minfo() {
include("pages/maps_info.php");
}
-function totals()
-{
+function totals() {
include("pages/totals.php");
}
-function watchlist()
-{
+function watchlist() {
include("pages/watchlist.php");
}
-function credits()
-{
+function credits() {
include("pages/credits.php");
}
-function help()
-{
+function help() {
include("pages/help.php");
}
include("includes/footer.php");
+
?>
diff --git a/html/pages/home.php b/html/pages/home.php
index 535c15b..d2d90cf 100755
--- a/html/pages/home.php
+++ b/html/pages/home.php
@@ -61,8 +61,8 @@ echo '
}
echo '</table>
- <br><br>
- <center><a class="navCTA" href="?p=match&mid='.$lastMapId.'" role="button">View stats</a></center>
+ <p></p>
+ <a class="navCTA" href="?p=match&mid='.$lastMapId.'" role="button">View stats</a>
</div>
</div>
<br>