$_POST['servicesonly'] = $_GET['servicesonly'];
}
-if (!empty($_POST))
+if (!empty($_POST) && current_user_can(PERMISSION_BAN_USERS))
{
require_once "../inc/connection.php";
do_log($_POST);
Click on a username to view more information.
<div class="usertable">
-
- <?php
-
- if (isset($_POST['uf_nick']) && strlen($_POST['uf_nick']))
- Message::Info("Listing users which match nick: \"" . $_POST['uf_nick'] . "\"");
-
- if (isset($_POST['uf_ip']) && strlen($_POST['uf_ip']))
- Message::Info("Listing users which match IP: \"" . $_POST['uf_ip'] . "\"");
-
- if (isset($_POST['uf_host']) && strlen($_POST['uf_host']))
- Message::Info("Listing users which match hostmask: \"" . $_POST['uf_host'] . "\"");
-
- if (isset($_POST['uf_account']) && strlen($_POST['uf_account']))
- Message::Info("Listing users which match account: \"" . $_POST['uf_account'] . "\"");
-
- if (isset($_POST['uf_server']) && strlen($_POST['uf_server']))
- Message::Info("Listing users connected to servers matching: \"" . $_POST['uf_server'] . "\"");
-
-
- ?>
+ <form method="post">
<!-- The user list -->
- <!-- table id="data_list" class="container-xxl table table-sm table-responsive caption-top table-striped" -->
- <!-- <table id="data_list" class="table table-striped table-bordered dt-responsive nowrap" style="width:400px"> -->
- <table id="data_list" class="display responsive nowrap" style="width:100%">
- <thead>
+ <table id="data_list" class="table-striped display responsive nowrap" style="width:100%">
+ <thead class="table-primary">
<th scope="col"><input type="checkbox" label='selectall' onClick="toggle_user(this)" /></th>
<th scope="col">Nick</th>
<th class="countrycol" scope="col">Country</th>