{"action":"created","comment":{"url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/pulls/comments/221892105","pull_request_review_id":160647863,"id":221892105,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMTg5MjEwNQ==","diff_hunk":"@@ -0,0 +1,83 @@\n+<?php\n+\n+require('./dbconnection.php');\n+\n+if (isset($_POST['p_title'], $_POST['p_content'], $_POST['code_url'], $_POST['deployed_url'], $_POST['image_url'])) {\n+    $p_title = $_POST['p_title'];\n+    $p_content = $_POST['p_content'];\n+    $code_url = $_POST['code_url'];\n+    $see_url = $_POST['deployed_url'];\n+    $bg_image_url = $_POST['image_url'];\n+\n+    if (empty($_POST['p_title']) || empty($_POST['p_content']) || empty($_POST['image_url'])) {\n+        $error = 'All fields must be filled out !';\n+    } else {\n+        // Editing the database\n+        $sqlEdit = 'INSERT INTO `projects` (`p_title`, `p_content`, `code_url`, `see_url`, `bg_image_url`)\n+                    VALUES (:p_title, :p_content, :code_url, :see_url, :bg_image_url)';\n+        $stmtEdit = $db->prepare($sqlEdit);\n+        \n+        var_dump($p_title, $p_content, $code_url, $see_url, $bg_image_url);","path":"cms/add.php","position":20,"original_position":20,"commit_id":"e227c3bd44ddf61b4be0c95cb9af9bdc4e41413f","original_commit_id":"e227c3bd44ddf61b4be0c95cb9af9bdc4e41413f","user":{"login":"felixgate13","id":42411328,"node_id":"MDQ6VXNlcjQyNDExMzI4","avatar_url":"https://avatars2.githubusercontent.com/u/42411328?v=4","gravatar_id":"","url":"https://api.github.com/users/felixgate13","html_url":"https://github.com/felixgate13","followers_url":"https://api.github.com/users/felixgate13/followers","following_url":"https://api.github.com/users/felixgate13/following{/other_user}","gists_url":"https://api.github.com/users/felixgate13/gists{/gist_id}","starred_url":"https://api.github.com/users/felixgate13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felixgate13/subscriptions","organizations_url":"https://api.github.com/users/felixgate13/orgs","repos_url":"https://api.github.com/users/felixgate13/repos","events_url":"https://api.github.com/users/felixgate13/events{/privacy}","received_events_url":"https://api.github.com/users/felixgate13/received_events","type":"User","site_admin":false},"body":"random var_dump??","created_at":"2018-10-02T10:01:57Z","updated_at":"2018-10-02T10:01:57Z","html_url":"https://github.com/ucanfil/Portfolio-Site-V2/pull/2#discussion_r221892105","pull_request_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/pulls/2","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/pulls/comments/221892105"},"html":{"href":"https://github.com/ucanfil/Portfolio-Site-V2/pull/2#discussion_r221892105"},"pull_request":{"href":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/pulls/2","id":219631507,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE5NjMxNTA3","html_url":"https://github.com/ucanfil/Portfolio-Site-V2/pull/2","diff_url":"https://github.com/ucanfil/Portfolio-Site-V2/pull/2.diff","patch_url":"https://github.com/ucanfil/Portfolio-Site-V2/pull/2.patch","issue_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/issues/2","number":2,"state":"open","locked":false,"title":"Cms","user":{"login":"ucanfil","id":24561072,"node_id":"MDQ6VXNlcjI0NTYxMDcy","avatar_url":"https://avatars1.githubusercontent.com/u/24561072?v=4","gravatar_id":"","url":"https://api.github.com/users/ucanfil","html_url":"https://github.com/ucanfil","followers_url":"https://api.github.com/users/ucanfil/followers","following_url":"https://api.github.com/users/ucanfil/following{/other_user}","gists_url":"https://api.github.com/users/ucanfil/gists{/gist_id}","starred_url":"https://api.github.com/users/ucanfil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ucanfil/subscriptions","organizations_url":"https://api.github.com/users/ucanfil/orgs","repos_url":"https://api.github.com/users/ucanfil/repos","events_url":"https://api.github.com/users/ucanfil/events{/privacy}","received_events_url":"https://api.github.com/users/ucanfil/received_events","type":"User","site_admin":false},"body":"Dashboard, Edit/Add/Delete Project, Edit About-Me layouts & database connection functionality completed.","created_at":"2018-10-02T09:02:02Z","updated_at":"2018-10-02T10:01:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"13bd31d529894f19421df48065fe900acfc70340","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/pulls/2/commits","review_comments_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/pulls/2/comments","review_comment_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/issues/2/comments","statuses_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/statuses/e227c3bd44ddf61b4be0c95cb9af9bdc4e41413f","head":{"label":"ucanfil:cms","ref":"cms","sha":"e227c3bd44ddf61b4be0c95cb9af9bdc4e41413f","user":{"login":"ucanfil","id":24561072,"node_id":"MDQ6VXNlcjI0NTYxMDcy","avatar_url":"https://avatars1.githubusercontent.com/u/24561072?v=4","gravatar_id":"","url":"https://api.github.com/users/ucanfil","html_url":"https://github.com/ucanfil","followers_url":"https://api.github.com/users/ucanfil/followers","following_url":"https://api.github.com/users/ucanfil/following{/other_user}","gists_url":"https://api.github.com/users/ucanfil/gists{/gist_id}","starred_url":"https://api.github.com/users/ucanfil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ucanfil/subscriptions","organizations_url":"https://api.github.com/users/ucanfil/orgs","repos_url":"https://api.github.com/users/ucanfil/repos","events_url":"https://api.github.com/users/ucanfil/events{/privacy}","received_events_url":"https://api.github.com/users/ucanfil/received_events","type":"User","site_admin":false},"repo":{"id":148140589,"node_id":"MDEwOlJlcG9zaXRvcnkxNDgxNDA1ODk=","name":"Portfolio-Site-V2","full_name":"ucanfil/Portfolio-Site-V2","private":false,"owner":{"login":"ucanfil","id":24561072,"node_id":"MDQ6VXNlcjI0NTYxMDcy","avatar_url":"https://avatars1.githubusercontent.com/u/24561072?v=4","gravatar_id":"","url":"https://api.github.com/users/ucanfil","html_url":"https://github.com/ucanfil","followers_url":"https://api.github.com/users/ucanfil/followers","following_url":"https://api.github.com/users/ucanfil/following{/other_user}","gists_url":"https://api.github.com/users/ucanfil/gists{/gist_id}","starred_url":"https://api.github.com/users/ucanfil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ucanfil/subscriptions","organizations_url":"https://api.github.com/users/ucanfil/orgs","repos_url":"https://api.github.com/users/ucanfil/repos","events_url":"https://api.github.com/users/ucanfil/events{/privacy}","received_events_url":"https://api.github.com/users/ucanfil/received_events","type":"User","site_admin":false},"html_url":"https://github.com/ucanfil/Portfolio-Site-V2","description":null,"fork":false,"url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2","forks_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/forks","keys_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/teams","hooks_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/hooks","issue_events_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/issues/events{/number}","events_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/events","assignees_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/assignees{/user}","branches_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/branches{/branch}","tags_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/tags","blobs_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/git/refs{/sha}","trees_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/statuses/{sha}","languages_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/languages","stargazers_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/stargazers","contributors_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/contributors","subscribers_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/subscribers","subscription_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/subscription","commits_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/commits{/sha}","git_commits_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/git/commits{/sha}","comments_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/comments{/number}","issue_comment_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/issues/comments{/number}","contents_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/contents/{+path}","compare_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/merges","archive_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/downloads","issues_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/issues{/number}","pulls_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/pulls{/number}","milestones_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/milestones{/number}","notifications_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/labels{/name}","releases_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/releases{/id}","deployments_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/deployments","created_at":"2018-09-10T10:45:47Z","updated_at":"2018-09-13T09:15:46Z","pushed_at":"2018-10-02T09:02:02Z","git_url":"git://github.com/ucanfil/Portfolio-Site-V2.git","ssh_url":"git@github.com:ucanfil/Portfolio-Site-V2.git","clone_url":"https://github.com/ucanfil/Portfolio-Site-V2.git","svn_url":"https://github.com/ucanfil/Portfolio-Site-V2","homepage":null,"size":755,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"ucanfil:master","ref":"master","sha":"6ab54ea1adbc5304133fb6a251264fb60ebe399e","user":{"login":"ucanfil","id":24561072,"node_id":"MDQ6VXNlcjI0NTYxMDcy","avatar_url":"https://avatars1.githubusercontent.com/u/24561072?v=4","gravatar_id":"","url":"https://api.github.com/users/ucanfil","html_url":"https://github.com/ucanfil","followers_url":"https://api.github.com/users/ucanfil/followers","following_url":"https://api.github.com/users/ucanfil/following{/other_user}","gists_url":"https://api.github.com/users/ucanfil/gists{/gist_id}","starred_url":"https://api.github.com/users/ucanfil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ucanfil/subscriptions","organizations_url":"https://api.github.com/users/ucanfil/orgs","repos_url":"https://api.github.com/users/ucanfil/repos","events_url":"https://api.github.com/users/ucanfil/events{/privacy}","received_events_url":"https://api.github.com/users/ucanfil/received_events","type":"User","site_admin":false},"repo":{"id":148140589,"node_id":"MDEwOlJlcG9zaXRvcnkxNDgxNDA1ODk=","name":"Portfolio-Site-V2","full_name":"ucanfil/Portfolio-Site-V2","private":false,"owner":{"login":"ucanfil","id":24561072,"node_id":"MDQ6VXNlcjI0NTYxMDcy","avatar_url":"https://avatars1.githubusercontent.com/u/24561072?v=4","gravatar_id":"","url":"https://api.github.com/users/ucanfil","html_url":"https://github.com/ucanfil","followers_url":"https://api.github.com/users/ucanfil/followers","following_url":"https://api.github.com/users/ucanfil/following{/other_user}","gists_url":"https://api.github.com/users/ucanfil/gists{/gist_id}","starred_url":"https://api.github.com/users/ucanfil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ucanfil/subscriptions","organizations_url":"https://api.github.com/users/ucanfil/orgs","repos_url":"https://api.github.com/users/ucanfil/repos","events_url":"https://api.github.com/users/ucanfil/events{/privacy}","received_events_url":"https://api.github.com/users/ucanfil/received_events","type":"User","site_admin":false},"html_url":"https://github.com/ucanfil/Portfolio-Site-V2","description":null,"fork":false,"url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2","forks_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/forks","keys_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/teams","hooks_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/hooks","issue_events_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/issues/events{/number}","events_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/events","assignees_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/assignees{/user}","branches_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/branches{/branch}","tags_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/tags","blobs_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/git/refs{/sha}","trees_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/statuses/{sha}","languages_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/languages","stargazers_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/stargazers","contributors_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/contributors","subscribers_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/subscribers","subscription_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/subscription","commits_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/commits{/sha}","git_commits_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/git/commits{/sha}","comments_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/comments{/number}","issue_comment_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/issues/comments{/number}","contents_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/contents/{+path}","compare_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/merges","archive_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/downloads","issues_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/issues{/number}","pulls_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/pulls{/number}","milestones_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/milestones{/number}","notifications_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/labels{/name}","releases_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/releases{/id}","deployments_url":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/deployments","created_at":"2018-09-10T10:45:47Z","updated_at":"2018-09-13T09:15:46Z","pushed_at":"2018-10-02T09:02:02Z","git_url":"git://github.com/ucanfil/Portfolio-Site-V2.git","ssh_url":"git@github.com:ucanfil/Portfolio-Site-V2.git","clone_url":"https://github.com/ucanfil/Portfolio-Site-V2.git","svn_url":"https://github.com/ucanfil/Portfolio-Site-V2","homepage":null,"size":755,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/pulls/2"},"html":{"href":"https://github.com/ucanfil/Portfolio-Site-V2/pull/2"},"issue":{"href":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/issues/2"},"comments":{"href":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/ucanfil/Portfolio-Site-V2/statuses/e227c3bd44ddf61b4be0c95cb9af9bdc4e41413f"}},"author_association":"OWNER"}}
{"actor":{"display_login":"felixgate13"}}