diff --git a/funciones/funciones.php b/funciones/funciones.php index eba717c..acf6aa7 100644 --- a/funciones/funciones.php +++ b/funciones/funciones.php @@ -6159,6 +6159,22 @@ if (mysqli_num_rows($sql)!='0'){ return $resultado; } +function landingpage_formularios($filas,$columnas,$tipo,$plantilla){ + $formularios .= + $consulta = "SELECT campo FROM `form_parametrizacion` where opcion = 'mostrar_portal' AND descripcion='1' AND id_empresa ='$id_empresa'"; + $link=Conectarse(); + mysqli_set_charset($link, "utf8"); + $sql=mysqli_query($link,$consulta); + $resultado =""; + if (mysqli_num_rows($sql)!='0'){ + while( $row = mysqli_fetch_array( $sql ) ) { + $formularios .= consultar_contenido_formulario("$row[campo]","$columnas",'',"$tipo",'',"$plantilla"); + } + } + + return $formlularios; +} + function consultar_contenido_formulario($form,$registros,$pagina,$tipo,$orden,$plantilla){ $registros_grid = $registros; @@ -8436,6 +8452,7 @@ return $resultado; function parametrizacion_linea($tabla,$campo,$opcion,$descripcion,$div,$script,$item){ if(isset($_SESSION['id_empresa']) ){$id_empresa= $_SESSION['id_empresa']; }else{ $id_empresa=""; } + $respuesta = new xajaxResponse('utf-8'); if($tabla =="") { $resultado = ""; @@ -16900,7 +16917,7 @@ $item .= "
  • NO - SIMostrar en el portal
    @@ -16908,7 +16925,7 @@ $item .= "
  • NO - SILlenar desde el portal
    @@ -16916,7 +16933,7 @@ $item .= "
  • NO - SIVer data desde el portal