This is a basic PHP script that is used for vbulletin. It contains template connections so that you can get the header and footer information.
PHP Code:
<?php
error_reporting(7);
$templatesused=" your_template_here ";
require("./global.php");
// Your PHP Code Here
eval("dooutput(\"".gettemplate('your_template_here ')."\");");
?>
now in the template you will want to put something like this.
PHP Code:
{htmldoctype}
<html>
<head>
<!-- no cache headers -->
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="no-cache">
<meta http-equiv="Expires" content="-1">
<meta http-equiv="Cache-Control" content="no-cache">
<!-- end no cache headers -->
<meta name="keywords" content="vbulletin,forum,bbs,discussion,jelsoft">
<meta name="description" content="$bbtitle is a discussion forum powered by vBulletin. To visit the forum, go to $bburl/ . To find out about vBulletin, go to [url]http://www.vbulletin.com/[/url] .">
<title>$bbtitle - powered by vBulletin</title>
$headinclude
</head>
<body>
$header
<!-- your html code here -->
$footer
</body>
</html>
Now you will have to add the image / tables within the template for it to work / view correctly.