Users
| Username | Last active | '; echo '|
|---|---|---|
| ' . $row["username"] . ' | '; echo "$last_active ago | "; echo '
Nothing found...
'; } ?>prepare("SELECT id, username, joined_at, last_active_at FROM users WHERE username LIKE ? ORDER BY last_active_at DESC LIMIT ? OFFSET ?"); $stmt->bindParam(1, $search, PDO::PARAM_STR); $stmt->bindParam(2, $limit, PDO::PARAM_INT); $stmt->bindParam(3, $offset, PDO::PARAM_INT); $stmt->execute(); $all_user_count = $search ? $stmt->rowCount() : $db->query("SELECT COUNT(*) FROM users")->fetch()[0]; if ($is_json) { header("Content-Type: application/json"); echo json_encode([ "status_code" => 200, "message" => null, "data" => [ "all_user_count" => intval($all_user_count), "users" => $stmt->fetchAll(PDO::FETCH_ASSOC) ] ]); exit; } echo '' ?>
Users
| Username | Last active | '; echo '|
|---|---|---|
| ' . $row["username"] . ' | '; echo "$last_active ago | "; echo '
Nothing found...
'; } ?>Emotes
' . $set_row["size"] . '
'; } ?>' . $emote_row["code"] . '
'; echo ''; } } else { echo 'No emotes found... ' . ((($_SESSION["user_id"] ?? "") == $id) ? 'Start adding emotes and they will appear here! :)
' : ''); } ?>Uploaded emotes
' . $emote_row["code"] . '
'; echo ''; } ?>Actions