<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="/styles/style.css" rel="stylesheet" />
<title>All Users</title>
</head>
<body class="min-h-screen" style="background: #edf2f7;">
<div class="min-h-screen bg-gray-50/50">
<!-- component -->
<div class="flex flex-wrap mb-5">
<div class="w-full mb-6 -mx-3 mx-auto">
<div class="relative flex-[1_auto] flex flex-col break-words bg-clip-border rounded-[.95rem] bg-white m-5">
<div class="relative flex flex-col break-words border border-dashed bg-clip-border rounded-2xl shadow-md border-stone-200 bg-light/30">
<!-- card header -->
<div class="px-9 pt-5 flex justify-between items-stretch flex-wrap min-h-[70px] pb-0 bg-transparent">
<h3 class="flex flex-col items-start justify-center m-2 ml-0 font-medium text-md text-dark">
<span class="mr-3 font-semibold text-dark">My Users</span>
<span class="mt-1 font-medium text-sm text-gray-600">Here is list of all the available users on your bot</span>
</h3>
</div>
<!-- end card header -->
<!-- card body -->
<div class="flex-auto block py-8 pt-1 px-9">
<% if(users?.length) { %>
<!-- search bar credits: https://readymadeui.com/tailwind-components/form/searchbar-input -->
<div class="flex border-2 border-blue-500 rounded-lg rounded-r-lg overflow-hidden max-w-md mb-6 mx-auto font-[sans-serif]">
<input id="search-input" type="search" placeholder="Search User Id, Username, name..."
class="w-full outline-none bg-white text-gray-600 text-sm p-2" />
<button id="search-btn" type='button' class="flex items-center justify-center bg-[#007bff] px-2 text-sm text-white rounded rounded-l-none">
Search
</button>
</div>
<div id="users-data" class="overflow-x-auto">
<table class="w-full my-0 align-middle text-gray-600 border-neutral-200">
<thead class="align-bottom">
<tr class="font-medium text-xs">
<th class="pb-3 text-start min-w-[30px]">#</th>
<th class="pb-3 min-w-[100px]">User Id</th>
<th class="pb-3 min-w-[100px]">Username</th>
<th class="pb-3 min-w-[100px]">Balance</th>
<th class="pb-3 min-w-[100px]">Total Refers</th>
<th class="pb-3 min-w-[100px]">Total Numbers</th>
 
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX