function action_post_edit_get() { include "application/models/model_post.php"; $id = $_POST['id']; $post = new Model_Post(); $data = $post->get_one_post($id); $this->view->generate('admin_post_edit.php', 'template_view.php', $data); }