query("SELECT COUNT(*) FROM visitor_logs WHERE last_activity > DATE_SUB(NOW(), INTERVAL 10 MINUTE)"); $active_users = $stmt->fetchColumn(); // Get active users with phone numbers $stmt = $db->query("SELECT phone_number, country, last_activity FROM visitor_logs WHERE last_activity > DATE_SUB(NOW(), INTERVAL 10 MINUTE) AND phone_number IS NOT NULL AND phone_number != '' ORDER BY last_activity DESC"); $active_phones = $stmt->fetchAll(); // Get country distribution for active users $stmt = $db->query("SELECT country, country_code, lat, lon, COUNT(*) as count FROM visitor_logs WHERE last_activity > DATE_SUB(NOW(), INTERVAL 10 MINUTE) GROUP BY country_code"); $locations = $stmt->fetchAll(); ?>
Lili Records Radio Statistics
| Puesto | Nombre del Fan | Likes | Color Personalizado | Estado |
|---|---|---|---|---|
| #= $rank ?> | = htmlspecialchars($fan['username']) ?> = $vip_badge ?> | = $fan['total_likes'] ?> | = $color_preview ?> | Activo |
En los últimos 10 minutos