Since the page is in the forum directory it would be easier just to create a new template which would start out something like this:
{htmldoctype}
<html>
<head>
<title>$bbtitle - whatever</title>
$headinclude </head> <body> $header
and end with:
$footer
</body>
</html>
The rest is just basic HTML.
You can call the entire template with like file like this:
Code:
<?php
error_reporting(7);
require('./global.php');
eval("dooutput(\"".gettemplate("templatename")."\");");
?>
This would be competition.php in your case.
That should work.
As for the other two questions, I believe they have both been released here as hacks.