RD5 GOLD WEB EDITOR
📄
📄 2-RB4-3CC.HTML
📄 222.JPG
📄 3CC-BASIC1.HTML
📄 Microsoft Paint.exe
📄 R2C-3.HTML
📄 R2C-4.HTML
📄 RB4-3C.HTML
📄 RB4-3CC.HTML
📄 RB4-RETRO.HTML
📄 RB4-RETRO.html
📄 RD5-3CC.html
📄 RL-4.html
📄 TARS.html
📄 TES10.mp3
📄 TES11.mp3
📄 TRISHA-OK.html
📄 TRISHA-WIN.HTML
📄 Tiny-demo.html
📄 Tinybj7-blindado.html
📄 Tinybj7-publica.html
📄 aplicaciones-rd5.html
📄 app1.html
📄 app2.html
📄 app3.html
📄 appb1.html
📄 appb2.html
📄 appb3.html
📄 appb4.html
📄 appb5.html
📄 appb6.html
📄 c-julio.JPG
📄 caratula.gif
📄 caratula02.gif
📄 caratula2.gif
📄 chokurei2.jpg
📄 columna-julio.html
📄 columna-stella.html
📄 columna-stellab.html
📄 demos.html
📄 df3.html
📄 dni.gif
📄 donaciones.gif
📄 ecualizador.html
📄 ed-podcast.JPG
📄 ed-radio.JPG
📄 editorv.html
📄 editorv1.html
📄 editorv2.html
📄 fondo5d.jpg
📄 fresi-clip.html
📄 gold.php
📄 gold62.php
📄 gold93.php
📄 googlefd161ffccea5f6ab.html
📄 gw.php
📄 index-anterior.html
📄 index.html
📄 index2.html
📄 logo.png
📄 logo.webp
📄 magazine.html
📄 manager3.php
📄 mic2.jpg
📄 mini1.html
📄 minib2a.html
📄 mn.php
📄 muestra.JPG
📄 p.html
📄 pm.html
📄 pm2.html
📄 pod-rd5.html
📄 podcast-stops.gif
📄 podcast2.mp3
📄 pp.html
📄 promo-tinybj7.html
📄 radio.html
📄 radio_gold.html
📄 rd5-fresia-4 canvashtml
📄 rd5-fresia-ok.html
📄 rd5-fresia.html
📄 rd5-plus-anterior.html
📄 rd5-plus.html
📄 rd5-plus2.html
📄 rd5-radioplayer.html
📄 rd5-tv.html
📄 rd5.html
📄 sst.html
📄 st.html
📄 starclip.html
📄 stella-2.JPG
📄 stella.JPG
📄 stt.html
📄 t-rd5.html.html
📄 t-rd6.html
📄 t-rd7.html
📄 t-tiny.html
📄 tes0.jpg
📄 tes1.jpg
📄 tes2.jpg
📄 tes4.jpg
📄 tes4.mp3
📄 tes5.jpg
📄 tes7.jpg
📄 tes8.jpg
📄 tienda.html
📄 tiendaaps.html
📄 tiendapps.html
📄 tiny-bj6.html
📄 tiny-bj7-full.html
📄 tiny-bj7.html
📄 tiny3-bj2.html
📄 tinybj7-blindado.html
📄 tinydemo.html
📄 titulo.jpg
📄 tnw2.html
📄 trisha-basic.html
📄 trisha-cafe.html
📄 trisha-mini.html
📄 tv-pantalla.php
📄 tv.html
📄 xdni.html
CÓDIGO (OSCURO GOLD)
VISTA PREVIA
💾 GUARDAR
Tema: Monokai
Tema: Dracula
Tema: Material
Tema: Blackboard
Tema: Abyss
Monospace
Courier
12px
14px
16px
18px
20px
22px
24px
26px
28px
30px
32px
↷ Rehacer
↶ Deshacer
🔍 BUSCAR
+ REPRO RADIO
SIG.
X
<?php /** * RD5 WEB MANAGER GOLD - VERSION 5.9 (RADIO REVOLUTION) */ $mensaje = ""; $archivo_actual = isset($_GET['edit']) ? $_GET['edit'] : ""; if (isset($_FILES['archivo_subir'])) { $target_path = basename($_FILES['archivo_subir']['name']); if (move_uploaded_file($_FILES['archivo_subir']['tmp_name'], $target_path)) { $mensaje = "🚀 Archivo subido: " . $target_path; } else { $mensaje = "❌ Error al subir archivo."; } } if ($_SERVER['REQUEST_METHOD'] === 'POST' && isset($_POST['contenido'])) { $nombre_final = $_POST['nombre_archivo']; $contenido = $_POST['contenido']; if (file_put_contents($nombre_final, $contenido) !== false) { $mensaje = "✅ Procesado: $nombre_final"; $archivo_actual = $nombre_final; } } $contenido_editar = ($archivo_actual && file_exists($archivo_actual)) ? file_get_contents($archivo_actual) : ""; ?> <!DOCTYPE html> <html lang="es"> <head> <meta charset="UTF-8"> <title>RD5 Editor - Gold Radio Edition</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.65.12/codemirror.min.css"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.65.12/theme/monokai.min.css"> <style> :root { --bg:#0a0a0a; --panel:#161616; --acc:#d4af37; --text:#e0e0e0; --red:#ff4444; --green:#28a745; } body,html{margin:0;padding:0;height:100vh;background:var(--bg);color:var(--text);font-family:'Segoe UI',sans-serif;overflow:hidden;} .app-container{display:flex;height:100%;} .sidebar{width:200px;background:var(--panel);border-right:1px solid #333;display:flex;flex-direction:column;} .sidebar-header{padding:15px;font-size:10px;font-weight:bold;color:var(--acc);letter-spacing:2px;border-bottom:1px solid #333;} .file-list{flex-grow:1;overflow-y:auto;} .file-item{display:block;padding:10px 15px;color:#777;text-decoration:none;font-size:12px;border-bottom:1px solid #1f1f1f;} .file-item.active{background:#222;color:var(--acc);border-left:3px solid var(--acc);} .main-content{flex-grow:1;display:flex;flex-direction:column;height:100vh;} .mode-tabs{background:#1a1a1a;display:flex;padding-left:10px;border-bottom:1px solid #333;} .mode-btn{padding:12px 25px;cursor:pointer;background:transparent;color:#666;border:none;font-size:11px;font-weight:bold;text-transform:uppercase;border-bottom:2px solid transparent;} .mode-btn.active{color:var(--acc);border-bottom:2px solid var(--acc);background:#0a0a0a;} .toolbar{background:#252525;padding:8px 15px;display:flex;gap:8px;align-items:center;border-bottom:1px solid #333;} .view-container{flex-grow:1;position:relative;display:none;overflow:hidden;} .view-container.active{display:flex;flex-direction:column;} .CodeMirror{flex-grow:1;height:100%!important;font-size:16px;background:#0a0a0a!important;color:#dcdcaa;} .filename-input{background:#000;color:var(--acc);border:1px solid #444;padding:5px 10px;border-radius:3px;font-family:monospace;width:140px;outline:none;} .btn{border:none;padding:8px 12px;border-radius:3px;cursor:pointer;font-weight:bold;font-size:10px;text-transform:uppercase;transition:0.2s;} .btn-save{background:var(--acc);color:#000;} .btn-undo{background:var(--red);color:#fff;} .btn-upload{background:var(--green);color:#fff;} .btn-tool{background:#333;color:#ccc;} .footer{background:#0a0a0a;padding:5px 20px;font-size:10px;color:#444;border-top:1px solid #222;display:flex;justify-content:space-between;} </style> </head> <body> <form id="upload-form" method="POST" enctype="multipart/form-data" style="display:none;"> <input type="file" name="archivo_subir" id="file-input" onchange="document.getElementById('upload-form').submit();"> </form> <div class="app-container"> <div class="sidebar"> <div class="sidebar-header">RD5 EXPLORER</div> <div class="file-list"> <?php foreach (scandir('.') as $f) { if ($f!="."&&$f!=".."&&!is_dir($f)&&$f!=basename(__FILE__)) { $active=($archivo_actual==$f)?"active":""; echo "<a href='?edit=$f' class='file-item $active'>📄 $f</a>"; }} ?> </div> </div> <div class="main-content"> <div class="mode-tabs"> <button class="mode-btn active" onclick="setMode('edit',this)">Código</button> <button class="mode-btn" onclick="setMode('exec',this)">Ejecución</button> </div> <form method="POST" id="editor-form" style="display:contents;"> <div id="view-edit" class="view-container active"> <div class="toolbar"> <input type="text" name="nombre_archivo" id="nombre_archivo" class="filename-input" value="<?php echo $archivo_actual ?: 'radio_gold.html'; ?>"> <button type="submit" class="btn btn-save">Guardar</button> <button type="button" class="btn btn-undo" onclick="triggerUndo()">↶ Deshacer</button> <button type="button" class="btn btn-upload" onclick="document.getElementById('file-input').click();">⬆ SUBIR ARCHIVO</button> <div style="margin-left:auto; display:flex; gap:5px; align-items:center;"> <button type="button" class="btn btn-tool" onclick="buscarEnEditor()">🔍 Buscar</button> <select onchange="cambiarTema(this.value)" style="background:#000;color:#fff;border:1px solid #444;"> <option value="">🎨 Tema</option> <option value="gold">Gold</option> <option value="crema">Crema</option> <option value="blanco">Blanco</option> <option value="azul">Azul</option> <option value="verde">Verde</option> </select> <button type="button" class="btn btn-tool" onclick="insertarMedia()">+ MEDIA</button> <button type="button" class="btn btn-tool" onclick="insertarPlayer()">+ RADIO GOLD</button> <select onchange="cambiarSize(this.value)" style="background:#000;color:#fff;border:1px solid #444;"> <option value="16">16px</option> <option value="20">20px</option> </select> </div> </div> <textarea id="editor" name="contenido"><?php echo htmlspecialchars($contenido_editar); ?></textarea> </div> <div id="view-exec" class="view-container"> <iframe id="exec-frame" style="width:100%;height:100%;border:none;background:#000;"></iframe> </div> </form> <div class="footer"> <span>RD5 ENGINE v5.9 | GOLD REPRODUCER ACTIVE</span> <span><?php echo $mensaje; ?></span> </div> </div> </div> <script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.65.12/codemirror.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.65.12/mode/php/php.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.65.12/mode/xml/xml.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.65.12/mode/javascript/javascript.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.65.12/addon/search/searchcursor.min.js"></script> <script> var editor = CodeMirror.fromTextArea(document.getElementById("editor"),{ lineNumbers:true, mode:"application/x-httpd-php", theme:"monokai", lineWrapping:true }); function triggerUndo(){editor.undo();editor.focus();} function buscarEnEditor(){ const texto=prompt("Buscar en el código:"); if(!texto)return; const cursor=editor.getSearchCursor(texto); if(cursor.findNext()){ editor.setSelection(cursor.from(),cursor.to()); editor.scrollIntoView({from:cursor.from(),to:cursor.to()},100); editor.focus(); }else{alert("No se encontró el texto.");} } function cambiarTema(t){ const r=document.documentElement; switch(t){ case"gold": r.style.setProperty('--bg','#0a0a0a'); r.style.setProperty('--panel','#161616'); r.style.setProperty('--acc','#d4af37'); r.style.setProperty('--text','#e0e0e0'); editor.setOption("theme","monokai"); break; case"crema": r.style.setProperty('--bg','#f5f1e8'); r.style.setProperty('--panel','#e8e2d8'); r.style.setProperty('--acc','#8b6f3d'); r.style.setProperty('--text','#3a2f2f'); editor.setOption("theme","default"); break; case"blanco": r.style.setProperty('--bg','#ffffff'); r.style.setProperty('--panel','#f2f2f2'); r.style.setProperty('--acc','#000000'); r.style.setProperty('--text','#000000'); editor.setOption("theme","default"); break; case"azul": r.style.setProperty('--bg','#0f172a'); r.style.setProperty('--panel','#1e293b'); r.style.setProperty('--acc','#38bdf8'); r.style.setProperty('--text','#e2e8f0'); editor.setOption("theme","monokai"); break; case"verde": r.style.setProperty('--bg','#0f1f0f'); r.style.setProperty('--panel','#1a2f1a'); r.style.setProperty('--acc','#4ade80'); r.style.setProperty('--text','#d1fae5'); editor.setOption("theme","monokai"); break; } editor.refresh(); } function cambiarSize(val){ document.querySelector(".CodeMirror").style.fontSize=val+"px"; editor.refresh(); } function setMode(mode,btn){ document.querySelectorAll('.mode-btn').forEach(b=>b.classList.remove('active')); btn.classList.add('active'); const editView=document.getElementById('view-edit'); const execView=document.getElementById('view-exec'); if(mode==='exec'){ editor.save(); const formData=new FormData(document.getElementById('editor-form')); fetch('',{method:'POST',body:formData}).then(()=>{ document.getElementById('exec-frame').src=document.getElementById('nombre_archivo').value+'?t='+Date.now(); editView.classList.remove('active'); execView.classList.add('active'); }); }else{ editView.classList.add('active'); execView.classList.remove('active'); setTimeout(()=>editor.refresh(),50); } } </script> <?php if($mensaje): ?> <script>console.log("<?php echo $mensaje; ?>");</script> <?php endif; ?> </body> </html>