Example #1
0
$page = new Page();
?>
<title>Tempbans - <?php 
echo $page->settings->name;
?>
</title>
<div class="container">
    <?php 
$page->print_page_header("Bans");
$page->print_check_form("bans");
?>
    <div class="row" style="margin-bottom:60px;">
        <div class="col-lg-12">
            <table class="table table-hover table-bordered table-condensed">
                <?php 
$page->print_table_headers(array("Name", "Banned By", "Reason", "Banned On", "Banned Until"));
$result = $page->run_query($page->settings->table_bans);
while ($row = $result->fetch(PDO::FETCH_ASSOC)) {
    $player_name = $page->get_name($row['uuid']);
    if ($player_name === null) {
        continue;
    }
    $until = $page->millis_to_date($row['until']);
    ?>
                    <tr>
                        <td><?php 
    echo $page->get_avatar($player_name);
    ?>
</td>
                        <td><?php 
    echo $page->get_avatar($page->get_banner_name($row));
Example #2
0
require_once './includes/page.php';
$page = new Page();
?>
<title>Warnings - <?php 
echo $page->settings->name;
?>
</title>
<div class="container">
    <?php 
$page->print_page_header("Warnings");
?>
    <div class="row" style="margin-bottom:60px;">
        <div class="col-lg-12">
            <table class="table table-hover table-bordered table-condensed">
                <?php 
$page->print_table_headers(array("Name", "Warned By", "Reason", "Warned Until", "Received Warning?"));
$result = $page->run_query($page->settings->table_warnings);
while ($row = $result->fetch(PDO::FETCH_ASSOC)) {
    $player_name = $page->get_name($row['uuid']);
    if ($player_name === null) {
        continue;
    }
    $until = $page->millis_to_date($row['until']);
    ?>
                    <tr>
                        <td><?php 
    echo $page->get_avatar($player_name);
    ?>
</td>
                        <td><?php 
    echo $page->get_avatar($page->get_banner_name($row));
Example #3
0
require_once './includes/page.php';
$page = new Page();
?>
<title>Kicks - <?php 
echo $page->settings->name;
?>
</title>
<div class="container">
    <?php 
$page->print_page_header("Kicks");
?>
    <div class="row" style="margin-bottom:60px;">
        <div class="col-lg-12">
            <table class="table table-hover table-bordered table-condensed">
                <?php 
$page->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;
    }
    ?>
                    <tr>
                        <td><?php 
    echo $page->get_avatar($player_name);
    ?>
</td>
                        <td><?php 
    echo $page->get_avatar($page->get_banner_name($row));
    ?>