$content_template, ); // Set Section Variables if($page_section == 'form') { $section[$page_section]['var'] = array( 'page_activate' => APP_ACTIVATE, 'owner' => $companyName, ); } // Set Page Variables $var['og'] = $page_config['FB_OG'][$page_section]; $var['info'] = array( 'company' => $companyName, 'campaign' => $campaignName, 'url' => CAMPAIGN_PATH, ); $var['html'] = array( 'sections' => $content_template, 'terms' => $terms_template, ); $var['app'] = array( 'activate' => APP_ACTIVATE, ); // Define Page Object $page = new Template($page_template); $page->var = $var; // Display Page ob_start(); $page->display(); ob_end_flush(); ?>