Users -
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(); $count_stmt = $db->prepare("SELECT COUNT(*) FROM users WHERE username LIKE ?"); $count_stmt->execute([$search]); $total_users = $count_stmt->fetch()[0]; $total_pages = ceil($total_users / $limit); 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 -
Nothing found...
'; } ?>Emotes
' . ($emote_row["uploaded_by"] == null ? (ANONYMOUS_DEFAULT_NAME . "*") : $emote_row["uploaded_by"]["username"]) . '
'; echo ''; echo ''; } } else { echo 'No emotes found... ' . ((($_SESSION["user_id"] ?? "") == $id) ? 'Start adding emotes and they will appear here! :)
' : ''); } ?>Uploaded emotes
Actions