assign('title', _('Время говорить по-русски').'::'._('Уроки')); $css = array( '/irlc_projects/speak-russian/time_new/design/css/header.css', '/irlc_projects/speak-russian/time_new/design/css/lesson01.css', ); $smarty->assign('css', $css); $smarty->assign('about', _('Вы не знаете, как работать с основным курсом? Вам сюда.')); // require_once('lessons.inc'); // $smarty->assign('lessons', $lessons); // $smarty->display('rus/course/index.tpl'); $xml=$smarty->fetch('rus/course/lessons.tpl'); $lessons = xml2ary($xml); $smarty->assign('lessons', $lessons{'lessons'}{'_c'}{'lesson'}); $smarty->display('rus/course/index.tpl'); ?>