From 32e7525c47b6221e51e40c4b708fc1afb9690fd0 Mon Sep 17 00:00:00 2001 From: humano Date: Mon, 23 Feb 2015 12:09:26 -0500 Subject: [PATCH] mejoras en el portal --- milfs.sql.gz | Bin 5641 -> 5704 bytes milfs/funciones/funciones.php | 103 +++++++++++++++++++-- milfs/images/iconos/amarillo.png | Bin 0 -> 7908 bytes milfs/images/iconos/blanco.png | Bin 0 -> 2001 bytes milfs/images/iconos/naranja.png | Bin 0 -> 8076 bytes milfs/images/iconos/negro.png | Bin 0 -> 1991 bytes milfs/images/iconos/rojo.png | Bin 0 -> 1644 bytes milfs/images/iconos/verde.png | Bin 0 -> 7419 bytes milfs/map.php | 5 +- milfs/portal.php | 149 +++++++++++++++++++++++-------- milfs/top.php~ | 122 ------------------------- 11 files changed, 210 insertions(+), 169 deletions(-) create mode 100644 milfs/images/iconos/amarillo.png create mode 100644 milfs/images/iconos/blanco.png create mode 100644 milfs/images/iconos/naranja.png create mode 100644 milfs/images/iconos/negro.png create mode 100644 milfs/images/iconos/rojo.png create mode 100644 milfs/images/iconos/verde.png delete mode 100644 milfs/top.php~ diff --git a/milfs.sql.gz b/milfs.sql.gz index 0712b7782ba66439e4365fdb8b46bf9a7840dea0..a7c2ec592acd3d0ae523fad48d3f77bd1bbf573a 100644 GIT binary patch literal 5704 zcmV-O7PsjiiwFP!000001I=7ZliawGzUx=eb~sA%vRVZA0(wFb({7bKz1t7DyX6?~ zr33C{*~t!_SF zh-H)*4}ZQkUayy{XVam(pGq9E|foem_4d-&u{Kt&x}{bZ*TAB7w;bL=6|`kem9%n z-Om4ec7ONV?{vEY_|LzjiBt{$!?MmT3u>M{d-;doI2N*yp&EUEcl~;P`NPHi#pUDd zehx+R%j>Jz?c=NOzaJ|${_yg==I>Rxs+fM`pPKL^3u0;HMYiU}I+I42 zW=5gQ-pl1GlQ}C{UEa?w9%shm#UHO{#?>3+_U_S`{dn~NLTDNq&!4@I#Cs!3isuNu z&~0wtU0<8e3!yVpgF+{0glE|`m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zZl;qr-!^!@k#J~tdN(h&b*nA(&0`-s&>U%QQ0!oRG!F53dt|w{TkXF5urF2K5fk#h zm$$W7o$Pia|9Sh|EdYojBVE1TFx#l!?9D&#e%e3sYEy1FY?bk?v%Il?G8En|Fxp7B z#Lo7{g6Up+g91Aza$^Q}wcPWOy(Zh7gN>#Ns-9O5ZNq&>zY`fpiXIG*H+QeDUROgO zFyFplbCY{~zrX#xSb9SHwzIzjhvV)E9l_+NjvR@&r*sS-+Ocm%=My^TxCeIb0E|AO z8wWPJ6CO_)^?~glg`{nNcJ9~j=^8q~jE_g%f9up70==6Jc6aIaBUx$S#7b^ZSXy)cgOPgMW_(-iS@ diff --git a/milfs/funciones/funciones.php b/milfs/funciones/funciones.php index 9dfc578..35bdeb8 100755 --- a/milfs/funciones/funciones.php +++ b/milfs/funciones/funciones.php @@ -426,9 +426,11 @@ $sql=mysql_query($consulta,$link); if (mysql_num_rows($sql)!='0'){ mysql_data_seek($sql, 0); $resultado_li .= "
    "; - //$resultado_nav .= ""; }else {$resultado_li = "";} if($tipo =='li') { return $resultado_li.$resultado;} elseif($tipo =='nav') { return $resultado_nav;} +elseif($tipo =='grid') { return $resultado_grid;} else {return $resultado;} } $xajax->registerFunction("aplicaciones_listado"); + +function contenido_aplicacion($id){ +$div = "contenedor"; + $respuesta = new xajaxResponse('utf-8'); + + $campo_titulo = remplacetas('parametrizacion','campo',$id,'descripcion'," tabla='form_id' and opcion = 'titulo'") ; +if($campo_titulo[0] !='') {$w_campo = "AND id_campo = '$campo_titulo[0]'";} +$campo_titulo = $campo_titulo[0]; +$consulta ="SELECT *,GROUP_CONCAT(id ORDER by timestamp desc ) as identificador FROM form_datos WHERE form_id = '$id' $w_campo GROUP BY control order by contenido"; +$link=Conectarse(); +$sql=mysql_query($consulta,$link); +if (mysql_num_rows($sql)!='0'){ + $control = mysql_result($sql,0,control); + //$contenido = "