Lets assume that you want a page called advertise.php on your site so the url would be proxysites.ca/advertise.php
First you need to make a file advertise.php with your prefered editor (notepad/frontpage/dreamweaver etc.) and the content should be:
Code:
<?php
require('./includes/config.php');
require('./includes/functions.php');
require('./includes/template.php');
require('./includes/database.php');
$db = new Database();
if (!$db->connect($db_host, $db_user, $db_pass, $db_name))
pretty_death($db->error);
$tpl = new Template('templates/advertise');
$cats = get_categories();
print_categories_in_menu($cats);
$tpl->parse_and_out(
'_root_',
array(
'title' => ' - Advertise',
)
);
?>
This should be saved/copied to your "public_html" (base) directory.
Then you need to make another file advertise.tpl and it's content should be:
Code:
<!-- INCLUDE header.tpl -->
Your page content goes here
<!-- INCLUDE footer.tpl -->
(replace "Your page content goes here" with the required page content)
This file should be saved/copied to the "public_html/templates" directory. Then just link to it as normal and you have your new page which will display in the same style as your whole site. Job done 
This will work for any new pages that are needed, just change the bolded text as appropriate, i.e. privacy policy, terms page etc.
(Copied from this post, credit to OP)
Bookmarks