noche, actualiza tablas eventos
This commit is contained in:
12
public/home/admin/event/add/qCup.q
Executable file
12
public/home/admin/event/add/qCup.q
Executable file
@@ -0,0 +1,12 @@
|
||||
insert into curso
|
||||
(nombre,temario,servicios,estado)
|
||||
values(
|
||||
?, # cname
|
||||
?, # csubjects
|
||||
?, # cservices
|
||||
case ? when "on" then 1 else 0 end #cen
|
||||
);
|
||||
|
||||
|
||||
|
||||
|
||||
14
public/home/admin/event/add/qEup.q
Executable file
14
public/home/admin/event/add/qEup.q
Executable file
@@ -0,0 +1,14 @@
|
||||
insert into evento
|
||||
(lugar_id, fecha_inicio, fecha_fin,precio,curso_id,imagen_chica,estado,promocion,promo_estado)
|
||||
values(
|
||||
?, # eplace
|
||||
" ?-?-? ", # yini - mini - dini
|
||||
" ?-?-? ", # yend - mend - dend
|
||||
?, # cost ,
|
||||
?, # ecourse ,
|
||||
?, # eimg ,
|
||||
case ? when "on" then 1 else 0 end, # een
|
||||
?, # promo ,
|
||||
case ? when "on" then 1 else 0 end # pen
|
||||
);
|
||||
|
||||
15
public/home/admin/event/add/qPup.q
Executable file
15
public/home/admin/event/add/qPup.q
Executable file
@@ -0,0 +1,15 @@
|
||||
insert into lugar
|
||||
(nombre,direccion,observacion,municipio,federativa,pais,lat,lng,estado)
|
||||
values(
|
||||
?, # pname
|
||||
?, # paddr
|
||||
?, # pobs
|
||||
?, # pto
|
||||
?, # pst
|
||||
?, # pco
|
||||
?, # lat
|
||||
?, # lng
|
||||
case ? when "on" then 1 else 0 end #pen
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user