public function getfiles() { $u = new Post_model($this->template, $this->router->query_string); $u->get_post_files($this->router->id); $this->template->render("get_post_files_result", "json"); }