assign('gotMenu',$gotMenu); $smarty->assign('gotTree',$gotTree); $smarty->assign('gotBlock',$gotBlock); $smarty->assign('gotNews',$gotNews); $smarty->assign('gotNewsPopular',$gotNewsPopular); $smarty->assign('gotNewsWorld',$gotNewsWorld); $smarty->assign('gotNewsHealth',$gotNewsHealth); $smarty->assign('gotPubl',$gotPubl); $smarty->assign('gotLastPath',$gotLastPath); $gotHome=sql_query('SELECT cid, name_'.$_SESSION['lang'].', txt_'.$_SESSION['lang'].', created, visited FROM '.$dbprefix.'content WHERE status=1 AND show_main=1',0); $smarty->assign('gotHome',$gotHome); $smarty->assign('gotStrajLast',$gotStrajLast); ### for DA 2012 $galleryJS='' .'' .'' ." " ; $smarty->assign('galleryJS',$galleryJS); ### GET NEWSTYPE $smarty->assign('gotNewsType',$gotNewsType); $smarty->assign('gotNewsTypeCnt',count($gotNewsType)); foreach ($genLang as $key=>$val){ $smarty->assign($key,$val); } $tpl = $smarty->fetch($file_tpl.'.tpl'); print $tpl; ?>