getConfig(); $dbh = &$site->getDatabase(); $common = new HTMLPage($config, "common", "templates"); $common->setHomePage(); $page = new HTMLPage($config, "reel", "templates"); $common->displayParsedTemplate("header"); $page->displayParsedTemplate("main"); $common->displayParsedTemplate("footer"); ?>