This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| // Este bloque PHP se ejecutar铆a en tu servidor. | |
| // Aseg煤rate de que tu l贸gica de inicio de sesi贸n y base de datos establezca $_SESSION['plan'] y $_SESSION['loggedIn']. | |
| session_start(); | |
| // --- SIMULACI脫N DE DATOS DE SESI脫N PHP --- | |
| // Para probar: | |
| // - Cambia 'free' a 'premium' para ver la interfaz premium. | |
| // - Cambia '1' a '0' para simular un usuario no loggeado (aunque el sistema asume loggeado para funcionalidades).\ | |
| // NOTA: '1' para premium, '0' para gratuito |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="es"> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| <title>Cupones Digitales - Vista de marca</title> | |
| <meta name="viewport" content="width=device-width, initial-scale=1" /> | |
| <!-- Opcional: iconos --> | |
| <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const Alexa = require('ask-sdk-core'); | |
| const axios = require('axios'); | |
| // --- CONFIGURACI脫N DE LA URL --- | |
| const MUSIC_DATA_URL = 'https://routicket.com/plugins/play/musica/track/alexa.php'; | |
| // --- INTERCEPTORES --- | |
| // Interceptor para cargar y guardar la lista de m煤sica una vez por sesi贸n (o al primer uso) | |
| const LoadMusicDataInterceptor = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="es"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Entrada de Blog | C贸digo Routicket #9762</title> | |
| <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap" rel="stylesheet"> | |
| <style> | |
| /* --- CSS Estilo Blog --- */ | |
| body { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| // === 1. Obtener el ID de la URL === | |
| // Verifica si el par谩metro 'id' est谩 presente en la URL (ejemplo: https://tuweb.com/pagina.php?id=598) | |
| if (isset($_GET['id']) && !empty($_GET['id'])) { | |
| $post_id = htmlspecialchars($_GET['id']); // Limpia y valida el input | |
| // La URL de la API que quieres consultar | |
| $api_url = "https://routicket.com/api/v3/code/?id=" . $post_id; | |
| // === 2. Consumir la API (usando file_get_contents para simplicidad) === |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="es"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>La Regia Grill - Men煤 Digital</title> | |
| <!-- Incluye Tailwind CSS para los estilos --> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <!-- Configura la fuente Inter para una mejor legibilidad --> | |
| <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap" rel="stylesheet"> |
NewerOlder