".LAN_ERROR_35."".LAN_ERROR_36."
".LAN_ERROR_3."
";
break;
case 401:
$errorHeader = "HTTP/1.1 401 Unauthorized";
$errorText = " ".LAN_ERROR_1."
".LAN_ERROR_2."
".LAN_ERROR_3."
";
break;
case 403:
$errorHeader = "HTTP/1.1 403 Forbidden";
$errorText = " ".LAN_ERROR_4."
".LAN_ERROR_5."
".LAN_ERROR_6."
";
break;
case 404:
$errorHeader = "HTTP/1.1 404 Not Found";
$errorText = " ".LAN_ERROR_7."
".LAN_ERROR_21.'
'.LAN_ERROR_9."
";
if (strlen($errFrom)) $errorText .= LAN_ERROR_23." {$errFrom} ".LAN_ERROR_24." -- ".LAN_ERROR_19."
";
//.LAN_ERROR_23."{$errTo}".LAN_ERROR_24."
" ???
$errorText .= "".LAN_ERROR_45."
";
if($errReturnTo)
{
foreach ($errReturnTo as $url => $label)
{
$errorText .= "".$label."
";
}
$errorText .= '
';
}
$errorText .= "".LAN_ERROR_20."
";
$errorText .= "".LAN_ERROR_22."";
break;
case 500:
$errorHeader = "HTTP/1.1 500 Internal Server Error";
$errorText = " ".LAN_ERROR_10."
".LAN_ERROR_11."
".LAN_ERROR_12."
";
break;
case 999:
if (E107_DEBUG_LEVEL)
{
echo LAN_ERROR_33."
\n";
print_r($_SERVER);
print_r($_REQUEST);
echo "\n
\n";
}
else
{
header("location: ".e_HTTP."index.php");
exit;
}
break;
default :
$errorText = "".LAN_ERROR_13." (".$errorQuery.")
".LAN_ERROR_14."
".LAN_ERROR_15."
";
// default:
// $errorText = LAN_ERROR_34." e_QUERY = '".e_QUERY."'
".LAN_ERROR_20."";
// break;
}
if ($errorHeader) header($errorHeader);
require_once(HEADERF);
$ns->tablerender(PAGE_NAME, $errorText);
require_once(FOOTERF);
?>