parameter['id']; $subview = $ROUTE->parameter['subview']; $post = $SITE->modules->Blog()->getFullBlogpost($id, $subview, $err); if ($post === null) { $FRAME_OPTIONS->setForced404($err); return; } $FRAME_OPTIONS->title = $post['title']; $FRAME_OPTIONS->canonical_url = $post['canonical']; if ($post['type'] == 'euler') $FRAME_OPTIONS->activeHeader = 'euler'; else if ($post['type'] == 'euler' && $post['issubview']) $FRAME_OPTIONS->activeHeader = 'aoc'; else $FRAME_OPTIONS->activeHeader = 'blog'; ?>