<th scope="col"><h5>Filter:</h5></th>
<form action="" method="post">
<th scope="col" colspan="2">Nick <input name="uf_nick" type="text" class="form-control short-form-control">
<th scope="col"><h5>Filter:</h5></th>
<form action="" method="post">
<th scope="col" colspan="2">Nick <input name="uf_nick" type="text" class="form-control short-form-control">
/* Some basic filtering for NICK */
if (isset($_POST['uf_nick']) && strlen($_POST['uf_nick']) &&
strpos(strtolower($user->name), strtolower($_POST['uf_nick'])) !== 0 &&
/* Some basic filtering for NICK */
if (isset($_POST['uf_nick']) && strlen($_POST['uf_nick']) &&
strpos(strtolower($user->name), strtolower($_POST['uf_nick'])) !== 0 &&
echo "<tr>";
echo "<th scope=\"row\"><input type=\"checkbox\" value='" . base64_encode($user->id)."' name=\"userch[]\"></th>";
$isBot = (strpos($user->user->modes, "B") !== false) ? ' <span class="badge-pill badge-dark">Bot</span>' : "";
echo "<tr>";
echo "<th scope=\"row\"><input type=\"checkbox\" value='" . base64_encode($user->id)."' name=\"userch[]\"></th>";
$isBot = (strpos($user->user->modes, "B") !== false) ? ' <span class="badge-pill badge-dark">Bot</span>' : "";
echo "<td>".$user->id."</td>";
echo "<td>".$user->hostname." (".$user->ip.")</td>";
$account = (isset($user->user->account)) ? $user->user->account : '<span class="badge-pill badge-primary">None</span>';
echo "<td>".$user->id."</td>";
echo "<td>".$user->hostname." (".$user->ip.")</td>";
$account = (isset($user->user->account)) ? $user->user->account : '<span class="badge-pill badge-primary">None</span>';