Create yourfile.php and copy the following codes, don't forget to change the "templatename"
PHP Code:
<?php
error_reporting(E_ALL & ~E_NOTICE);
define('THIS_SCRIPT', 'yourfile');
require_once('./global.php');
eval('print_output("' . fetch_template('templatename') . '");');
?>
And add a new template from your Admin CP.
HTML Code:
$stylevar[htmldoctype] $headinclude $header
your codes goes here
$footer (if you want)
And save it.
Your sincerely.