{"action":"created","comment":{"url":"https://api.github.com/repos/pers1307/Blog/pulls/comments/42943885","id":42943885,"diff_hunk":"@@ -0,0 +1,110 @@\n+﻿<?php\n+\n+    session_start();\n+    require_once 'classes/AutorizationAdmin.php';\n+    require_once 'classes/Work_for_Articles_Class.php';\n+\n+    $errors = 0;\n+\n+    $autoAdmin = new AutorizationAdmin();\n+\n+    if(isset($_SESSION['Admin']) && isset($_SESSION['Password'])) {\n+        if(!$autoAdmin->CheckAdministrator($_SESSION['Admin'],$_SESSION['Password'])) {","path":"CMS.php","position":12,"original_position":12,"commit_id":"ed69ab1091eef048fc0f0ee67e8a187f014412f9","original_commit_id":"ed69ab1091eef048fc0f0ee67e8a187f014412f9","user":{"login":"pers1307","id":15194486,"avatar_url":"https://avatars.githubusercontent.com/u/15194486?v=3","gravatar_id":"","url":"https://api.github.com/users/pers1307","html_url":"https://github.com/pers1307","followers_url":"https://api.github.com/users/pers1307/followers","following_url":"https://api.github.com/users/pers1307/following{/other_user}","gists_url":"https://api.github.com/users/pers1307/gists{/gist_id}","starred_url":"https://api.github.com/users/pers1307/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pers1307/subscriptions","organizations_url":"https://api.github.com/users/pers1307/orgs","repos_url":"https://api.github.com/users/pers1307/repos","events_url":"https://api.github.com/users/pers1307/events{/privacy}","received_events_url":"https://api.github.com/users/pers1307/received_events","type":"User","site_admin":false},"body":"Исправил.","created_at":"2015-10-25T11:35:48Z","updated_at":"2015-10-25T11:35:48Z","html_url":"https://github.com/pers1307/Blog/pull/1#discussion_r42943885","pull_request_url":"https://api.github.com/repos/pers1307/Blog/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/pers1307/Blog/pulls/comments/42943885"},"html":{"href":"https://github.com/pers1307/Blog/pull/1#discussion_r42943885"},"pull_request":{"href":"https://api.github.com/repos/pers1307/Blog/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/pers1307/Blog/pulls/1","id":48329032,"html_url":"https://github.com/pers1307/Blog/pull/1","diff_url":"https://github.com/pers1307/Blog/pull/1.diff","patch_url":"https://github.com/pers1307/Blog/pull/1.patch","issue_url":"https://api.github.com/repos/pers1307/Blog/issues/1","number":1,"state":"open","locked":false,"title":"Correct file","user":{"login":"pers1307","id":15194486,"avatar_url":"https://avatars.githubusercontent.com/u/15194486?v=3","gravatar_id":"","url":"https://api.github.com/users/pers1307","html_url":"https://github.com/pers1307","followers_url":"https://api.github.com/users/pers1307/followers","following_url":"https://api.github.com/users/pers1307/following{/other_user}","gists_url":"https://api.github.com/users/pers1307/gists{/gist_id}","starred_url":"https://api.github.com/users/pers1307/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pers1307/subscriptions","organizations_url":"https://api.github.com/users/pers1307/orgs","repos_url":"https://api.github.com/users/pers1307/repos","events_url":"https://api.github.com/users/pers1307/events{/privacy}","received_events_url":"https://api.github.com/users/pers1307/received_events","type":"User","site_admin":false},"body":"Проверь плиз.","created_at":"2015-10-21T13:13:16Z","updated_at":"2015-10-25T11:35:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b7811e208d05b30c3bb401f0bedfb41d070e0444","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pers1307/Blog/pulls/1/commits","review_comments_url":"https://api.github.com/repos/pers1307/Blog/pulls/1/comments","review_comment_url":"https://api.github.com/repos/pers1307/Blog/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pers1307/Blog/issues/1/comments","statuses_url":"https://api.github.com/repos/pers1307/Blog/statuses/ed69ab1091eef048fc0f0ee67e8a187f014412f9","head":{"label":"pers1307:New-File","ref":"New-File","sha":"ed69ab1091eef048fc0f0ee67e8a187f014412f9","user":{"login":"pers1307","id":15194486,"avatar_url":"https://avatars.githubusercontent.com/u/15194486?v=3","gravatar_id":"","url":"https://api.github.com/users/pers1307","html_url":"https://github.com/pers1307","followers_url":"https://api.github.com/users/pers1307/followers","following_url":"https://api.github.com/users/pers1307/following{/other_user}","gists_url":"https://api.github.com/users/pers1307/gists{/gist_id}","starred_url":"https://api.github.com/users/pers1307/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pers1307/subscriptions","organizations_url":"https://api.github.com/users/pers1307/orgs","repos_url":"https://api.github.com/users/pers1307/repos","events_url":"https://api.github.com/users/pers1307/events{/privacy}","received_events_url":"https://api.github.com/users/pers1307/received_events","type":"User","site_admin":false},"repo":{"id":44674094,"name":"Blog","full_name":"pers1307/Blog","owner":{"login":"pers1307","id":15194486,"avatar_url":"https://avatars.githubusercontent.com/u/15194486?v=3","gravatar_id":"","url":"https://api.github.com/users/pers1307","html_url":"https://github.com/pers1307","followers_url":"https://api.github.com/users/pers1307/followers","following_url":"https://api.github.com/users/pers1307/following{/other_user}","gists_url":"https://api.github.com/users/pers1307/gists{/gist_id}","starred_url":"https://api.github.com/users/pers1307/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pers1307/subscriptions","organizations_url":"https://api.github.com/users/pers1307/orgs","repos_url":"https://api.github.com/users/pers1307/repos","events_url":"https://api.github.com/users/pers1307/events{/privacy}","received_events_url":"https://api.github.com/users/pers1307/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pers1307/Blog","description":"Format Blog","fork":false,"url":"https://api.github.com/repos/pers1307/Blog","forks_url":"https://api.github.com/repos/pers1307/Blog/forks","keys_url":"https://api.github.com/repos/pers1307/Blog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pers1307/Blog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pers1307/Blog/teams","hooks_url":"https://api.github.com/repos/pers1307/Blog/hooks","issue_events_url":"https://api.github.com/repos/pers1307/Blog/issues/events{/number}","events_url":"https://api.github.com/repos/pers1307/Blog/events","assignees_url":"https://api.github.com/repos/pers1307/Blog/assignees{/user}","branches_url":"https://api.github.com/repos/pers1307/Blog/branches{/branch}","tags_url":"https://api.github.com/repos/pers1307/Blog/tags","blobs_url":"https://api.github.com/repos/pers1307/Blog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pers1307/Blog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pers1307/Blog/git/refs{/sha}","trees_url":"https://api.github.com/repos/pers1307/Blog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pers1307/Blog/statuses/{sha}","languages_url":"https://api.github.com/repos/pers1307/Blog/languages","stargazers_url":"https://api.github.com/repos/pers1307/Blog/stargazers","contributors_url":"https://api.github.com/repos/pers1307/Blog/contributors","subscribers_url":"https://api.github.com/repos/pers1307/Blog/subscribers","subscription_url":"https://api.github.com/repos/pers1307/Blog/subscription","commits_url":"https://api.github.com/repos/pers1307/Blog/commits{/sha}","git_commits_url":"https://api.github.com/repos/pers1307/Blog/git/commits{/sha}","comments_url":"https://api.github.com/repos/pers1307/Blog/comments{/number}","issue_comment_url":"https://api.github.com/repos/pers1307/Blog/issues/comments{/number}","contents_url":"https://api.github.com/repos/pers1307/Blog/contents/{+path}","compare_url":"https://api.github.com/repos/pers1307/Blog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pers1307/Blog/merges","archive_url":"https://api.github.com/repos/pers1307/Blog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pers1307/Blog/downloads","issues_url":"https://api.github.com/repos/pers1307/Blog/issues{/number}","pulls_url":"https://api.github.com/repos/pers1307/Blog/pulls{/number}","milestones_url":"https://api.github.com/repos/pers1307/Blog/milestones{/number}","notifications_url":"https://api.github.com/repos/pers1307/Blog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pers1307/Blog/labels{/name}","releases_url":"https://api.github.com/repos/pers1307/Blog/releases{/id}","created_at":"2015-10-21T12:19:01Z","updated_at":"2015-10-21T12:19:01Z","pushed_at":"2015-10-21T15:06:16Z","git_url":"git://github.com/pers1307/Blog.git","ssh_url":"git@github.com:pers1307/Blog.git","clone_url":"https://github.com/pers1307/Blog.git","svn_url":"https://github.com/pers1307/Blog","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":null,"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":"pers1307:master","ref":"master","sha":"8b823016091a76d9d1b38f1f39d95d4accd9ce13","user":{"login":"pers1307","id":15194486,"avatar_url":"https://avatars.githubusercontent.com/u/15194486?v=3","gravatar_id":"","url":"https://api.github.com/users/pers1307","html_url":"https://github.com/pers1307","followers_url":"https://api.github.com/users/pers1307/followers","following_url":"https://api.github.com/users/pers1307/following{/other_user}","gists_url":"https://api.github.com/users/pers1307/gists{/gist_id}","starred_url":"https://api.github.com/users/pers1307/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pers1307/subscriptions","organizations_url":"https://api.github.com/users/pers1307/orgs","repos_url":"https://api.github.com/users/pers1307/repos","events_url":"https://api.github.com/users/pers1307/events{/privacy}","received_events_url":"https://api.github.com/users/pers1307/received_events","type":"User","site_admin":false},"repo":{"id":44674094,"name":"Blog","full_name":"pers1307/Blog","owner":{"login":"pers1307","id":15194486,"avatar_url":"https://avatars.githubusercontent.com/u/15194486?v=3","gravatar_id":"","url":"https://api.github.com/users/pers1307","html_url":"https://github.com/pers1307","followers_url":"https://api.github.com/users/pers1307/followers","following_url":"https://api.github.com/users/pers1307/following{/other_user}","gists_url":"https://api.github.com/users/pers1307/gists{/gist_id}","starred_url":"https://api.github.com/users/pers1307/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pers1307/subscriptions","organizations_url":"https://api.github.com/users/pers1307/orgs","repos_url":"https://api.github.com/users/pers1307/repos","events_url":"https://api.github.com/users/pers1307/events{/privacy}","received_events_url":"https://api.github.com/users/pers1307/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pers1307/Blog","description":"Format Blog","fork":false,"url":"https://api.github.com/repos/pers1307/Blog","forks_url":"https://api.github.com/repos/pers1307/Blog/forks","keys_url":"https://api.github.com/repos/pers1307/Blog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pers1307/Blog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pers1307/Blog/teams","hooks_url":"https://api.github.com/repos/pers1307/Blog/hooks","issue_events_url":"https://api.github.com/repos/pers1307/Blog/issues/events{/number}","events_url":"https://api.github.com/repos/pers1307/Blog/events","assignees_url":"https://api.github.com/repos/pers1307/Blog/assignees{/user}","branches_url":"https://api.github.com/repos/pers1307/Blog/branches{/branch}","tags_url":"https://api.github.com/repos/pers1307/Blog/tags","blobs_url":"https://api.github.com/repos/pers1307/Blog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pers1307/Blog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pers1307/Blog/git/refs{/sha}","trees_url":"https://api.github.com/repos/pers1307/Blog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pers1307/Blog/statuses/{sha}","languages_url":"https://api.github.com/repos/pers1307/Blog/languages","stargazers_url":"https://api.github.com/repos/pers1307/Blog/stargazers","contributors_url":"https://api.github.com/repos/pers1307/Blog/contributors","subscribers_url":"https://api.github.com/repos/pers1307/Blog/subscribers","subscription_url":"https://api.github.com/repos/pers1307/Blog/subscription","commits_url":"https://api.github.com/repos/pers1307/Blog/commits{/sha}","git_commits_url":"https://api.github.com/repos/pers1307/Blog/git/commits{/sha}","comments_url":"https://api.github.com/repos/pers1307/Blog/comments{/number}","issue_comment_url":"https://api.github.com/repos/pers1307/Blog/issues/comments{/number}","contents_url":"https://api.github.com/repos/pers1307/Blog/contents/{+path}","compare_url":"https://api.github.com/repos/pers1307/Blog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pers1307/Blog/merges","archive_url":"https://api.github.com/repos/pers1307/Blog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pers1307/Blog/downloads","issues_url":"https://api.github.com/repos/pers1307/Blog/issues{/number}","pulls_url":"https://api.github.com/repos/pers1307/Blog/pulls{/number}","milestones_url":"https://api.github.com/repos/pers1307/Blog/milestones{/number}","notifications_url":"https://api.github.com/repos/pers1307/Blog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pers1307/Blog/labels{/name}","releases_url":"https://api.github.com/repos/pers1307/Blog/releases{/id}","created_at":"2015-10-21T12:19:01Z","updated_at":"2015-10-21T12:19:01Z","pushed_at":"2015-10-21T15:06:16Z","git_url":"git://github.com/pers1307/Blog.git","ssh_url":"git@github.com:pers1307/Blog.git","clone_url":"https://github.com/pers1307/Blog.git","svn_url":"https://github.com/pers1307/Blog","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":null,"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/pers1307/Blog/pulls/1"},"html":{"href":"https://github.com/pers1307/Blog/pull/1"},"issue":{"href":"https://api.github.com/repos/pers1307/Blog/issues/1"},"comments":{"href":"https://api.github.com/repos/pers1307/Blog/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/pers1307/Blog/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/pers1307/Blog/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pers1307/Blog/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/pers1307/Blog/statuses/ed69ab1091eef048fc0f0ee67e8a187f014412f9"}}}}