"; $errorString = ''; if (isset($_POST['show_password'])) { if ($_POST['calc_password'] != $_POST['calc_password1']) { $errorString = LAN_PCALC_10; } if (!$errorString) { $loginResult = $user_info->validateField('user_loginname',$loginName,FALSE); $passwordResult = $user_info->validateField('user_password',trim($_POST['calc_password']),FALSE); if ($passwordResult !== TRUE) { $errorString = LAN_PCALC_08; } elseif ($loginResult === TRUE) { $passwordHash = $user_info->HashPassword($_POST['calc_password'],$loginName); } else { $errorString = LAN_PCALC_05; } } if (!$errorString) { $text .= " "; } if ($errorString) { $text .= " "; } } $text .= " "; $text .= "
".LAN_PCALC_01."
".LAN_PCALC_02."
".LAN_PCALC_03."
".LAN_PCALC_09."
".LAN_PCALC_07." ".$passwordHash."
".LAN_PCALC_06." ".$errorString."
\n

"; $ns->tablerender(LAN_PCALC_11, $text); require(FOOTERF); ?>