$clean_content_id = $contentObj->getVar('content_id'); } $xoopsOption['template_main'] = 'content_content.html'; include_once ICMS_ROOT_PATH . '/header.php'; if (is_object($contentObj) && $contentObj->accessGranted()) { $content_content_handler->updateCounter($clean_content_id); $content = $contentObj->toArray(); $icmsTpl->assign('content_content', $content); $icmsTpl->assign('showInfo', $contentConfig['show_contentinfo']); $showSubs = $contentConfig['show_relateds'] && $content['content_showsubs'] ? true : false; $icmsTpl->assign('showSubs', $showSubs); if ($contentConfig['show_breadcrumb']) { $icmsTpl->assign('content_category_path', $content_content_handler->getBreadcrumbForPid($contentObj->getVar('content_id', 'e'), 1)); } else { $icmsTpl->assign('content_category_path', false); } } else { redirect_header(CONTENT_URL, 3, _NOPERM); } if ($contentConfig['com_rule'] && $contentObj->getVar('content_cancomment')) { $icmsTpl->assign('content_content_comment', true); include_once ICMS_ROOT_PATH . '/include/comment_view.php'; } /** * Generating meta information for this page */ $icms_metagen = new icms_ipf_Metagen($contentObj->getVar('content_title'), $contentObj->getVar('meta_keywords', 'n'), $contentObj->getVar('meta_description', 'n')); $icms_metagen->createMetaTags(); $xoTheme->addStylesheet(ICMS_URL . '/modules/content/include/content.css'); $icmsTpl->assign('content_module_home', content_getModuleName(true, true)); include_once CONTENT_ROOT_PATH . 'footer.php';