public function newAutorAction() { $regist = new AutorProx(); echo $regist->add(); header("Location: ../admin-panel?c=opcionAutor"); }