en el moras

This commit is contained in:
mynah
2018-07-18 16:04:47 -05:00
parent 4f0061cd7d
commit 5a7566eaf7
21 changed files with 94 additions and 55 deletions

View File

@@ -1,5 +1,5 @@
d3.select("#clink").on("click",function(){
var newWindow = window.open(' #nav candy','_blank');
var newWindow = window.open('candy','_blank');
});
var ciface =" #exec candy_loader/candyInterface.pl&v=";

View File

@@ -1,23 +0,0 @@
<section class="flex messages">
<article class="select">
<select id="sentry" class="entry" size=10>
<!-- ##mlist -->
<!-- r##hide -->
<!-- c#mlist <option value=" #mid " class="entry"> #entry </option> -->
<!-- rr#hide -->
</select>
</article>
<article class="view">
<p id="fecha">fecha</p>
<div class="spcr"></div>
<p id="nombre">nombre</p>
<div class="spcr"></div>
<p id="correo">correo</p>
<div class="spcr"></div>
<p id="mensaje">mensaje</p>
</article>
</section>

View File

@@ -1,7 +1,7 @@
d3.select("select#sentry").on("change",function(){
var msg_id=d3.select("select#sentry").node().value;
d3.json(" #data admin/mensajes/json/qGetInfo.q&imid="+msg_id ,function(d){
d3.json("/admin/json/mensajes/"+msg_id ,function(d){
if(d[0] !=undefined) {if(d[0] != 0){
d3.select("p#fecha").text(d[0].imdate);
d3.select("p#correo").text(d[0].imail);

View File

@@ -1,11 +1,3 @@
/* c#host localhost*/
/* c#database #dbmsg */
/* c#user #dbmsg_user */
/* c#password #dbmsg_pass */
select
e.id as imid,
concat(day(e.fecha)," de ",m.nombre," ", year(e.fecha)) as imdate,
@@ -15,5 +7,5 @@ select
from entrada as e
inner join vuelo.mes as m on m.id=month(e.fecha)
where e.id= " #imid ";
where e.id= ? ; #imid

View File

@@ -1,13 +1,7 @@
/* c#host localhost*/
/* c#database #dbmsg */
/* c#user #dbmsg_user */
/* c#password #dbmsg_pass */
select
"mlist" as tag,
select
id as mid,
concat(nombre," ",date(fecha)) as "entry"
from entrada
order by fecha;
order by fecha desc
limit 100;

View File

@@ -1,15 +0,0 @@
<article id="achat" class="std3">
<h2> Apagar / Encender Chat </h2>
<div class="onoffswitch">
<form action="" method="post">
<input type="checkbox" name="onoffswitch"
class="onoffswitch-checkbox" id="myonoffswitch" checked>
<label class="onoffswitch-label" for="myonoffswitch">
<span class="onoffswitch-inner"></span>
<span class="onoffswitch-switch"></span>
</label>
<input type="hidden" id="tooglechat" name="x" value="disable.sh">
</form>
</div>
<div id="clink" class="chat">Entra al Chat</div>
</article>

View File

@@ -1,24 +0,0 @@
<section class="title flex">
<article class="title"> <p>Radio</p> </article>
</section>
<section class="radio flex">
<article class="info">
<div class="cont"><p id="rhead">Estado:</p> <div id="onAir"></div></div>
<div class="cont"><p id="now"></p></div>
<div class="cont">
<p>En línea:</p><p id="online"></p><p>Max:</p><p id="onmax"></p>
</div>
<div id="histg">grafiquita</div>
</article>
<article class="rmod">
<form action=" #nav adminr" method="POST">
<label>Aviso para el radio</label>
<textarea name="link" id="tmod" class="rmod"> #rContent </textarea> <!-- a#dropvar -->
<input type="hidden" name="update" value="rmod"> <!-- a#dropvar -->
<input type="submit" name="hup" value="Cambiar"> <!-- a#dropvar -->
</form>
</article>
</section>

View File

@@ -1,7 +1,7 @@
dataUpdate();
// let radio_server = xxx.info;
function dataUpdate(){
d3.json(" #radio_server /status-json.xsl",function(d){
d3.json(radio_server+"/status-json.xsl",function(d){
if (d.icestats.source != undefined){
d3.select("#now").text(d.icestats.source.title);
d3.select("#onAir").style("background-color","green");

View File

@@ -1,10 +1,3 @@
/* c#host localhost*/
/* c#database #dbdata */
/* c#user #dbdata_w */
/* c#password #dbdata_wp */
/* c#write write*/
update casa set contenido= q#link where nombre = q#update ;
# update casa set contenido= q#link where nombre = q#update ;
update casa set contenido= ? where nombre = ? ;