"; print "location.href='sigesp_conexion.php'"; print ""; } ?>
|
||||
uf_conectar (); $la_emp = $_SESSION["la_empresa"]; $io_msg = new class_mensajes(); //Instanciando la clase mensajes $io_sql = new class_sql($conn); //Instanciando la clase sql $io_funcion = new class_funciones(); $io_fecha = new class_fecha(); $io_empresa = new sigesp_cfg_c_empresa($conn); ////////////////////////////////////////////// SEGURIDAD ///////////////////////////////////////////// require_once("../shared/class_folder/sigesp_c_seguridad.php"); $io_seguridad= new sigesp_c_seguridad(); $arre = $_SESSION["la_empresa"]; $ls_empresa = $arre["codemp"]; $ls_logusr = $_SESSION["la_logusr"]; $ls_sistema = "CFG"; $ls_ventanas = "sigesp_cfg_d_empresa.php"; $la_seguridad["empresa"] = $ls_empresa; $la_seguridad["logusr"] = $ls_logusr; $la_seguridad["sistema"] = $ls_sistema; $la_seguridad["ventanas"] = $ls_ventanas; if (array_key_exists("permisos",$_POST)||($ls_logusr=="PSEGIS")) { if ($ls_logusr=="PSEGIS") { $ls_permisos=""; } else { $ls_permisos = $_POST["permisos"]; $la_accesos["leer"] = $_POST["leer"]; $la_accesos["incluir"] = $_POST["incluir"]; $la_accesos["cambiar"] = $_POST["cambiar"]; $la_accesos["eliminar"] = $_POST["eliminar"]; $la_accesos["imprimir"] = $_POST["imprimir"]; $la_accesos["anular"] = $_POST["anular"]; $la_accesos["ejecutar"] = $_POST["ejecutar"]; } } else { $la_accesos["leer"] = ""; $la_accesos["incluir"] = ""; $la_accesos["cambiar"] = ""; $la_accesos["eliminar"] = ""; $la_accesos["imprimir"] = ""; $la_accesos["anular"] = ""; $la_accesos["ejecutar"] = ""; $ls_permisos=$io_seguridad->uf_sss_load_permisos($ls_empresa,$ls_logusr,$ls_sistema,$ls_ventanas,$la_accesos); } ////////////////////////////////////////////// SEGURIDAD ///////////////////////////////////////////// $ls_modalidad=$_SESSION["la_empresa"]["estmodest"]; $ls_loncodestpro1=$_SESSION["la_empresa"]["loncodestpro1"]; $ls_loncodestpro2=$_SESSION["la_empresa"]["loncodestpro2"]; $ls_loncodestpro3=$_SESSION["la_empresa"]["loncodestpro3"]; $ls_loncodestpro4=$_SESSION["la_empresa"]["loncodestpro4"]; $ls_loncodestpro5=$_SESSION["la_empresa"]["loncodestpro5"]; $ls_nomestpro1=$_SESSION["la_empresa"]["nomestpro1"]; $ls_nomestpro2=$_SESSION["la_empresa"]["nomestpro2"]; $ls_nomestpro3=$_SESSION["la_empresa"]["nomestpro3"]; $ls_nomestpro4=$_SESSION["la_empresa"]["nomestpro4"]; $ls_nomestpro5=$_SESSION["la_empresa"]["nomestpro5"]; $ls_disabledmov=""; $lb_existemovimientos=$io_empresa->uf_existe_movimientos(); if($lb_existemovimientos) { //$ls_disabledmov="disabled"; } if (array_key_exists("operacion",$_POST)) { $ls_operacion = $_POST["operacion"]; $ls_readonly = ""; $ls_numlicemp = $_POST["txtnumlicemp"]; $ls_modgenret = $_POST["radiocmp"]; } else { $ls_readonly = 'readonly'; $ls_operacion = ""; $ls_proyecto = "checked='true'"; $ls_numlicemp = ""; $ls_modgenret = 'B'; } $lr_datos['modgenret'] = $ls_modgenret; if ($ls_modgenret=='B') { $ls_impretban = 'checked'; $ls_impretcxp = ''; } else { $ls_impretban = ''; $ls_impretcxp = 'checked'; } if (array_key_exists("radiocmpiva",$_POST)) { $ls_estretiva = $_POST["radiocmpiva"]; $lr_datos['estretiva'] = $ls_estretiva; } else { $ls_estretiva = 'C'; $lr_datos['estretiva'] = $ls_estretiva; } if (array_key_exists("radiocmpmil",$_POST)) { $ls_estretmil = $_POST["radiocmpmil"]; $lr_datos['estretmil'] = $ls_estretmil; } else { $ls_estretmil = 'C'; $lr_datos['estretmil'] = $ls_estretmil; } if ($ls_operacion=='BUSCAR') { $ls_disacompiva = 'disabled'; $ls_disapertura = "disabled='true'"; } else { $ls_disacompiva = 'enabled'; $ls_disapertura = "enabled='true'"; } if ($ls_estretiva=='B') { $ls_compivaban = "checked='true'"; $ls_compivacxp = ''; } else { if ($ls_estretiva=='C') { $ls_compivaban = ''; $ls_compivacxp = "checked='true'"; } } if ($ls_estretmil=='B') { $ls_compmilban = "checked='true'"; $ls_compmilcxp = ''; } else { if ($ls_estretmil=='C') { $ls_compmilban = ''; $ls_compmilcxp = "checked='true'"; } } if (array_key_exists("modaper",$_POST)) { $ls_modaper = $_POST["modaper"]; $ls_disapertura = "disabled='true'"; $ls_distipcont = "disabled='true'"; } else { $ls_modaper = false; $ls_disapertura = ''; $ls_distipcont = ''; } if (array_key_exists("hiddisabled",$_POST)) { $li_disabled = $_POST["hiddisabled"]; } else { $li_disabled = '0'; } if (array_key_exists("txtcodigo",$_POST)) { $ls_codigo=$_POST["txtcodigo"]; $lr_datos["codemp"]=$ls_codigo; } else { $ls_codigo=""; } if (array_key_exists("txtnumlicemp",$_POST)) { $ls_numlicemp = $_POST["txtnumlicemp"]; $lr_datos["numlicemp"] = $ls_numlicemp; } else { $ls_numlicemp = ""; } if (array_key_exists("txtnombre",$_POST)) { $ls_nombre=$_POST["txtnombre"]; $lr_datos["nombre"]=$ls_nombre; } else { $ls_nombre=""; } if (array_key_exists("txtnomres",$_POST)) { $ls_nomres=$_POST["txtnomres"]; $lr_datos["nomres"]=$ls_nomres; } else { $ls_nomres=""; } if (array_key_exists("txttitulo",$_POST)) { $ls_titulo=$_POST["txttitulo"]; $lr_datos["titulo"]=$ls_titulo; } else { $ls_titulo=""; } if (array_key_exists("txtdireccion",$_POST)) { $ls_direccion=$_POST["txtdireccion"]; $lr_datos["direccion"]=$ls_direccion; } else { $ls_direccion=""; } if (array_key_exists("txtciuemp",$_POST)) { $ls_ciuemp=$_POST["txtciuemp"]; $lr_datos["ciuemp"]=$ls_ciuemp; } else { $ls_ciuemp=""; } if (array_key_exists("txtestemp",$_POST)) { $ls_estemp=$_POST["txtestemp"]; $lr_datos["estemp"]=$ls_estemp; } else { $ls_estemp=""; } if (array_key_exists("txtzonpos",$_POST)) { $ls_zonpos=$_POST["txtzonpos"]; $lr_datos["zonpos"]=$ls_zonpos; } else { $ls_zonpos=""; } if (array_key_exists("txttelefono",$_POST)) { $ls_telefono=$_POST["txttelefono"]; $lr_datos["telefono"]=$ls_telefono; } else { $ls_telefono=""; } if (array_key_exists("txtfax",$_POST)) { $ls_fax=$_POST["txtfax"]; $lr_datos["fax"]=$ls_fax; } else { $ls_fax=""; } if (array_key_exists("txtemail",$_POST)) { $ls_email=$_POST["txtemail"]; $lr_datos["email"]=$ls_email; } else { $ls_email=""; } if (array_key_exists("txtwebsite",$_POST)) { $ls_website=$_POST["txtwebsite"]; $lr_datos["website"]=$ls_website; } else { $ls_website=""; } if (array_key_exists("txtperiodo",$_POST)) { $ls_periodo=$_POST["txtperiodo"]; $lr_datos["periodo"]=$ls_periodo; } else { $ls_periodo=""; } if (array_key_exists("txtplanunico",$_POST)) { $ls_planunico=$_POST["txtplanunico"]; $lr_datos["planunico"]=$ls_planunico; } else { $ls_planunico=""; } if (array_key_exists("txtpgasto",$_POST)) { $ls_pgasto=$_POST["txtpgasto"]; $lr_datos["pgasto"]=$ls_pgasto; } else { $ls_pgasto=""; } if (array_key_exists("txtcontabilidad",$_POST)) { $ls_contabilidad=$_POST["txtcontabilidad"]; $lr_datos["contabilidad"]=$ls_contabilidad; } else { $ls_contabilidad=""; } if (array_key_exists("txtpingreso",$_POST)) { $ls_pingreso=$_POST["txtpingreso"]; $lr_datos["pingreso"]=$ls_pingreso; } else { $ls_pingreso=""; } if (array_key_exists("txtactivo",$_POST)) { $ls_activo=$_POST["txtactivo"]; $lr_datos["activo"]=$ls_activo; } else { $ls_activo=""; } if (array_key_exists("txtpasivo",$_POST)) { $ls_pasivo=$_POST["txtpasivo"]; $lr_datos["pasivo"]=$ls_pasivo; } else { $ls_pasivo=""; } if (array_key_exists("txtingreso",$_POST)) { $ls_ingreso=$_POST["txtingreso"]; $lr_datos["ingreso"]=$ls_ingreso; } else { $ls_ingreso=""; } if (array_key_exists("txtgasto",$_POST)) { $ls_gasto=$_POST["txtgasto"]; $lr_datos["gasto"]=$ls_gasto; } else { $ls_gasto=""; } if (array_key_exists("txtresultado",$_POST)) { $ls_resultado=$_POST["txtresultado"]; $lr_datos["resultado"]=$ls_resultado; } else { $ls_resultado=""; } if (array_key_exists("txtcapital",$_POST)) { $ls_capital=$_POST["txtcapital"]; $lr_datos["capital"]=$ls_capital; } else { $ls_capital=""; } if (array_key_exists("txtordendeudor",$_POST)) { $ls_ordendeudor=$_POST["txtordendeudor"]; $lr_datos["ordendeudor"]=$ls_ordendeudor; } else { $ls_ordendeudor=""; } if (array_key_exists("txtordenacreedor",$_POST)) { $ls_ordenacreedor=$_POST["txtordenacreedor"]; $lr_datos["ordenacreedor"]=$ls_ordenacreedor; } else { $ls_ordenacreedor=""; } if (array_key_exists("txtpresupuestogasto",$_POST)) { $ls_presupuestogasto=$_POST["txtpresupuestogasto"]; $lr_datos["presupuestogasto"]=$ls_presupuestogasto; } else { $ls_presupuestogasto=""; } if (array_key_exists("txtpresupuestoingreso",$_POST)) { $ls_presupuestoingreso=$_POST["txtpresupuestoingreso"]; $lr_datos["presupuestoingreso"]=$ls_presupuestoingreso; } else { $ls_presupuestoingreso=""; } if (array_key_exists("txthaciendaactivo",$_POST)) { $ls_haciendaactivo=$_POST["txthaciendaactivo"]; $lr_datos["haciendaactivo"]=$ls_haciendaactivo; } else { $ls_haciendaactivo=""; } if (array_key_exists("txthaciendapasivo",$_POST)) { $ls_haciendapasivo=$_POST["txthaciendapasivo"]; $lr_datos["haciendapasivo"]=$ls_haciendapasivo; } else { $ls_haciendapasivo=""; } if (array_key_exists("txtscfordendeudora",$_POST)) { $ls_scfordendeudora=$_POST["txtscfordendeudora"]; $lr_datos["scfordendeudora"]=$ls_scfordendeudora; } else { $ls_scfordendeudora=""; } if (array_key_exists("txtscfordenacreedora",$_POST)) { $ls_scfordenacreedora=$_POST["txtscfordenacreedora"]; $lr_datos["scfordenacreedora"]=$ls_scfordenacreedora; } else { $ls_scfordenacreedora=""; } if (array_key_exists("txthaciendaresul",$_POST)) { $ls_haciendaresul=$_POST["txthaciendaresul"]; $lr_datos["haciendaresul"]=$ls_haciendaresul; } else { $ls_haciendaresul=""; } if (array_key_exists("txtfiscalgasto",$_POST)) { $ls_fiscalgasto=$_POST["txtfiscalgasto"]; $lr_datos["fiscalgasto"]=$ls_fiscalgasto; } else { $ls_fiscalgasto=""; } if (array_key_exists("txtingresofiscal",$_POST)) { $ls_fiscalingreso=$_POST["txtingresofiscal"]; $lr_datos["fiscalingreso"]=$ls_fiscalingreso; } else { $ls_fiscalingreso=""; } if (array_key_exists("txtresultadoactual",$_POST)) { $ls_resultadoactual=$_POST["txtresultadoactual"]; $lr_datos["resultadoactual"]=$ls_resultadoactual; } else { $ls_resultadoactual=""; } if (array_key_exists("txtresultadoanterior",$_POST)) { $ls_resultadoanterior=$_POST["txtresultadoanterior"]; $lr_datos["resultadoanterior"]=$ls_resultadoanterior; } else { $ls_resultadoanterior=""; } if (array_key_exists("txtdesestpro1",$_POST)) { $ls_desestpro1 = $_POST["txtdesestpro1"]; $lr_datos["desestpro1"] = $ls_desestpro1; } else { $ls_desestpro1=""; $lr_datos["desestpro1"] = $ls_desestpro1; } if (array_key_exists("txtdesestpro2",$_POST)) { $ls_desestpro2 = $_POST["txtdesestpro2"]; $lr_datos["desestpro2"] = $ls_desestpro2; } else { $ls_desestpro2 = ""; $lr_datos["desestpro2"] = $ls_desestpro2; } if (array_key_exists("txtdesestpro3",$_POST)) { $ls_desestpro3=$_POST["txtdesestpro3"]; $lr_datos["desestpro3"]=$ls_desestpro3; } else { $ls_desestpro3 = ""; $lr_datos["desestpro3"] = $ls_desestpro3; } if (array_key_exists("txtdesestpro4",$_POST)) { $ls_desestpro4=$_POST["txtdesestpro4"]; $lr_datos["desestpro4"]=$ls_desestpro4; } else { $ls_desestpro4 = ""; $lr_datos["desestpro4"] = $ls_desestpro4; } if (array_key_exists("txtdesestpro5",$_POST)) { $ls_desestpro5=$_POST["txtdesestpro5"]; $lr_datos["desestpro5"]=$ls_desestpro5; } else { $ls_desestpro5 = ""; $lr_datos["desestpro5"] = $ls_desestpro5; } if (array_key_exists("txtcuentabienes",$_POST)) { $ls_cuentabienes = $_POST["txtcuentabienes"]; $lr_datos["cuentabienes"] = $ls_cuentabienes; } else { $ls_cuentabienes=""; } if (array_key_exists("txtcuentaservicios",$_POST)) { $ls_cuentaservicios = $_POST["txtcuentaservicios"]; $lr_datos["cuentaservicios"] = $ls_cuentaservicios; } else { $ls_cuentaservicios=""; } if (array_key_exists("txtparcapiva",$_POST)) { $ls_parcapiva = $_POST["txtparcapiva"]; $lr_datos["parcapiva"] = $ls_parcapiva; } else { $ls_parcapiva=""; $lr_datos["parcapiva"] = ""; } if (array_key_exists("chkestdesiva",$_POST)) { $li_estdesiva = $_POST["chkestdesiva"]; $lr_datos["estdesiva"] = $li_estdesiva; $ls_desagregar = 'checked'; } else { $li_estdesiva = 0; $lr_datos["estdesiva"] = $li_estdesiva; $ls_desagregar = ''; } if (array_key_exists("chkprecomprometer",$_POST)) { $li_precomprometer = $_POST["chkprecomprometer"]; $lr_datos["precomprometer"] = $li_precomprometer; $ls_comprometer = 'checked'; } else { $li_precomprometer = 0; $lr_datos["precomprometer"] = $li_precomprometer; $ls_comprometer = ''; } if (array_key_exists("chkenero",$_POST)) { $li_enero = $_POST["chkenero"]; $lr_datos["enero"] = $li_enero; $ls_enero = "checked"; } else { $li_enero = 0; $lr_datos["enero"] = $li_enero; $ls_enero = ""; } if (array_key_exists("chkfebrero",$_POST)) { $li_febrero = $_POST["chkfebrero"]; $lr_datos["febrero"] = $li_febrero; $ls_febrero = "checked"; } else { $li_febrero = 0; $lr_datos["febrero"] = $li_febrero; $ls_febrero = ""; } if (array_key_exists("chkmarzo",$_POST)) { $li_marzo = $_POST["chkmarzo"]; $lr_datos["marzo"] = $li_marzo; $ls_marzo = "checked"; } else { $li_marzo = 0; $lr_datos["marzo"] = $li_marzo; $ls_marzo = ""; } if (array_key_exists("chkabril",$_POST)) { $li_abril = $_POST["chkabril"]; $lr_datos["abril"] = $li_abril; $ls_abril = "checked"; } else { $li_abril=0; $lr_datos["abril"]=$li_abril; $ls_abril=""; } if (array_key_exists("chkmayo",$_POST)) { $li_mayo=$_POST["chkmayo"]; $lr_datos["mayo"]=$li_mayo; $ls_mayo="checked"; } else { $li_mayo=0; $lr_datos["mayo"]=$li_mayo; $ls_mayo=""; } if (array_key_exists("chkjunio",$_POST)) { $li_junio=$_POST["chkjunio"]; $lr_datos["junio"]=$li_junio; $ls_junio="checked"; } else { $li_junio=0; $lr_datos["junio"]=$li_junio; $ls_junio=""; } if (array_key_exists("chkjulio",$_POST)) { $li_julio=$_POST["chkjulio"]; $lr_datos["julio"]=$li_julio; $ls_julio="checked"; } else { $li_julio=0; $lr_datos["julio"]=$li_julio; $ls_julio=""; } if (array_key_exists("chkagosto",$_POST)) { $li_agosto=$_POST["chkagosto"]; $lr_datos["agosto"]=$li_agosto; $ls_agosto="checked"; } else { $li_agosto=0; $lr_datos["agosto"]=$li_agosto; $ls_agosto=""; } if (array_key_exists("chkseptiembre",$_POST)) { $li_septiembre=$_POST["chkseptiembre"]; $lr_datos["septiembre"]=$li_septiembre; $ls_septiembre="checked"; } else { $li_septiembre=0; $lr_datos["septiembre"]=$li_septiembre; $ls_septiembre=""; } if (array_key_exists("chkoctubre",$_POST)) { $li_octubre=$_POST["chkoctubre"]; $lr_datos["octubre"]=$li_octubre; $ls_octubre="checked"; } else { $li_octubre=0; $lr_datos["octubre"]=$li_octubre; $ls_octubre=""; } if (array_key_exists("chknoviembre",$_POST)) { $li_noviembre=$_POST["chknoviembre"]; $lr_datos["noviembre"]=$li_noviembre; $ls_noviembre="checked"; } else { $li_noviembre=0; $lr_datos["noviembre"]=$li_noviembre; $ls_noviembre=""; } if (array_key_exists("chkdiciembre",$_POST)) { $li_diciembre=$_POST["chkdiciembre"]; $lr_datos["diciembre"]=$li_diciembre; $ls_diciembre="checked"; } else { $li_diciembre=0; $lr_datos["diciembre"]=$li_diciembre; $ls_diciembre=""; } if (array_key_exists("chkvalidacion",$_POST)) { $li_estvaltra=$_POST["chkvalidacion"]; $lr_datos["estvaltra"]=$li_estvaltra; $ls_checked = 'checked'; } else { $li_estvaltra=0; $lr_datos["estvaltra"]=$li_estvaltra; $ls_checked = ''; } if (array_key_exists("cmbvalidacion",$_POST)) { $li_nivelval=$_POST["cmbvalidacion"]; $lr_datos["nivelval"]=$li_nivelval; } else { $li_nivelval=1; } $ls_checkcapiva = ""; if (array_key_exists("estcapiva",$_POST)) { if($_POST["estcapiva"]=="1") { $ls_checkcapiva = "checked"; $li_estcapiva=1; $lr_datos["estcapiva"]=$li_estcapiva; } } else { $li_estvaltra=0; $lr_datos["estcapiva"]=$li_estcapiva; $ls_checkcapiva = ''; } if (array_key_exists("chkestcomobr",$_POST)) { $ls_chkestcomobr = "checked"; $li_estcomobr=1; $lr_datos["estcomobr"]=$li_estcomobr; } else { $li_estcomobr=0; $lr_datos["estcomobr"]=$li_estcomobr; $ls_chkestcomobr = ''; } if (array_key_exists("txtcodestpro1",$_POST)) { $ls_codestpro1=$_POST["txtcodestpro1"]; $ls_denestpro1=$_POST["txtdenestpro1"]; $lr_datos["codestpro1"]=$ls_codestpro1; } else { $ls_codestpro1=""; $ls_denestpro1=""; } if (array_key_exists("txtcodestpro2",$_POST)) { $ls_codestpro2=$_POST["txtcodestpro2"]; $ls_denestpro2=$_POST["txtdenestpro2"]; $lr_datos["codestpro2"]=$ls_codestpro2; } else { $ls_codestpro2=""; $ls_denestpro2=""; } if (array_key_exists("txtcodestpro3",$_POST)) { $ls_codestpro3=$_POST["txtcodestpro3"]; $ls_denestpro3=$_POST["txtdenestpro3"]; $lr_datos["codestpro3"]=$ls_codestpro3; } else { $ls_codestpro3=""; $ls_denestpro3=""; } if (array_key_exists("txtcodestpro4",$_POST)) { $ls_codestpro4=$_POST["txtcodestpro4"]; $ls_denestpro4=$_POST["txtdenestpro4"]; $lr_datos["codestpro4"]=$ls_codestpro4; } else { $ls_codestpro4=""; $ls_denestpro4=""; } if (array_key_exists("txtcodestpro5",$_POST)) { $ls_codestpro5=$_POST["txtcodestpro5"]; $ls_denestpro5=$_POST["txtdenestpro5"]; $lr_datos["codestpro5"]=$ls_codestpro5; } else { $ls_codestpro5=""; $ls_denestpro5=""; } if (array_key_exists("txtestcla",$_POST)) { $ls_estcla=$_POST["txtestcla"]; $lr_datos["estcla"]=$ls_estcla; } else { $ls_estcla=""; } if (array_key_exists("radiocontabilidad",$_POST)) { $li_tipocontabilidad=$_POST["radiocontabilidad"]; } else { $li_tipocontabilidad=1; } if (array_key_exists("hidtipcont",$_POST)) { $ls_hidtipcont = $_POST["hidtipcont"]; } else { $ls_hidtipcont = $li_tipocontabilidad; } if ($ls_hidtipcont==1) { $ls_contabilidad_general="checked='true'"; $ls_contabilidad_fiscal=""; $lr_datos["tipocontabilidad"]=$ls_hidtipcont; } elseif ($ls_hidtipcont==2) { $ls_contabilidad_general=""; $ls_contabilidad_fiscal="checked='true'"; $lr_datos["tipocontabilidad"]=$ls_hidtipcont; } $ls_mensual=""; $ls_trimestral=""; if (array_key_exists("hidestmodape",$_POST)) { $li_estmodape=$_POST["hidestmodape"]; $lr_datos["estmodape"]=$li_estmodape; if ($li_estmodape=='0') { $ls_mensual="checked='true'"; $ls_trimestral=""; } else { $ls_trimestral="checked='true'"; $ls_mensual=""; } } else { $li_estmodape=0; $lr_datos["estmodape"]=$li_estmodape; $ls_mensual="checked='true'"; $ls_trimestral=""; } if(array_key_exists("hid_roscg",$_POST)) { $ls_readonly_scg=$_POST["hid_roscg"]; } else { $ls_readonly_scg=""; } if(array_key_exists("hid_rospg",$_POST)) { $ls_readonly_spg=$_POST["hid_rospg"]; } else { $ls_readonly_spg=""; } if (array_key_exists("txtcodorg",$_POST)) { $ls_codorg = $_POST["txtcodorg"]; $lr_datos["codorgsig"] = $ls_codorg; } else { $ls_codorg = ""; } if (array_key_exists("txtrif",$_POST)) { $ls_rif = $_POST["txtrif"]; $lr_datos["rifemp"] = $ls_rif; } else { $ls_rif = ""; } if (array_key_exists("txtnit",$_POST)) { $ls_nit = $_POST["txtnit"]; $lr_datos["nitemp"] = $ls_nit; } else { $ls_nit = ""; } if (array_key_exists("txtnit",$_POST)) { $ls_ivss = $_POST["txtivss"]; $lr_datos["nroivss"] = $ls_ivss; } else { $ls_ivss = ""; } if (array_key_exists("txtsalinipro",$_POST)) { $ld_salinipro = $_POST["txtsalinipro"]; $lr_datos["salinipro"] = $ld_salinipro; } else { $ld_salinipro = "0,00"; } if (array_key_exists("txtsalinieje",$_POST)) { $ld_salinieje = $_POST["txtsalinieje"]; $lr_datos["salinieje"] = $ld_salinieje; } else { $ld_salinieje = "0,00"; } if (array_key_exists("hidnumniv",$_POST)) { $li_numnivest = $_POST["hidnumniv"]; $lr_datos["numnivest"] = $li_numnivest; } else { $li_numnivest = "1"; $lr_datos["numnivest"] = $li_numnivest; } if (array_key_exists("hidestmodest",$_POST)) { $li_estmodest = $_POST["hidestmodest"]; $lr_datos["estmodest"] = $li_estmodest; } else { $li_estmodest = "1"; $lr_datos["estmodest"] = $li_estmodest; } if ($li_estmodest==1) { $ls_proyecto = "checked='true'"; $ls_programa = ""; } else { $ls_proyecto = ""; $ls_programa = "checked='true'"; } if (array_key_exists("txtnumordser",$_POST)) { $ls_numordser = $_POST["txtnumordser"]; $lr_datos["numordser"] = $ls_numordser; } else { $ls_numordser = ""; } if (array_key_exists("txtnumordcom",$_POST)) { $ls_numordcom = $_POST["txtnumordcom"]; $lr_datos["numordcom"] = $ls_numordcom; } else { $ls_numordcom = ""; } if (array_key_exists("txtnumsolpag",$_POST)) { $ls_numsolpag = $_POST["txtnumsolpag"]; $lr_datos["numsolpag"] = $ls_numsolpag; } else { $ls_numsolpag = ""; } if (array_key_exists("txtnomorgads",$_POST)) { $ls_nomorgads = $_POST["txtnomorgads"]; $lr_datos["nomorgads"] = $ls_nomorgads; } else { $ls_nomorgads = ""; } if (array_key_exists("txtconcomiva",$_POST)) { $ls_concomiva = $_POST["txtconcomiva"]; $lr_datos["concomiva"] = $ls_concomiva; } else { $ls_concomiva = ""; } if (array_key_exists("txtconcommil",$_POST)) { $ls_concommil = $_POST["txtconcommil"]; $lr_datos["concommil"] = $ls_concommil; } else { $ls_concommil = ""; } if (array_key_exists("txtconcommun",$_POST)) { $ls_concommun = $_POST["txtconcommun"]; $lr_datos["concommun"] = $ls_concommun; } else { $ls_concommun = ""; } if (array_key_exists("chkestmodiva",$_POST)) { $ls_estmodiva = $_POST["chkestmodiva"]; $lr_datos["estmodiva"] = $ls_estmodiva; $ls_estmodiva = "checked"; } else { $ls_estmodiva = 0; $lr_datos["estmodiva"] = $ls_estmodiva; $ls_estmodiva = ""; } if (array_key_exists("txtcedben",$_POST)) { $ls_cedben = $_POST["txtcedben"]; $lr_datos["cedben"] = $ls_cedben; } else { $ls_cedben = ""; } if (array_key_exists("txtnomben",$_POST)) { $ls_nomben = $_POST["txtnomben"]; $lr_datos["nomben"] = $ls_nomben; } else { $ls_nomben = ""; } if (array_key_exists("txtscctaben",$_POST)) { $ls_scctaben = $_POST["txtscctaben"]; $lr_datos["scctaben"] = $ls_scctaben; } else { $ls_scctaben = ""; } if (array_key_exists("txttesoroactivo",$_POST)) { $ls_tesoroactivo = $_POST["txttesoroactivo"]; $lr_datos["tesoroactivo"] = $ls_tesoroactivo; } else { $ls_tesoroactivo = ""; } if (array_key_exists("txttesoropasivo",$_POST)) { $ls_tesoropasivo = $_POST["txttesoropasivo"]; $lr_datos["tesoropasivo"] = $ls_tesoropasivo; } else { $ls_tesoropasivo = ""; } if (array_key_exists("txttesororesul",$_POST)) { $ls_tesororesul = $_POST["txttesororesul"]; $lr_datos["tesororesul"] = $ls_tesororesul; } else { $ls_tesororesul = ""; } if (array_key_exists("txtctafinanciera",$_POST)) { $ls_ctafinanciera = $_POST["txtctafinanciera"]; $lr_datos["c_financiera"] = $ls_ctafinanciera; } else { $ls_ctafinanciera = ""; } if (array_key_exists("txtctafiscal",$_POST)) { $ls_ctafiscal = $_POST["txtctafiscal"]; $lr_datos["c_fiscal"] = $ls_ctafiscal; } else { $ls_ctafiscal = ""; } if (array_key_exists("txtcodasiona",$_POST)) { $ls_codasiona = $_POST["txtcodasiona"]; $lr_datos["codasiona"] = $ls_codasiona; } else { $ls_codasiona = ""; } if (array_key_exists("txtlonestpro1",$_POST)) { $li_lonestpro1 = $_POST["txtlonestpro1"]; $lr_datos["lonestpro1"] = $li_lonestpro1; } else { $li_lonestpro1=''; } if (array_key_exists("txtlonestpro2",$_POST)) { $li_lonestpro2 = $_POST["txtlonestpro2"]; $lr_datos["lonestpro2"] = $li_lonestpro2; } else { $li_lonestpro2=''; } if (array_key_exists("txtlonestpro3",$_POST)) { $li_lonestpro3 = $_POST["txtlonestpro3"]; $lr_datos["lonestpro3"] = $li_lonestpro3; } else { $li_lonestpro3=''; } if (array_key_exists("txtlonestpro4",$_POST)) { $li_lonestpro4 = $_POST["txtlonestpro4"]; $lr_datos["lonestpro4"] = $li_lonestpro4; } else { $li_lonestpro4=0; } if (array_key_exists("txtlonestpro5",$_POST)) { $li_lonestpro5 = $_POST["txtlonestpro5"]; $lr_datos["lonestpro5"] = $li_lonestpro5; } else { $li_lonestpro5=0; } $ls_chkconrecdoc = ""; if (array_key_exists("conrecdoc",$_POST)) { if($_POST["conrecdoc"]=="1") { $ls_chkconrecdoc = "checked"; } } if (array_key_exists("radioiva",$_POST)) { $ls_iva=$_POST["radioiva"]; $lr_datos["confivaprecon"]=$ls_iva; } else { $ls_iva = $_SESSION["la_empresa"]["confiva"]; if($ls_iva=="") { $ls_iva="P"; } $lr_datos["confivaprecon"]=$ls_iva; } if ($ls_iva=="C") { $ls_ivacon="checked='true'"; $ls_ivapre=""; } else { $ls_ivacon=""; $ls_ivapre="checked='true'"; } if (array_key_exists("txtdiacadche",$_POST)) { $li_diacadche = $_POST["txtdiacadche"]; } else { $li_diacadche = ""; } $lr_datos["diacadche"] = $li_diacadche; if (array_key_exists("txtnomrep",$_POST)) { $ls_nomrep = $_POST["txtnomrep"]; $lr_datos["nomrep"] = $ls_nomrep; } else { $ls_nomrep = ""; } if (array_key_exists("txtcedrep",$_POST)) { $ls_cedrep = $_POST["txtcedrep"]; $lr_datos["cedrep"] = $ls_cedrep; } else { $ls_cedrep = ""; } if (array_key_exists("txttelfrep",$_POST)) { $ls_telfrep = $_POST["txttelfrep"]; $lr_datos["telfrep"] = $ls_telfrep ; } else { $ls_telfrep = ""; } if (array_key_exists("txtcargo",$_POST)) { $ls_cargo = $_POST["txtcargo"]; $lr_datos["cargorep"] = $ls_cargo ; } else { $ls_cargo = ""; } if (array_key_exists("chkestmodpartsep",$_POST)) { $ls_estmodpartsep = $_POST["chkestmodpartsep"]; $lr_datos["estmodpartsep"] = $ls_estmodpartsep ; $ls_chkestmodpartsep="checked"; } else { $ls_estmodpartsep = ""; $ls_chkestmodpartsep=""; $lr_datos["estmodpartsep"]= 0 ; } if (array_key_exists("chkestmodpartsoc",$_POST)) { $ls_estmodpartsoc = $_POST["chkestmodpartsoc"]; $lr_datos["estmodpartsoc"] = $ls_estmodpartsoc ; $ls_chkestmodpartsoc="checked"; } else { $ls_estmodpartsoc = ""; $ls_chkestmodpartsoc=""; $lr_datos["estmodpartsoc"]= 0 ; } if (array_key_exists("chkclactacont",$_POST)) { $ls_chkclactacont=$_POST["chkclactacont"]; $lr_datos["clactacon"]=$ls_chkclactacont; $ls_chkclactacont="checked"; } else { $ls_chkclactacont=0; $lr_datos["clactacon"]=$ls_chkclactacont; $ls_chkclactacont = ""; } if (array_key_exists("chkempconsolidadora",$_POST)) { $li_chkempcons=$_POST["chkempconsolidadora"]; $lr_datos["estempcon"]=$li_chkempcons; $ls_chkempcons="checked"; } else { $li_chkempcons=0; $lr_datos["estempcon"]=$li_chkempcons; $ls_chkempcons= ""; } if (array_key_exists("txtbdconso",$_POST)) { $ls_bdconsolida = $_POST["txtbdconso"]; $lr_datos["basdatcon"] = $ls_bdconsolida ; } else { $ls_bdconsolida = ""; $lr_datos["basdatcon"] = $ls_bdconsolida ; } $bd_historica =$_POST['txtbd_historica']?$_POST['txtbd_historica']:""; $lr_datos["bd_historica"] = $bd_historica; if (array_key_exists("txtcodaltempcon",$_POST)) { $ls_codaltempcon = $_POST["txtcodaltempcon"]; $lr_datos["codaltemp"] = $ls_codaltempcon ; } else { $ls_codaltempcon = ""; } if (array_key_exists("chkcamemp",$_POST)) { $li_chkcamemp=$_POST["chkcamemp"]; $lr_datos["estcamemp"]=$li_chkcamemp; $ls_camemp="checked"; } else { $li_chkcamemp=0; $lr_datos["estcamemp"]=$li_chkcamemp; $ls_camemp= ""; } if (array_key_exists("chkparnodis",$_POST)) { $li_partnodis=$_POST["chkparnodis"]; $lr_datos["estparsindis"]=$li_partnodis; $ls_partnodis="checked"; } else { $li_partnodis=0; $lr_datos["estparsindis"]=$li_partnodis; $ls_partnodis= ""; } if (array_key_exists("chkestmodprog",$_POST)) { $li_estmodprog=$_POST["chkestmodprog"]; $lr_datos["estmodprog"]=$li_estmodprog; $ls_estmodprog="checked"; } else { $li_estmodprog=0; $lr_datos["estmodprog"]=$li_estmodprog; $ls_estmodprog= ""; } if (array_key_exists("chkbloanu",$_POST)) { $li_bloanu=$_POST["chkbloanu"]; $lr_datos["bloanu"]=$li_bloanu; $ls_bloanu="checked"; } else { $li_bloanu=0; $lr_datos["bloanu"]=$li_bloanu; $ls_bloanu= ""; } if (array_key_exists("chkintcompret",$_POST)) { $ls_chkintcompret=$_POST["chkintcompret"]; $ls_chkintcompret="checked"; } else { $ls_chkintcompret= ""; } if (array_key_exists("chkvalclacon",$_POST)) { $ls_chkvalclacon=$_POST["chkvalclacon"]; $lr_datos["valclacon"]=$ls_chkvalclacon; $ls_chkvalclacon="checked"; } else { $lr_datos["valclacon"]=0; $ls_chkvalclacon= ""; } if (array_key_exists("chkvalcomrd",$_POST)) { $ls_chkvalcomrd=$_POST["chkvalcomrd"]; $lr_datos["valcomrd"]=$ls_chkvalcomrd; $ls_chkvalcomrd="checked"; } else { $lr_datos["valcomrd"]=0; $ls_chkvalcomrd= ""; } if (array_key_exists("chkdedconproben",$_POST)) { $ls_chkdedconproben=$_POST["chkdedconproben"]; $lr_datos["dedconproben"]=$ls_chkdedconproben; $ls_chkdedconproben="checked"; } else { $lr_datos["dedconproben"]=0; $ls_chkdedconproben= ""; } if (array_key_exists("txtbdintcmp",$_POST)) { $ls_bdconscomp = $_POST["txtbdintcmp"]; $lr_datos["basdatcmp"] = $ls_bdconscomp; } else { $ls_bdconscomp= ""; $lr_datos["basdatcmp"] = $ls_bdconscomp; } if (array_key_exists("chkintecred",$_POST)) { $li_intecred=$_POST["chkintecred"]; $lr_datos["estintcred"]=$li_intecred; $ls_intecred="checked"; } else { $li_intecred=0; $lr_datos["estintcred"]=$li_intecred; $ls_intecred= ""; } if (array_key_exists("chkcapiva",$_POST)) { $li_capiva=$_POST["chkcapiva"]; $lr_datos["capiva"]=$li_capiva; $ls_chkcapiva="checked"; } else { $li_capiva=0; $lr_datos["capiva"]=$li_capiva; $ls_chkcapiva= ""; } if($li_capiva=="1") { $ls_valcapiva=""; } else { $ls_valcapiva="readonly"; } if (array_key_exists("chkestciesem",$_POST)) { $li_estciesem=$_POST["chkestciesem"]; $lr_datos["estciesem"]=$li_estciesem; $ls_chkestciesem="checked"; } else { if (array_key_exists("hidestciesem",$_POST)) { $li_estciesem=number_format($_POST["hidestciesem"],0,"",""); $lr_datos["estciesem"]=$li_estciesem; $ls_chkestciesem=""; if($li_estciesem==1) { $ls_chkestciesem="checked"; } } } $ls_estciesem=""; if($li_estciesem=="1") { $ls_estciesem="disabled"; } if (array_key_exists("hidciesem1",$_POST)) { $li_ciesem1=$_POST["hidciesem1"]; } if (array_key_exists("hidciesem2",$_POST)) { $li_ciesem2=$_POST["hidciesem2"]; } if (array_key_exists("chkestspgdecimal",$_POST)) { $li_estspgdecimal=$_POST["chkestspgdecimal"]; $lr_datos["estspgdecimal"]=$li_estspgdecimal; $ls_chkestspgdecimal="checked"; } else { $li_estspgdecimal=0; $lr_datos["estspgdecimal"]=$li_estspgdecimal; $ls_chkestspgdecimal=""; } //- Configuracion de los Instructivos -// if (array_key_exists("radioinstr",$_POST)) { $ls_instr=$_POST["radioinstr"]; $lr_datos["confinstr"]=$ls_instr; } else { $ls_instr=$_SESSION["la_empresa"]["confinstr"]; $lr_datos["confinstr"]=$ls_instr; } if ($ls_instr=="V") { $ls_instrambos=""; $ls_instr2008=""; $ls_instr2007="checked='true'"; } if($ls_instr=="N") { $ls_instrambos=""; $ls_instr2008="checked='true'"; $ls_instr2007=""; } if($ls_instr=="A") { $ls_instrambos="checked='true'"; $ls_instr2008=""; $ls_instr2007=""; } if (array_key_exists("chkestmanant",$_POST)) { $ls_chkestmanant="checked"; $lr_datos["estmanant"]=1; } else { $li_chkestmanant=0; $lr_datos["estmanant"]=$li_chkestmanant; $ls_chkestmanant=""; } $readonly=""; if (array_key_exists("chkpresing",$_POST)) { $ls_chkpresing="checked"; $lr_datos["estpreing"]=1; $li_presing = 1; } else { $lr_datos["estpreing"]=0; $ls_chkpresing=""; $li_presing = 0; } if (array_key_exists("hidpresing",$_POST)) { $lr_datos["estpreing"] = $_POST["hidpresing"]; } if(array_key_exists("chkcasconmov",$_POST)) { $ls_chkcasconmov="checked"; $lr_datos["casconmov"]=1; $li_casconmov=1; } else { $li_casconmov=0; $lr_datos["casconmov"]=$li_casconmov; $ls_chkcasconmov=""; } if(array_key_exists("chknumrefcarord",$_POST)) { $ls_chknumrefcarord="checked"; $lr_datos["numrefcarord"]=1; $li_numrefcarord=1; } else { $li_numrefcarord=0; $lr_datos["numrefcarord"]= $li_numrefcarord; $ls_chknumrefcarord=""; } if (array_key_exists("contintmovban",$_POST)) { $ls_chkcontintmovban="checked"; $lr_datos["contintmovban"]=1; } else { $lr_datos["contintmovban"]=0; $ls_chkcontintmovban=""; } if (array_key_exists("valinimovban",$_POST)) { //var_dump($_POST["valinimovban"]); //die(); $ls_valinimovban=$_POST["valinimovban"]; $lr_datos["valinimovban"]=$ls_valinimovban; } else { $ls_valinimovban=""; $lr_datos["valinimovban"]="0"; } if (array_key_exists("radiocheqauto",$_POST)) { $li_confich=$_POST["radiocheqauto"]; $lr_datos["confich"]=$li_confich; } else { $li_confich=0; $lr_datos["confich"]=$li_confich; } if ($li_confich==1) { $ls_manual=""; $ls_auto="checked='true'"; } else { $ls_manual="checked='true'"; $ls_auto=""; } if (array_key_exists("txtctaresact",$_POST)) { $ls_ctaresact = $_POST["txtctaresact"]; } else { $ls_ctaresact = ""; } if (array_key_exists("txtctaresant",$_POST)) { $ls_ctaresant = $_POST["txtctaresant"]; } else { $ls_ctaresant = ""; } if (array_key_exists("chkestaprsep",$_POST)) { $ls_estaprsep = $_POST["chkestaprsep"]; $lr_datos["estaprsep"]=$ls_estaprsep; if($ls_estaprsep=="1") { $ls_chkestaprsep= 'checked'; } } else { $ls_chkestaprsep = ""; } if (array_key_exists("chkestaprsoc",$_POST)) { $ls_estaprsoc = $_POST["chkestaprsoc"]; $lr_datos["estaprsoc"]=$ls_estaprsoc; if($ls_estaprsoc=="1") { $ls_chkestaprsoc= 'checked'; } } else { $ls_chkestaprsoc = ""; } if (array_key_exists("chkestaprcxp",$_POST)) { $ls_estaprcxp = $_POST["chkestaprcxp"]; $lr_datos["estaprcxp"]=$ls_estaprcxp; if($ls_estaprcxp=="1") { $ls_chkestaprcxp= 'checked'; } } else { $ls_chkestaprcxp = ""; } if (array_key_exists("chksujpasesp",$_POST)) { $ls_sujpasesp = $_POST["chksujpasesp"]; $lr_datos["sujpasesp"]=$ls_sujpasesp; if($ls_estaprsep=="1") { $ls_chksujpasesp= 'checked'; } } else { $ls_sujpasesp=0; $lr_datos["sujpasesp"]=$ls_sujpasesp; $ls_chksujpasesp = ""; } if (array_key_exists("chkestintban",$_POST)) { $ls_estintban = $_POST["chkestintban"]; $lr_datos["estintban"]=$ls_estintban; if($ls_estintban=="1") { $ls_chkestintban= 'checked'; } } else { $ls_estintban=0; $lr_datos["estintban"]=$ls_estintban; $ls_chkestintban = ""; } if (array_key_exists("chkestnivapro",$_POST)) { $ls_estnivapro = $_POST["chkestnivapro"]; $lr_datos["estnivapro"]=$ls_estnivapro; if($ls_estnivapro=="1") { $ls_chkestnivapro= 'checked'; } } else { $ls_estnivapro=0; $lr_datos["estnivapro"]=$ls_estnivapro; $ls_chkestnivapro = ""; } if (array_key_exists("chkestenvcor",$_POST)) { $ls_chkestenvcor = $_POST["chkestenvcor"]; $lr_datos["estenvcor"]=$ls_chkestenvcor; if($ls_chkestenvcor=="1") { $ls_chkestenvcor= 'checked'; } } else { $ls_chkestenvcor=0; $lr_datos["estenvcor"]=$ls_chkestenvcor; $ls_chkestenvcor = ""; } if (array_key_exists("txtctaconrepcajchi",$_POST)) { $ls_ctaconrepcajchi=$_POST["txtctaconrepcajchi"]; $lr_datos["ctaconrepcajchi"]=$ls_ctaconrepcajchi; } else { $ls_ctaconrepcajchi=""; } if (array_key_exists("txtdencuentascg",$_POST)) { $ls_dencuentascg=$_POST["txtdencuentascg"]; $lr_datos["txtdencuentascg"]=$ls_dencuentascg; } else { $ls_dencuentascg=""; } if (array_key_exists("cmbnc",$_POST)) { $ls_estafenc=$_POST["cmbnc"]; $lr_datos["estafenc"]=$ls_estafenc; } else { $ls_estafenc=""; } ///////////// nuevo if (array_key_exists("txtcueproacu",$_POST)) { $ls_cueproacu = $_POST["txtcueproacu"]; $lr_datos["cueproacu"]=$ls_cueproacu; } else { $ls_cueproacu = ""; $lr_datos["cueproacu"]=$ls_cueproacu; } if (array_key_exists("txtcuedepamo",$_POST)) { $ls_cuedepamo = $_POST["txtcuedepamo"]; $lr_datos["cuedepamo"]=$ls_cuedepamo; } else { $ls_cuedepamo = ""; $lr_datos["cuedepamo"]=$ls_cuedepamo; } // PARA LA CUENTA DE EJECUCION PRESPUESTARIA DE CIERRE - CONTABILIDAD FISCAL if (array_key_exists("txtctaejeprecie",$_POST)) { $ls_ctaejeprecie = $_POST["txtctaejeprecie"]; $lr_datos["ctaejeprecie"]=$ls_ctaejeprecie; } else { $ls_ctaejeprecie = ""; $lr_datos["ctaejeprecie"]=$ls_ctaejeprecie; } //////////// $lr_datos["ctaresact"] = $ls_ctaresact; $lr_datos["ctaresant"] = $ls_ctaresant; $lr_datos["tipo_ente"] = $_POST["seltiporg"]; ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// if ($ls_operacion=="GUARDAR") { $lb_existe = $io_empresa->uf_select_empresa(); if ($lb_existe) { $io_empresa->uf_update_empresa($lr_datos,$la_seguridad); } else //Si no existe { $io_empresa->uf_insert_empresa(); } $ls_codigo = ""; $ls_nombre = ""; $ls_nomres = ""; $ls_titulo = ""; $ls_direccion = ""; $ls_ciuemp = ""; $ls_estemp = ""; $ls_zonpos = ""; $ls_telefono = ""; $ls_fax = ""; $ls_email = ""; $ls_website = ""; $ls_numlicemp = ""; $ls_nomorgads = ""; $ls_periodo = ""; $ls_planunico = ""; $ls_pgasto = ""; $ls_pingreso = ""; $ls_activo = ""; $ls_pasivo = ""; $ls_gasto = ""; $ls_resultado = ""; $ls_contabilidad = ""; $ls_ingreso = ""; $ls_capital = ""; $ls_ordendeudor = ""; $ls_ordenacreedor = ""; $ls_presupuestogasto = ""; $ls_presupuestoingreso = ""; $ls_haciendaactivo = ""; $ls_haciendapasivo = ""; $ls_haciendaresul = ""; $ls_fiscalingreso = ""; $ls_fiscalgasto = ""; $ls_resultadoactual = ""; $ls_resultadoanterior = ""; $ls_desestpro1 = ""; $ls_desestpro2 = ""; $ls_desestpro3 = ""; $ls_desestpro4 = ""; $ls_desestpro5 = ""; $ls_cuentabienes = ""; $ls_cuentaservicios = ""; $ls_rif = ""; $ls_nit = ""; $ls_ivss = ""; $ls_concomiva = ""; $ls_concommil = ""; $ls_concommun = ""; $ls_cedben = ""; $ls_nomben = ""; $ls_scctaben = ""; $ls_ctafinanciera = ""; $ls_ctafiscal = ""; $ls_tesoroactivo = ""; $ls_tesoropasivo = ""; $ls_tesororesul = ""; $ls_scfordendeudora = ""; $ls_scfordenacreedora = ""; $ls_codasiona = ""; $li_lonestpro1 =""; $li_lonestpro2 =""; $li_lonestpro3 =""; $li_lonestpro4 =""; $li_lonestpro5 =""; $li_diacadche =""; $ls_nomrep =""; $ls_cedrep =""; $ls_telfrep =""; $ls_cargo =""; $ls_bdconsolida =""; $bd_historica =""; $ls_codaltempcon =""; $ls_ctaconrepcajchi =""; $ls_dencuentascg =""; $ls_ctaresact = ""; $ls_ctaresant = ""; $ls_camemp=""; $ls_partnodis=""; $ls_bdconscomp=""; $ls_instr2008="checked='true'"; $ls_intecred=""; $ls_chkestmanant=""; $ls_chkpresing=""; $ls_manual="checked='true'"; $ls_auto=""; $ls_ctaejeprecie=""; $ls_checkcapiva=""; $ls_chkestnivapro=""; $ls_chkestenvcor=""; $ls_codestpro1=""; $ls_denestpro1=""; $ls_codestpro2=""; $ls_denestpro2=""; $ls_codestpro3=""; $ls_denestpro3=""; $ls_codestpro4=""; $ls_denestpro4=""; $ls_codestpro5=""; $ls_denestpro5=""; $ls_chkestcomobr=""; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ?>