From 57a65577df1b9a2ffbad013b8d2840f16d39ad7d Mon Sep 17 00:00:00 2001 From: fredyrivera Date: Wed, 11 Oct 2017 13:32:30 -0500 Subject: [PATCH] arreglos en la api simple para mostrar contenido de formularios anidados --- index.php | 2 +- milfs/funciones/funciones.php | 122 +++++++++++++++++++++++++--------- 2 files changed, 92 insertions(+), 32 deletions(-) diff --git a/index.php b/index.php index 6a693cf..f26dff9 100755 --- a/index.php +++ b/index.php @@ -111,7 +111,7 @@ if ($variable !=''){ $background_imagen = $background_imagen[0]; $uri_set = ""; $acceso = 1; - $menu ="

Hola mundo( $titulo[0] $id_empresa )

+ $menu ="

$titulo[0]

"; + } + +$array_contenido[$campo_nombre[0]][] = $contenido; } } - +$array=$array_contenido; //$resultado .=" "; //}else {$resultado ="

No se encontraron resultados

"; return $resultado;} //if($id=="6" OR $id=="10") { $plantilla=""; $class=""; + if($tipo =="array") { + return $array; +} if($tipo !="" AND (!is_numeric($tipo)) AND $tipo !="metadatos" ) { ////Usa una plantilla apra cada id