I tried something else in the meantime, you're gonna be proud of me since I know squat about php :) LOL

I took your code and between the lines for STemplate::display('header.tpl');STemplate::displa y('footer.tpl');, I put in my html and other php code to make a "contact us" page that runs on php. I was careful to put in the ?> statements and everything.

Worked like a charm! The header now has the login stuff on it like it should. I'll be trying the email templates thing too. That's quite ingenious.

Here's the code for extra pages that I'm using...

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');
?>