{"action":"created","comment":{"url":"https://api.github.com/repos/enochtsang/flock-information-database/pulls/comments/46207358","id":46207358,"diff_hunk":"@@ -0,0 +1,79 @@\n+<html>\r\n+    <head>\r\n+        <title>Member</title>\r\n+        \t\t<script>\r\n+\tfunction gotologin() {\r\n+    location.href = \"login.php\";\r\n+}\r\n+\r\n+</script>\r\n+    </head>\r\n+    <body bgcolor=#b2b2b2>\r\n+        <div align=\"center\" style=\"background-color: whitesmoke\">\r\n+            <?php\r\n+            session_start();\r\n+            require_once 'connect.php';\r\n+\r\n+//3. If the form is submitted or not.\r\n+//3.1 If the form is submitted\r\n+            if (isset($_POST['username']) and isset($_POST['password'])) {\r","path":"redirectPostLogin.php","position":19,"original_position":19,"commit_id":"374020ce5ba11ce8af6948db1d8efb7a6222ef20","original_commit_id":"374020ce5ba11ce8af6948db1d8efb7a6222ef20","user":{"login":"enochtsang","id":9893396,"avatar_url":"https://avatars.githubusercontent.com/u/9893396?v=3","gravatar_id":"","url":"https://api.github.com/users/enochtsang","html_url":"https://github.com/enochtsang","followers_url":"https://api.github.com/users/enochtsang/followers","following_url":"https://api.github.com/users/enochtsang/following{/other_user}","gists_url":"https://api.github.com/users/enochtsang/gists{/gist_id}","starred_url":"https://api.github.com/users/enochtsang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enochtsang/subscriptions","organizations_url":"https://api.github.com/users/enochtsang/orgs","repos_url":"https://api.github.com/users/enochtsang/repos","events_url":"https://api.github.com/users/enochtsang/events{/privacy}","received_events_url":"https://api.github.com/users/enochtsang/received_events","type":"User","site_admin":false},"body":"We should probably include an else statement here.","created_at":"2015-11-30T21:37:22Z","updated_at":"2015-11-30T21:37:22Z","html_url":"https://github.com/enochtsang/flock-information-database/pull/4#discussion_r46207358","pull_request_url":"https://api.github.com/repos/enochtsang/flock-information-database/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/enochtsang/flock-information-database/pulls/comments/46207358"},"html":{"href":"https://github.com/enochtsang/flock-information-database/pull/4#discussion_r46207358"},"pull_request":{"href":"https://api.github.com/repos/enochtsang/flock-information-database/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/enochtsang/flock-information-database/pulls/4","id":52167441,"html_url":"https://github.com/enochtsang/flock-information-database/pull/4","diff_url":"https://github.com/enochtsang/flock-information-database/pull/4.diff","patch_url":"https://github.com/enochtsang/flock-information-database/pull/4.patch","issue_url":"https://api.github.com/repos/enochtsang/flock-information-database/issues/4","number":4,"state":"open","locked":false,"title":"James new","user":{"login":"jeinglis","id":9619473,"avatar_url":"https://avatars.githubusercontent.com/u/9619473?v=3","gravatar_id":"","url":"https://api.github.com/users/jeinglis","html_url":"https://github.com/jeinglis","followers_url":"https://api.github.com/users/jeinglis/followers","following_url":"https://api.github.com/users/jeinglis/following{/other_user}","gists_url":"https://api.github.com/users/jeinglis/gists{/gist_id}","starred_url":"https://api.github.com/users/jeinglis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeinglis/subscriptions","organizations_url":"https://api.github.com/users/jeinglis/orgs","repos_url":"https://api.github.com/users/jeinglis/repos","events_url":"https://api.github.com/users/jeinglis/events{/privacy}","received_events_url":"https://api.github.com/users/jeinglis/received_events","type":"User","site_admin":false},"body":"Adding Login  and register pages","created_at":"2015-11-30T19:27:03Z","updated_at":"2015-11-30T21:37:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"19ae2fd30e645a3e5ef0d8940c72f38de6f9851a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/enochtsang/flock-information-database/pulls/4/commits","review_comments_url":"https://api.github.com/repos/enochtsang/flock-information-database/pulls/4/comments","review_comment_url":"https://api.github.com/repos/enochtsang/flock-information-database/pulls/comments{/number}","comments_url":"https://api.github.com/repos/enochtsang/flock-information-database/issues/4/comments","statuses_url":"https://api.github.com/repos/enochtsang/flock-information-database/statuses/374020ce5ba11ce8af6948db1d8efb7a6222ef20","head":{"label":"enochtsang:JamesNew","ref":"JamesNew","sha":"374020ce5ba11ce8af6948db1d8efb7a6222ef20","user":{"login":"enochtsang","id":9893396,"avatar_url":"https://avatars.githubusercontent.com/u/9893396?v=3","gravatar_id":"","url":"https://api.github.com/users/enochtsang","html_url":"https://github.com/enochtsang","followers_url":"https://api.github.com/users/enochtsang/followers","following_url":"https://api.github.com/users/enochtsang/following{/other_user}","gists_url":"https://api.github.com/users/enochtsang/gists{/gist_id}","starred_url":"https://api.github.com/users/enochtsang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enochtsang/subscriptions","organizations_url":"https://api.github.com/users/enochtsang/orgs","repos_url":"https://api.github.com/users/enochtsang/repos","events_url":"https://api.github.com/users/enochtsang/events{/privacy}","received_events_url":"https://api.github.com/users/enochtsang/received_events","type":"User","site_admin":false},"repo":{"id":45574392,"name":"flock-information-database","full_name":"enochtsang/flock-information-database","owner":{"login":"enochtsang","id":9893396,"avatar_url":"https://avatars.githubusercontent.com/u/9893396?v=3","gravatar_id":"","url":"https://api.github.com/users/enochtsang","html_url":"https://github.com/enochtsang","followers_url":"https://api.github.com/users/enochtsang/followers","following_url":"https://api.github.com/users/enochtsang/following{/other_user}","gists_url":"https://api.github.com/users/enochtsang/gists{/gist_id}","starred_url":"https://api.github.com/users/enochtsang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enochtsang/subscriptions","organizations_url":"https://api.github.com/users/enochtsang/orgs","repos_url":"https://api.github.com/users/enochtsang/repos","events_url":"https://api.github.com/users/enochtsang/events{/privacy}","received_events_url":"https://api.github.com/users/enochtsang/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/enochtsang/flock-information-database","description":"","fork":false,"url":"https://api.github.com/repos/enochtsang/flock-information-database","forks_url":"https://api.github.com/repos/enochtsang/flock-information-database/forks","keys_url":"https://api.github.com/repos/enochtsang/flock-information-database/keys{/key_id}","collaborators_url":"https://api.github.com/repos/enochtsang/flock-information-database/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/enochtsang/flock-information-database/teams","hooks_url":"https://api.github.com/repos/enochtsang/flock-information-database/hooks","issue_events_url":"https://api.github.com/repos/enochtsang/flock-information-database/issues/events{/number}","events_url":"https://api.github.com/repos/enochtsang/flock-information-database/events","assignees_url":"https://api.github.com/repos/enochtsang/flock-information-database/assignees{/user}","branches_url":"https://api.github.com/repos/enochtsang/flock-information-database/branches{/branch}","tags_url":"https://api.github.com/repos/enochtsang/flock-information-database/tags","blobs_url":"https://api.github.com/repos/enochtsang/flock-information-database/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/enochtsang/flock-information-database/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/enochtsang/flock-information-database/git/refs{/sha}","trees_url":"https://api.github.com/repos/enochtsang/flock-information-database/git/trees{/sha}","statuses_url":"https://api.github.com/repos/enochtsang/flock-information-database/statuses/{sha}","languages_url":"https://api.github.com/repos/enochtsang/flock-information-database/languages","stargazers_url":"https://api.github.com/repos/enochtsang/flock-information-database/stargazers","contributors_url":"https://api.github.com/repos/enochtsang/flock-information-database/contributors","subscribers_url":"https://api.github.com/repos/enochtsang/flock-information-database/subscribers","subscription_url":"https://api.github.com/repos/enochtsang/flock-information-database/subscription","commits_url":"https://api.github.com/repos/enochtsang/flock-information-database/commits{/sha}","git_commits_url":"https://api.github.com/repos/enochtsang/flock-information-database/git/commits{/sha}","comments_url":"https://api.github.com/repos/enochtsang/flock-information-database/comments{/number}","issue_comment_url":"https://api.github.com/repos/enochtsang/flock-information-database/issues/comments{/number}","contents_url":"https://api.github.com/repos/enochtsang/flock-information-database/contents/{+path}","compare_url":"https://api.github.com/repos/enochtsang/flock-information-database/compare/{base}...{head}","merges_url":"https://api.github.com/repos/enochtsang/flock-information-database/merges","archive_url":"https://api.github.com/repos/enochtsang/flock-information-database/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/enochtsang/flock-information-database/downloads","issues_url":"https://api.github.com/repos/enochtsang/flock-information-database/issues{/number}","pulls_url":"https://api.github.com/repos/enochtsang/flock-information-database/pulls{/number}","milestones_url":"https://api.github.com/repos/enochtsang/flock-information-database/milestones{/number}","notifications_url":"https://api.github.com/repos/enochtsang/flock-information-database/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/enochtsang/flock-information-database/labels{/name}","releases_url":"https://api.github.com/repos/enochtsang/flock-information-database/releases{/id}","created_at":"2015-11-04T23:32:45Z","updated_at":"2015-11-30T05:13:00Z","pushed_at":"2015-11-30T20:01:06Z","git_url":"git://github.com/enochtsang/flock-information-database.git","ssh_url":"git@github.com:enochtsang/flock-information-database.git","clone_url":"https://github.com/enochtsang/flock-information-database.git","svn_url":"https://github.com/enochtsang/flock-information-database","homepage":null,"size":6390,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"enochtsang:master","ref":"master","sha":"010612b22df5918ac01dca4475e028bd7bc68dfc","user":{"login":"enochtsang","id":9893396,"avatar_url":"https://avatars.githubusercontent.com/u/9893396?v=3","gravatar_id":"","url":"https://api.github.com/users/enochtsang","html_url":"https://github.com/enochtsang","followers_url":"https://api.github.com/users/enochtsang/followers","following_url":"https://api.github.com/users/enochtsang/following{/other_user}","gists_url":"https://api.github.com/users/enochtsang/gists{/gist_id}","starred_url":"https://api.github.com/users/enochtsang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enochtsang/subscriptions","organizations_url":"https://api.github.com/users/enochtsang/orgs","repos_url":"https://api.github.com/users/enochtsang/repos","events_url":"https://api.github.com/users/enochtsang/events{/privacy}","received_events_url":"https://api.github.com/users/enochtsang/received_events","type":"User","site_admin":false},"repo":{"id":45574392,"name":"flock-information-database","full_name":"enochtsang/flock-information-database","owner":{"login":"enochtsang","id":9893396,"avatar_url":"https://avatars.githubusercontent.com/u/9893396?v=3","gravatar_id":"","url":"https://api.github.com/users/enochtsang","html_url":"https://github.com/enochtsang","followers_url":"https://api.github.com/users/enochtsang/followers","following_url":"https://api.github.com/users/enochtsang/following{/other_user}","gists_url":"https://api.github.com/users/enochtsang/gists{/gist_id}","starred_url":"https://api.github.com/users/enochtsang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enochtsang/subscriptions","organizations_url":"https://api.github.com/users/enochtsang/orgs","repos_url":"https://api.github.com/users/enochtsang/repos","events_url":"https://api.github.com/users/enochtsang/events{/privacy}","received_events_url":"https://api.github.com/users/enochtsang/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/enochtsang/flock-information-database","description":"","fork":false,"url":"https://api.github.com/repos/enochtsang/flock-information-database","forks_url":"https://api.github.com/repos/enochtsang/flock-information-database/forks","keys_url":"https://api.github.com/repos/enochtsang/flock-information-database/keys{/key_id}","collaborators_url":"https://api.github.com/repos/enochtsang/flock-information-database/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/enochtsang/flock-information-database/teams","hooks_url":"https://api.github.com/repos/enochtsang/flock-information-database/hooks","issue_events_url":"https://api.github.com/repos/enochtsang/flock-information-database/issues/events{/number}","events_url":"https://api.github.com/repos/enochtsang/flock-information-database/events","assignees_url":"https://api.github.com/repos/enochtsang/flock-information-database/assignees{/user}","branches_url":"https://api.github.com/repos/enochtsang/flock-information-database/branches{/branch}","tags_url":"https://api.github.com/repos/enochtsang/flock-information-database/tags","blobs_url":"https://api.github.com/repos/enochtsang/flock-information-database/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/enochtsang/flock-information-database/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/enochtsang/flock-information-database/git/refs{/sha}","trees_url":"https://api.github.com/repos/enochtsang/flock-information-database/git/trees{/sha}","statuses_url":"https://api.github.com/repos/enochtsang/flock-information-database/statuses/{sha}","languages_url":"https://api.github.com/repos/enochtsang/flock-information-database/languages","stargazers_url":"https://api.github.com/repos/enochtsang/flock-information-database/stargazers","contributors_url":"https://api.github.com/repos/enochtsang/flock-information-database/contributors","subscribers_url":"https://api.github.com/repos/enochtsang/flock-information-database/subscribers","subscription_url":"https://api.github.com/repos/enochtsang/flock-information-database/subscription","commits_url":"https://api.github.com/repos/enochtsang/flock-information-database/commits{/sha}","git_commits_url":"https://api.github.com/repos/enochtsang/flock-information-database/git/commits{/sha}","comments_url":"https://api.github.com/repos/enochtsang/flock-information-database/comments{/number}","issue_comment_url":"https://api.github.com/repos/enochtsang/flock-information-database/issues/comments{/number}","contents_url":"https://api.github.com/repos/enochtsang/flock-information-database/contents/{+path}","compare_url":"https://api.github.com/repos/enochtsang/flock-information-database/compare/{base}...{head}","merges_url":"https://api.github.com/repos/enochtsang/flock-information-database/merges","archive_url":"https://api.github.com/repos/enochtsang/flock-information-database/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/enochtsang/flock-information-database/downloads","issues_url":"https://api.github.com/repos/enochtsang/flock-information-database/issues{/number}","pulls_url":"https://api.github.com/repos/enochtsang/flock-information-database/pulls{/number}","milestones_url":"https://api.github.com/repos/enochtsang/flock-information-database/milestones{/number}","notifications_url":"https://api.github.com/repos/enochtsang/flock-information-database/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/enochtsang/flock-information-database/labels{/name}","releases_url":"https://api.github.com/repos/enochtsang/flock-information-database/releases{/id}","created_at":"2015-11-04T23:32:45Z","updated_at":"2015-11-30T05:13:00Z","pushed_at":"2015-11-30T20:01:06Z","git_url":"git://github.com/enochtsang/flock-information-database.git","ssh_url":"git@github.com:enochtsang/flock-information-database.git","clone_url":"https://github.com/enochtsang/flock-information-database.git","svn_url":"https://github.com/enochtsang/flock-information-database","homepage":null,"size":6390,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/enochtsang/flock-information-database/pulls/4"},"html":{"href":"https://github.com/enochtsang/flock-information-database/pull/4"},"issue":{"href":"https://api.github.com/repos/enochtsang/flock-information-database/issues/4"},"comments":{"href":"https://api.github.com/repos/enochtsang/flock-information-database/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/enochtsang/flock-information-database/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/enochtsang/flock-information-database/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/enochtsang/flock-information-database/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/enochtsang/flock-information-database/statuses/374020ce5ba11ce8af6948db1d8efb7a6222ef20"}}}}