diff --git a/includes/css/custom.css b/includes/css/custom.css index 2ec243a..b21934f 100644 --- a/includes/css/custom.css +++ b/includes/css/custom.css @@ -1,7 +1,3 @@ -body { - padding-top: 70px; -} - .noselect { -webkit-touch-callout: none; -webkit-user-select: none; diff --git a/includes/footer.php b/includes/footer.php index e69de29..1979518 100644 --- a/includes/footer.php +++ b/includes/footer.php @@ -0,0 +1,3 @@ + + +"; ?> diff --git a/includes/head.php b/includes/head.php deleted file mode 100644 index d0712e7..0000000 --- a/includes/head.php +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/includes/header.php b/includes/header.php index fe3e703..9159e4e 100644 --- a/includes/header.php +++ b/includes/header.php @@ -3,24 +3,59 @@ namespace litebans; require_once './includes/settings.php'; $settings = new Settings(false); + +function navbar($links) { + echo '
'; +} + ?> - - - + diff --git a/includes/page.php b/includes/page.php index 68aca0c..ee39b21 100644 --- a/includes/page.php +++ b/includes/page.php @@ -7,7 +7,6 @@ use PDOException; class Page { public function __construct($name, $header = true) { if ($header) { - require_once './includes/head.php'; require_once './includes/header.php'; } require_once './includes/settings.php'; @@ -329,9 +328,10 @@ class Page { if ($container_end) { echo ""; } - include './includes/footer.php'; $time = microtime(true) - $this->time; echo ""; + + include_once './includes/footer.php'; } public function table_begin() { diff --git a/index.php b/index.php index 7b7661c..1eb74a7 100644 --- a/index.php +++ b/index.php @@ -1,8 +1,7 @@ @@ -14,4 +13,4 @@ $settings = new Settings(false);Here is where our Bans, Mutes, Warnings, and Kicks are listed.