// Khong co chuyen file if (empty($nv_update_config['updatelog']['data_list'])) { // Khong co chuyen CSDL luon $array['BackStepUrl'] = NV_BASE_SITEURL . 'install/update.php?step=2&substep=1'; } else { $array['BackStepUrl'] = NV_BASE_SITEURL . 'install/update.php?step=2&substep=3'; } } else { $array['BackStepUrl'] = NV_BASE_SITEURL . 'install/update.php?step=2&substep=4'; } if ($nv_update_config['updatelog']['step'] < 2) { $nv_update_config['updatelog']['step'] = 2; $NvUpdate->set_data_log($nv_update_config['updatelog']); } } $contents = $NvUpdate->step2($array, $nv_update_config['substep']); } elseif ($nv_update_config['step'] == 3) { // Hoan tat nang cap $array = array(); // Lay thong tin phien ban va module if ($nv_Request->isset_request('load', 'get')) { $type = $nv_Request->get_title('load', 'get', ''); if ($type == 'ver') { $version = nv_geVersion(0); $array['current_version'] = $global_config['version']; $array['newVersion'] = (string) $version['version'] . ' - ' . (string) $version['name']; $array['checkversion'] = false; if (nv_version_compare($global_config['version'], $version['version']) < 0) { $array['checkversion'] = true; } $NvUpdate->version_info($array);