getArr(CURR_PAGE); if ('' != CURR_PAGE && 'home' == $pageArr['alias']) { require_once(BASE_PATH . '/class/HTTP.php'); skHTTP::redirect(BASE_URL, 301); } $pageArr['lang'] = CURR_LANG; unset($SiteMap); $docHandler = $pageArr['docHandler']; $item = (array)$pageArr['item']; unset($pageArr['item']); $Doc = SiteMap::getObj('Doc/' . $docHandler . '.php', $pageArr); $Doc->showDocItemList($item); if ($pageArr['tpl']) { $Doc->setMainTpl($pageArr['tpl']); } finish_timer('Script duration'); $Doc->display(); ?>