Example #1
0
 /**
  * Index action (default)
  */
 public function action_index()
 {
     $this->template->title = __('Lịch chiếu các kênh truyền hình');
     $this->template->section_title = __('Lịch chiếu các kênh truyền hình');
     $data['channel_list'] = LichTruyenHinh::bll()->getAllChannels(false);
     $this->template->content = View::factory('front/lichtruyenhinh/index', $data);
 }
Example #2
0
 public function action_index()
 {
     $this->template->title = __("Danh sách các kênh truyền hình");
     $this->template->section_title = __("Danh sách các kênh truyền hình");
     $data = array();
     //        $categories = TruyenCuoiCategory::bll()->getCatById_WithStoryCount();
     $data['channels'] = LichTruyenHinh::bll()->getAllChannels();
     $this->template->content = View::factory('/admin/lichtruyenhinh/index', $data);
 }