<?php $nombre = $_GET['nombre'] ?? 'Invitado'; $pais = $_GET['pais'] ?? 'Desconocido'; $edad = $_GET['edad'] ?? '0'; ?> <!DOCTYPE html> <html lang="es"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Pasaporte de Usuario</title> <style> body { background-color: #1e293b; display: flex; align-items: center; justify-content: center; height: 100vh; margin: 0; } .pasaporte { background-color: #fef3c7; border: 4px solid #78350f; border-radius: 0.75rem; padding: 1.5rem; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); max-width: 400px; width: 100%; position: relative; box-sizing: border-box; } .marca-agua { position: absolute; right: 1rem; top: 1rem; color: rgba(120, 53, 15, 0.08); font-weight: bold; font-size: 3.5rem; font-family: system-ui, sans-serif; user-select: none; } h2 { font-family: monospace; font-size: 1.25rem; color: #78350f; border-bottom: 2px solid #78350f; padding-bottom: 0.5rem; margin: 0 0 1rem 0; letter-spacing: 0.1em; text-align: center; } .bloque-dato { margin-bottom: 0.75rem; } .etiqueta { font-size: 0.75rem; color: #b45309; display: block; text-transform: uppercase; font-family: system-ui, sans-serif; } .valor { font-family: monospace; font-size: 1.125rem; font-weight: bold; color: #451a03; text-transform: uppercase; } footer { margin-top: 1.5rem; padding-top: 0.5rem; border-top: 1px dashed #78350f; text-align: center; font-size: 0.75rem; color: #b45309; font-family: system-ui, sans-serif; } </style> </head> <body> <div class="pasaporte"> <div class="marca-agua">PASSPORT</div> <h2>PASAPORTE DE CONTROL</h2> <div class="bloque-dato"> <span class="etiqueta">Nombre del Viajero:</span> <span class="valor"><?php echo htmlspecialchars($nombre); ?></span> </div> <div class="bloque-dato"> <span class="etiqueta">Lugar de origen:</span> <span class="valor"><?php echo htmlspecialchars($pais); ?></span> </div> <div class="bloque-dato"> <span class="etiqueta">Edad del pasajero:</span> <span class="valor"><?php echo htmlspecialchars($edad); ?> años</span> </div> <footer>DOCUMENTO PROCESADO POR EL SERVIDOR</footer> </div> </body> </html><?php $nombre = $_GET['nombre'] ?? 'Invitado'; $pais = $_GET['pais'] ?? 'Desconocido'; $edad = $_GET['edad'] ?? '0'; ?> <!DOCTYPE html> <html lang="es"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Pasaporte de Usuario</title> <style> body { background-color: #1e293b; display: flex; align-items: center; justify-content: center; height: 100vh; margin: 0; } .pasaporte { background-color: #fef3c7; border: 4px solid #78350f; border-radius: 0.75rem; padding: 1.5rem; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); max-width: 400px; width: 100%; position: relative; box-sizing: border-box; } .marca-agua { position: absolute; right: 1rem; top: 1rem; color: rgba(120, 53, 15, 0.08); font-weight: bold; font-size: 3.5rem; font-family: system-ui, sans-serif; user-select: none; } h2 { font-family: monospace; font-size: 1.25rem; color: #78350f; border-bottom: 2px solid #78350f; padding-bottom: 0.5rem; margin: 0 0 1rem 0; letter-spacing: 0.1em; text-align: center; } .bloque-dato { margin-bottom: 0.75rem; } .etiqueta { font-size: 0.75rem; color: #b45309; display: block; text-transform: uppercase; font-family: system-ui, sans-serif; } .valor { font-family: monospace; font-size: 1.125rem; font-weight: bold; color: #451a03; text-transform: uppercase; } footer { margin-top: 1.5rem; padding-top: 0.5rem; border-top: 1px dashed #78350f; text-align: center; font-size: 0.75rem; color: #b45309; font-family: system-ui, sans-serif; } </style> </head> <body> <div class="pasaporte"> <div class="marca-agua">PASSPORT</div> <h2>PASAPORTE DE CONTROL</h2> <div class="bloque-dato"> <span class="etiqueta">Nombre del Viajero:</span> <span class="valor"><?php echo htmlspecialchars($nombre); ?></span> </div> <div class="bloque-dato"> <span class="etiqueta">Lugar de origen:</span> <span class="valor"><?php echo htmlspecialchars($pais); ?></span> </div> <div class="bloque-dato"> <span class="etiqueta">Edad del pasajero:</span> <span class="valor"><?php echo htmlspecialchars($edad); ?> años</span> </div> <footer>DOCUMENTO PROCESADO POR EL SERVIDOR</footer> </div> </body> </html>
You have javascript disabled. You will not be able to edit any code.