VarDbDsn = $MS_SP->Sp_DbConf['db']['DbDsn']; $ObjMenu->VarTable = $MS_SP->Sp_Config['DbPref'] .'_menu'; $ObjMenu->VarSmarty = $smarty; $ObjMenu->VarMenuName = 'MenuTop'; $ObjMenu->VarMenuVid = 'MenuTop'; $VarMenu = $ObjMenu->GetMenu(); $smarty->assign('VarMenu', $VarMenu); $ArrMenu = $ObjMenu->GetMenuArray(); $VarTitlePage = $MS_SP->GetTitleName($ArrMenu, $MS_SP->SP_CurrentHref); $smarty->assign('titlename', $VarTitlePage); $VarPagesTxt = $smarty->fetch('pages/about.tpl'); $smarty->assign('VarPagesTxt', @$VarPagesTxt); $smarty->display('Page_new.tpl'); ?>