getContext()->getRequest(); $id = $request->getParameter("id"); $sql = "select * from lkt_user where id = '$id'"; $r = $db->select($sql); if (!$r) { $sql = "select * from lkt_user where user_id = '$id'"; $r = $db->select($sql); } $request->setAttribute('user', $r); return View :: INPUT; } public function execute() { } public function getRequestMethods() { return Request :: POST; } } ?>