VarDbDsn = $MS_SP->Sp_DbConf['db']['DbDsn']; $ObjMenuAdmin->VarTable = $MS_SP->Sp_Config['DbPref'] .'_menu'; $ObjMenuAdmin->VarSmarty = $smarty; $ObjMenuAdmin->VarMenuName = 'MenuTop'; $ObjMenuAdmin->VarMenuVid = 'MenuTop'; $VarMenu = $ObjMenuAdmin->GetMenu(); $smarty->assign('VarMenu', $VarMenu); 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->GetAuthorByLetter(); $smarty->assign('Arr', $ArrAuthor); $VarPagesTxt = $smarty->fetch('pages/artists.tpl'); $smarty->assign('VarPagesTxt', @$VarPagesTxt); $smarty->display('Page_new.tpl'); ?>