I did a search on the forum and I found a half solution:
Create a .php page and call it whatever you want like "links.php" and put this in it:

Code:
<?php
session_start();
include("include/config.php");
include("include/function.php");
STemplate::display('header.tpl');
?>

YOUR SITE CONTENT HERE BLAH BLAH BLAH

<?php
STemplate::display('footer.tpl');
?>
[/quote]


This creates a php page that contains the header and footer but it still doesn't make the page function properly. I even tried to paste code from another page (ex. view_video.tpl code). I can see the comment box but it doesn't work.