From 7b6a88058f230e500ec0d5557bd6dac27e8e91ab Mon Sep 17 00:00:00 2001 From: humano Date: Sun, 18 Feb 2018 10:58:45 -0500 Subject: [PATCH] css adicional --- index.php | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/index.php b/index.php index efb8687..becb3a0 100644 --- a/index.php +++ b/index.php @@ -674,17 +674,21 @@ $aplicacion_pie=" } elseif($v[0] =='m') { $set =$v[1]; - /// s= SET DE DATOS + $form =$v[1]; + + $empresa = remplacetas('form_id','id',$form,'id_empresa',"") ; + $razon_social_portal = remplacetas('empresa','id',"1",'razon_social','') ; + $id_empresa = $empresa[0]; $embebido = "1"; if(isset($_REQUEST['print'])) { $print = "window.print()";} $onload = "".checklist("$set",@$_REQUEST['registros'],@$_REQUEST['campo'],@$_REQUEST['valor'],'')." "; } elseif($v[0] =='n') { - /// g=FORMULARIO EMBEBIDO + $embebido = "1"; $no_mostrar ="display:none; "; - $form =$v[1]; + $publico = remplacetas('form_id','id',$form,'publico','') ; $empresa_seguridad = remplacetas('form_id','id',$form,'id_empresa','') ; if($publico[0] != "1" and ( $_SESSION['id_empresa'] != $empresa_seguridad[0] ) ) {