public function ShowDebit() { $year = $this->get->year ? $this->get->year : date('Y'); Phalanx::loadClasses('public.Accounting'); // $this->views = new Views(new Template("public")); $template = new Template("public", "novo/default.phtml"); $this->views = new Views($template); $this->views->current_year = $year; $this->views->data = Accounting::getAccounting($year, "<"); $this->views->display('novo/accounting_d.phtml'); }