getConfig(); $dbh = &$site->getDatabase(); $common = new HTMLPage($config, "common"); $common->setHomePage(); $page = new HTMLPage($config, "contact"); $common->displayParsedTemplate("header"); $copy = new Copy(); $copy->loadFromDatabase($dbh, COPY_CONTACT_US); $page->addVar('main', 'COPY', nl2br(htmlspecialchars($copy->getCopy()))); $page->displayParsedTemplate("main"); $common->displayParsedTemplate("footer"); ?>