} } if ($bSaveOk) { header('location:phone_list.php' . URL_REDIRECT_APPEND . '&user_origin=' . $user_origin . '&nr=' . $nr); exit; } else { echo "<p>" . $phone->getLastQuery() . "<p>{$LDDbNoSave}."; } } else { $error = 1; } } if ($user_origin == 'pers' && $nr) { if (!$employee->loadPersonellData($nr)) { $mode = 'save'; } elseif ($employee->PhoneKey()) { $mode = 'update'; } } ?> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.0//EN" "html.dtd"> <?php html_rtl($lang); ?> <HEAD> <?php echo setCharSet(); ?> <TITLE></TITLE>