From 9eb2d9d88cb5225d0a827f734b917c749529cc52 Mon Sep 17 00:00:00 2001 From: Flatlogic Bot Date: Sun, 15 Feb 2026 18:35:34 +0000 Subject: [PATCH] Auto commit: 2026-02-15T18:35:34.320Z --- index.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/index.php b/index.php index 913490d..bdf5b36 100644 --- a/index.php +++ b/index.php @@ -918,11 +918,13 @@ $facebook_link = "https://www.facebook.com/profile.php?id=61587890927489"; const now = new Date(); const dateTime = now.toLocaleDateString() + ' ' + now.toLocaleTimeString(); const refId = Math.floor(1000 + Math.random() * 9000); + const currentSong = document.getElementById('track-title').innerText.replace(/\s{2,}/g, ' ').trim(); const text = `*PETICIÓN RADIO* (Ref: #${refId})\n\n` + `*Nombre:* ${name}\n` + `*Móvil:* ${phone}\n` + - `*Fecha:* ${dateTime}\n\n` + + `*Fecha:* ${dateTime}\n` + + `*Sonando ahora:* ${currentSong}\n\n` + `*Mensaje:* ${message || 'Sin mensaje específico'}`; const url = `https://wa.me/?text=${encodeURIComponent(text)}`;