diff --git a/includes/header.php b/includes/header.php
index 3769e54..319f53c 100644
--- a/includes/header.php
+++ b/includes/header.php
@@ -13,6 +13,7 @@
Bans
Mutes
Warnings
+ Kicks
©
LiteBans
diff --git a/includes/settings.php b/includes/settings.php
index ea35f68..9be6edc 100644
--- a/includes/settings.php
+++ b/includes/settings.php
@@ -29,6 +29,7 @@ final class Settings {
$this->table_bans = "{$table_prefix}bans";
$this->table_mutes = "{$table_prefix}mutes";
$this->table_warnings = "{$table_prefix}warnings";
+ $this->table_kicks = "${table_prefix}kicks";
$this->table_history = "{$table_prefix}history";
// The date format can be changed here.
diff --git a/kicks.php b/kicks.php
new file mode 100644
index 0000000..49b19af
--- /dev/null
+++ b/kicks.php
@@ -0,0 +1,32 @@
+
+
Tempbans - settings->name; ?>
+
+ print_page_header("Kicks");
+ ?>
+
+
+
+ print_table_headers(array("Name", "Kicked By", "Reason", "Date"));
+ $result = $page->run_query($page->settings->table_kicks);
+ while ($row = $result->fetch(PDO::FETCH_ASSOC)) {
+ $player_name = $page->get_name($row['uuid']);
+ if ($player_name === null) continue;
+ ?>
+
+ get_avatar($player_name); ?> |
+ get_avatar($page->get_banner_name($row)); ?> |
+ clean($row['reason']); ?> |
+ millis_to_date($row['time']); ?> |
+
+
+
+ print_pager("kicks.php", $page->settings->table_kicks); ?>
+
+
+ print_footer(); ?>
+