<?php /** * File for displaying meta course for facebook * Call: call.MeataCourse.php */ require_once '../inc/class.Frontend.php'; require_once '../inc/class.FrontendShared.php'; $Frontend = new FrontendShared(true); $Meta = new HTMLMetaForFacebook(); $Meta->displayCourse();
<!DOCTYPE html> <html prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# fitness: http://ogp.me/ns/fitness#"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <?php if (NULL !== $this->ActivityContext) { $Meta = new HTMLMetaForFacebook($this->ActivityContext); $Meta->display(); } ?> <base href="<?php echo System::getFullDomain(); ?> "> <?php echo System::getCodeForAllCSSFiles(); ?> <link rel="shortcut icon" type="image/x-icon" href="img/favicon.ico"> <title><?php echo $this->getPageTitle(); ?> - RUNALYZE</title> <?php echo System::getCodeForExternalJSFiles();