HTML; $content = "

{$error_html}

\n"; if ($sub_message) { $content .= "

".html_encode($sub_message)."

"; } BoostFilter::display_template(Array('head' => $head, 'content' => $content)); } static function error_404($file, $message = null) { $error = "404 Not Found"; header("{$_SERVER["SERVER_PROTOCOL"]} {$error}"); $head = << Boost C++ Libraries - 404 Not Found HTML; $content = '

'.html_encode($error).'

File "' . html_encode($file) . '" not found.

'; $content .= html_encode($message); $content .= '

'; BoostFilter::display_template(Array('head' => $head, 'content' => $content)); } }