public function renderDefault($id) { $this->template->categories = $this->option->get('show_all_categories') ? $this->category->get_all() : $this->category->get_unread(); $this->template->current_category = NULL; $this->template->feeds = $this->option->get('show_all_feeds') ? $this->feed->get_all() : $this->feed->get_unread(); $this->template->current_feed = NULL; $this->template->unread_count = $this->category->unread_count(); }