Exemplo n.º 1
0
 public function actionIndex()
 {
     $lessons = MainModel::getRandLessons(6);
     require_once ROOT . "/views/index/header.php";
     require_once ROOT . "/views/content/mainViewTop.php";
     require_once ROOT . "/views/content/lessons/lessonsView.php";
     require_once ROOT . "/views/content/mainViewBottom.php";
     require_once ROOT . "/views/index/footer.php";
     return true;
 }