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,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;