append("lucrari",$myrow); } $smarty->assign("section","home"); $smarty->display('header.tpl'); $smarty->display('index.tpl'); $smarty->display('footer.tpl'); ?>