public $CTA4 = 7; //NA public $CTA5 = 8; //NA public $CTA6 = 9; } $catImport = array(); $aplicar = parametro("idaplicar", false, MQL_BOOL); if ($aplicar == true) { $action = MQL_ADD; } //Cedula de Identidad $tmp = new cTmp(); $xFi->setCharDelimiter("|"); //$xFi->setLimitCampos(9); $xFi->setToUTF8(); //var_dump($_FILES["f1"]); $xFi->setExo($esqueleto); //var_dump($_FILES); if ($xFi->processFile($doc1) == true) { $data = $xFi->getData(); $conteo = 1; foreach ($data as $rows) { if ($conteo > 1) { $xFi->setDataRow($rows); $cuenta = $xFi->getV($tmp->CUENTA, ""); $xEQ = new cCuentaContableEsquema($cuenta); $xCW = new cCatalogoCompacW(); //echo $xEQ->CUENTA_FORMATEADA . "<br/>" . $xEQ->CUENTARAW ."<br />" . $xCW->getEquivalencia( $xFi->getV($tmp->NATURALEZA, "") ) . $xEQ->NIVEL_ACTUAL . "<hr />"; $cuenta = $xEQ->CUENTA_FORMATEADA; $xCCont = new cCuentaContable($cuenta);