{"action":"created","issue":{"url":"https://api.github.com/repos/martinzhou2015/SRCMS/issues/2","labels_url":"https://api.github.com/repos/martinzhou2015/SRCMS/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/martinzhou2015/SRCMS/issues/2/comments","events_url":"https://api.github.com/repos/martinzhou2015/SRCMS/issues/2/events","html_url":"https://github.com/martinzhou2015/SRCMS/issues/2","id":128468918,"number":2,"title":"undefined variable $Page.","user":{"login":"phith0n","id":5711185,"avatar_url":"https://avatars.githubusercontent.com/u/5711185?v=3","gravatar_id":"","url":"https://api.github.com/users/phith0n","html_url":"https://github.com/phith0n","followers_url":"https://api.github.com/users/phith0n/followers","following_url":"https://api.github.com/users/phith0n/following{/other_user}","gists_url":"https://api.github.com/users/phith0n/gists{/gist_id}","starred_url":"https://api.github.com/users/phith0n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phith0n/subscriptions","organizations_url":"https://api.github.com/users/phith0n/orgs","repos_url":"https://api.github.com/users/phith0n/repos","events_url":"https://api.github.com/users/phith0n/events{/privacy}","received_events_url":"https://api.github.com/users/phith0n/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-25T05:53:59Z","updated_at":"2016-01-25T11:35:54Z","closed_at":null,"body":"```php\r\nclass HallController extends Controller{\r\n\r\n    public function index($key=\"\")\r\n    {\r\n        if($key == \"\"){\r\n            $model = M('member');  \r\n        }else{\r\n            $where['title'] = array('like',\"%$key%\");\r\n            $where['name'] = array('like',\"%$key%\");\r\n            $where['_logic'] = 'or';\r\n            $model = M('member')->where($where); \r\n        } \r\n        \r\n        $user = $model->limit($Page->firstRow.','.$Page->listRows)->where($where)->order('jifen ASC')->where('type=1')->select();\r\n\t    $xuhao = 1;\r\n\t\t$tmodel= M('setting');\r\n\t\t$title = $tmodel->where('id=1')->select();\r\n        $this->assign('title', $title);\r\n\t\t$this -> assign('xuhao',$xuhao);\r\n        $this->assign('user',getSortedCategory($user));\r\n        $this->display();   \r\n    }\r\n}\r\n\r\n```\r\n\r\nundefined variable $Page."},"comment":{"url":"https://api.github.com/repos/martinzhou2015/SRCMS/issues/comments/174480272","html_url":"https://github.com/martinzhou2015/SRCMS/issues/2#issuecomment-174480272","issue_url":"https://api.github.com/repos/martinzhou2015/SRCMS/issues/2","id":174480272,"user":{"login":"phith0n","id":5711185,"avatar_url":"https://avatars.githubusercontent.com/u/5711185?v=3","gravatar_id":"","url":"https://api.github.com/users/phith0n","html_url":"https://github.com/phith0n","followers_url":"https://api.github.com/users/phith0n/followers","following_url":"https://api.github.com/users/phith0n/following{/other_user}","gists_url":"https://api.github.com/users/phith0n/gists{/gist_id}","starred_url":"https://api.github.com/users/phith0n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phith0n/subscriptions","organizations_url":"https://api.github.com/users/phith0n/orgs","repos_url":"https://api.github.com/users/phith0n/repos","events_url":"https://api.github.com/users/phith0n/events{/privacy}","received_events_url":"https://api.github.com/users/phith0n/received_events","type":"User","site_admin":false},"created_at":"2016-01-25T11:35:54Z","updated_at":"2016-01-25T11:35:54Z","body":"其实我在酝酿大动作。"}}