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); require_once($_SERVER['DOCUMENT_ROOT'] .'/script/author.mod.php'); $ObjAuthorMod = new AuthorMod('author.table.php'); $ObjAuthorMod->VarDbDsn = $MS_SP->Sp_DbConf['db']['DbDsn']; $ObjAuthorMod->VarTable = $MS_SP->Sp_Config['DbPref'] .'_author'; $ObjAuthorMod->VarSmarty = $smarty; $ArrAuthor = $ObjAuthorMod->GetAuthor(@$_GET['UrlRid']); $smarty->assign('Arr', $ArrAuthor); $VarPagesTxt = $smarty->fetch('pages/biography.tpl'); $smarty->assign('VarPagesTxt', @$VarPagesTxt); $smarty->display('Page.tpl'); ?>