/**
* Code used to display an error message.
*/
$errortype = array (
1 => "Error",
2 => "Warning",
4 => "Parsing Error",
8 => "Notice",
16 => "Core Error",
32 => "Core Warning",
64 => "Compile Error",
128 => "Compile Warning",
256 => "User Error",
512 => "User Warning",
1024=> "User Notice",
2048=> "Strict"
);
$err = "Date: ".date("Y-m-d H:i:s (T)")."\n";
$err .= "Error number: ".$errno."\n";
$err .= "Error type: ".$errortype[$errno]."\n";
$err .= "Error message: ".$errmsg."\n";
$err .= "Filename: ".$filename."\n";
$err .= "Line number: ".$linenum."\n";
echo "\n";
echo "\n";
echo "
$gametitle\n";
echo "
\n";
echo "
\n";
echo "
\n";
echo "
\n";
echo "\n";
echo "\n";
echo "