diff --git a/bans.php b/bans.php
index b8278f2..32f7219 100644
--- a/bans.php
+++ b/bans.php
@@ -1,8 +1,5 @@
-
- Tempbans -
-
-
+Tempbans -
@@ -37,6 +34,7 @@
fetch_assoc()) {
date_default_timezone_set("UTC");
diff --git a/includes/data/database.php b/includes/data/database.php
deleted file mode 100644
index f7d8af5..0000000
--- a/includes/data/database.php
+++ /dev/null
@@ -1,39 +0,0 @@
-connect_errno > 0) {
- die('Unable to connect to database: ' . $conn->connect_error);
-}
-
-$active_query = "WHERE active=1";
-if ($show_inactive_bans) {
- $active_query = "";
-}
-
-?>
\ No newline at end of file
diff --git a/includes/data/settings.php b/includes/data/settings.php
deleted file mode 100644
index ec39698..0000000
--- a/includes/data/settings.php
+++ /dev/null
@@ -1,12 +0,0 @@
-> //
-$name = 'LiteBans';
-$serverip = 'mc.example.com';
-
-function get_banner_name($banner) {
- if ($banner === "CONSOLE") {
- return "Console";
- }
- return $banner;
-}
-?>
\ No newline at end of file
diff --git a/includes/head.php b/includes/head.php
index 794adb9..494fe60 100644
--- a/includes/head.php
+++ b/includes/head.php
@@ -1,15 +1,13 @@
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/includes/page.php b/includes/page.php
index a030c52..3c90a77 100644
--- a/includes/page.php
+++ b/includes/page.php
@@ -1,7 +1,9 @@
query(get_query($table))) {
- die('Query error [' . $conn->error . ']');
+ die('Query error: "' . $conn->error . '"');
}
return $result;
}
@@ -21,4 +23,11 @@ function get_avatar($name) {
return "
" . $name;
}
+function get_banner_name($banner) {
+ if ($banner === "CONSOLE") {
+ return "Console";
+ }
+ return $banner;
+}
+
?>
\ No newline at end of file
diff --git a/includes/settings.php b/includes/settings.php
new file mode 100644
index 0000000..70563ec
--- /dev/null
+++ b/includes/settings.php
@@ -0,0 +1,52 @@
+connect_errno > 0) {
+ die('Unable to connect to database: ' . $conn->connect_error);
+ }
+
+ $active_query = "WHERE active=1";
+ if ($show_inactive_bans) {
+ $active_query = "";
+ }
+}
+
+?>
\ No newline at end of file
diff --git a/index.php b/index.php
index 81e74d0..6e70e3c 100644
--- a/index.php
+++ b/index.php
@@ -1,10 +1,6 @@
-
- Index -
-
-
-
+Index -
Welcome to 's Ban List.
@@ -13,6 +9,4 @@
-
+
diff --git a/mutes.php b/mutes.php
index 70fa8ca..6779608 100644
--- a/mutes.php
+++ b/mutes.php
@@ -1,8 +1,5 @@
-
- TempMutes -
-
-
+TempMutes -
@@ -27,6 +24,7 @@
fetch_assoc()) {
date_default_timezone_set("UTC");
diff --git a/warnings.php b/warnings.php
index 33a4ced..d4f0b45 100644
--- a/warnings.php
+++ b/warnings.php
@@ -1,8 +1,5 @@
-
- Warnings -
-
-
+Warnings -
@@ -34,6 +31,7 @@
fetch_assoc()) {
date_default_timezone_set("UTC");