-
Notifications
You must be signed in to change notification settings - Fork 1
/
bans_logs.php
43 lines (41 loc) · 1.07 KB
/
bans_logs.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?php
require_once './include/page.php';
$page = new Page("bans_logs");
?>
<!DOCTYPE html>
<html lang="en">
<head>
<?php $page->print_common_head(); ?>
</head>
<body>
<?php
$page->show_topbar();
?>
<div class="page-wrapper">
<?php
$page->show_header();
?>
<div class="content-wrapper">
<div class="container">
<table>
<?php
$rows = $page->run_query();
if(count($rows) == 0) {
$page->print_no_row();
} else {
foreach ($rows as $row) {
$player_name = $page->get_name($row["id"]);
if ($player_name === null)
continue;
$page->print_row($row);
}
$page->show_page_mover();
}
?>
</table>
</div>
<?php $page->show_footer(); ?>
</div>
</div>
</body>
</html>