public function viewrecent() { $this->set('title', Lang::gs('pireps.view.recent')); $this->set('pireps', PIREPData::GetRecentReports()); $this->set('descrip', 'These pilot reports are from the past 48 hours'); $this->set('pending', false); $this->set('load', 'viewrecent'); $this->render('pireps_list.tpl'); }