$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( 'footer' => $footer_template, 'modal' => $modal_template, 'noscript' => $noscript_template, 'script' => $script_template, 'sections' => $content_template, 'terms' => $terms_template, 'timetable' => $timetable_template, ); $var['app'] = array( 'activate' => APP_ACTIVATE, 'debug' => $debug, 'theme_color' => $theme_color, ); // Define Page Object $page = new Template($page_template); $page->var = $var; // Display Page ob_start(); $page->display(); ob_end_flush(); ?>