function sigesp_cxp_c_cmp_islr($as_path) { require_once $as_path . "shared/class_folder/sigesp_include.php"; require_once $as_path . "shared/class_folder/class_sql.php"; require_once $as_path . "shared/class_folder/class_funciones.php"; require_once $as_path . "shared/class_folder/class_mensajes.php"; require_once $as_path . "shared/class_folder/sigesp_c_seguridad.php"; require_once $as_path . "shared/class_folder/class_fecha.php"; require_once $as_path . "shared/class_folder/class_datastore.php"; require_once $as_path . "shared/class_folder/sigesp_c_generar_consecutivo.php"; $this->io_keygen = new sigesp_c_generar_consecutivo(); $io_include = new sigesp_include(); $io_connect = $io_include->uf_conectar(); $this->io_seguridad = new sigesp_c_seguridad(); $this->io_sql = new class_sql($io_connect); $this->io_function = new class_funciones(); $this->io_msg = new class_mensajes(); $this->io_fec = new class_fecha(); $this->DS = new class_datastore(); $this->ds_detalle = new class_datastore(); $this->la_empresa = $_SESSION["la_empresa"]; $this->ls_codusu = $_SESSION["la_logusr"]; $this->ls_basdatcmp = $_SESSION["la_empresa"]["basdatcmp"]; if ($this->ls_basdatcmp != "") { $io_include->uf_obtener_parametros_conexion($as_path, $this->ls_basdatcmp, &$as_hostname, &$as_login, &$as_password, &$as_gestor); if ($as_hostname != "") { $this->io_keygen->io_conexion = $io_include->uf_conectar_otra_bd($as_hostname, $as_login, $as_password, $this->ls_basdatcmp, $as_gestor); $this->io_keygen->io_sql = new class_sql($this->io_keygen->io_conexion); $io_connectaux = $io_include->uf_conectar_otra_bd($as_hostname, $as_login, $as_password, $this->ls_basdatcmp, $as_gestor); $this->io_sqlaux = new class_sql($io_connectaux); } else { $this->io_msg->message("Esta mal configurada la BD integradora"); print "<script language=JavaScript>"; print "location.href='sigespwindow_blank.php'"; print "</script>"; } } $this->ls_codemp = $_SESSION["la_empresa"]["codemp"]; }