$field['new' . $key] = urldecode($value); } //join $ntable->ses->execute($ntable->replaceDataField($ntable->sqlUpdate, $field)); break; case "insert": $ntable->prepareQuery(); parse_str(get_ajax_value('field'), $field); foreach ($field as $key => $value) { $field[$key] = urldecode($value); } $ntable->ses->execute($ntable->replaceDataField($ntable->sqlInsert, $field)); break; case "printForm": parse_str(get_ajax_value('field'), $field); parse_str(get_ajax_value('field'), $field); foreach ($field as $key => $value) { $field[$key] = urldecode($value); } $ntable->printForm(get_ajax_value('filename'), $field); return; } $ntable->renderTable("content"); G::LoadClass("configuration"); $conf = new Configurations(); $conf->setConfig($ntable->__Configuration, $ntable, $conf->aConfig); if (isset($_SESSION["USER_LOGGED"])) { $conf->saveConfig("pagedTable", $ntable->__OBJ_UID, "", $_SESSION["USER_LOGGED"], ""); } else { $conf->saveConfig("pagedTable", $ntable->__OBJ_UID); }