{"action":"created","comment":{"url":"https://api.github.com/repos/htmlacademy-php/475749-yeticave/pulls/comments/155952444","pull_request_review_id":82353664,"id":155952444,"diff_hunk":"@@ -1,36 +1,51 @@\n <main>\n     <nav class=\"nav\">\n         <ul class=\"nav__list container\">\n-            <?php foreach ($categories as $category ) :?>\n+            <?php foreach ($category as $value ) :?>\n                 <li class=\"nav__item\">\n-                    <a href=\"all-lots.html\"><?= $category['name'] ?></a>\n+                    <a href=\"all-lots.html\"><?= $value['cat_name'] ?></a>\n                 </li>\n             <?php endforeach;?>\n         </ul>\n     </nav>\n-    <form class=\"form container\" action=\"sign-up.php\" method=\"post\"> <!-- form--invalid -->\n+    <form class=\"form container <?= $err_msg ? 'form--invalid' : ''?>\" action=\"sign-up.php\" method=\"post\" enctype=\"multipart/form-data\"> <!-- form--invalid -->","path":"templates/sign-up.php","position":14,"original_position":14,"commit_id":"92c797bdd6524c113f3b55c70174c4654d656a17","original_commit_id":"92c797bdd6524c113f3b55c70174c4654d656a17","user":{"login":"zakirovir6","id":23662798,"avatar_url":"https://avatars1.githubusercontent.com/u/23662798?v=4","gravatar_id":"","url":"https://api.github.com/users/zakirovir6","html_url":"https://github.com/zakirovir6","followers_url":"https://api.github.com/users/zakirovir6/followers","following_url":"https://api.github.com/users/zakirovir6/following{/other_user}","gists_url":"https://api.github.com/users/zakirovir6/gists{/gist_id}","starred_url":"https://api.github.com/users/zakirovir6/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zakirovir6/subscriptions","organizations_url":"https://api.github.com/users/zakirovir6/orgs","repos_url":"https://api.github.com/users/zakirovir6/repos","events_url":"https://api.github.com/users/zakirovir6/events{/privacy}","received_events_url":"https://api.github.com/users/zakirovir6/received_events","type":"User","site_admin":false},"body":"при ошибочной регистрации, например если ввести невалидный емеил, предзаполненные данные не сохраняются","created_at":"2017-12-10T16:18:43Z","updated_at":"2017-12-10T16:35:05Z","html_url":"https://github.com/htmlacademy-php/475749-yeticave/pull/13#discussion_r155952444","pull_request_url":"https://api.github.com/repos/htmlacademy-php/475749-yeticave/pulls/13","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/htmlacademy-php/475749-yeticave/pulls/comments/155952444"},"html":{"href":"https://github.com/htmlacademy-php/475749-yeticave/pull/13#discussion_r155952444"},"pull_request":{"href":"https://api.github.com/repos/htmlacademy-php/475749-yeticave/pulls/13"}}},"pull_request":{"url":"https://api.github.com/repos/htmlacademy-php/475749-yeticave/pulls/13","id":157079398,"html_url":"https://github.com/htmlacademy-php/475749-yeticave/pull/13","diff_url":"https://github.com/htmlacademy-php/475749-yeticave/pull/13.diff","patch_url":"https://github.com/htmlacademy-php/475749-yeticave/pull/13.patch","issue_url":"https://api.github.com/repos/htmlacademy-php/475749-yeticave/issues/13","number":13,"state":"open","locked":false,"title":"Подключение к MySQL","user":{"login":"Daniil-Solovev","id":30840252,"avatar_url":"https://avatars2.githubusercontent.com/u/30840252?v=4","gravatar_id":"","url":"https://api.github.com/users/Daniil-Solovev","html_url":"https://github.com/Daniil-Solovev","followers_url":"https://api.github.com/users/Daniil-Solovev/followers","following_url":"https://api.github.com/users/Daniil-Solovev/following{/other_user}","gists_url":"https://api.github.com/users/Daniil-Solovev/gists{/gist_id}","starred_url":"https://api.github.com/users/Daniil-Solovev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Daniil-Solovev/subscriptions","organizations_url":"https://api.github.com/users/Daniil-Solovev/orgs","repos_url":"https://api.github.com/users/Daniil-Solovev/repos","events_url":"https://api.github.com/users/Daniil-Solovev/events{/privacy}","received_events_url":"https://api.github.com/users/Daniil-Solovev/received_events","type":"User","site_admin":false},"body":"\n\n---\n:mortar_board: [Подключение к MySQL](https://up.htmlacademy.ru/php/3/user/475749/tasks/15)","created_at":"2017-12-07T19:19:59Z","updated_at":"2017-12-10T16:35:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e20f068c736fb3f9484fce3245c99e5c90aaecb9","assignee":{"login":"zakirovir6","id":23662798,"avatar_url":"https://avatars1.githubusercontent.com/u/23662798?v=4","gravatar_id":"","url":"https://api.github.com/users/zakirovir6","html_url":"https://github.com/zakirovir6","followers_url":"https://api.github.com/users/zakirovir6/followers","following_url":"https://api.github.com/users/zakirovir6/following{/other_user}","gists_url":"https://api.github.com/users/zakirovir6/gists{/gist_id}","starred_url":"https://api.github.com/users/zakirovir6/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zakirovir6/subscriptions","organizations_url":"https://api.github.com/users/zakirovir6/orgs","repos_url":"https://api.github.com/users/zakirovir6/repos","events_url":"https://api.github.com/users/zakirovir6/events{/privacy}","received_events_url":"https://api.github.com/users/zakirovir6/received_events","type":"User","site_admin":false},"assignees":[{"login":"zakirovir6","id":23662798,"avatar_url":"https://avatars1.githubusercontent.com/u/23662798?v=4","gravatar_id":"","url":"https://api.github.com/users/zakirovir6","html_url":"https://github.com/zakirovir6","followers_url":"https://api.github.com/users/zakirovir6/followers","following_url":"https://api.github.com/users/zakirovir6/following{/other_user}","gists_url":"https://api.github.com/users/zakirovir6/gists{/gist_id}","starred_url":"https://api.github.com/users/zakirovir6/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zakirovir6/subscriptions","organizations_url":"https://api.github.com/users/zakirovir6/orgs","repos_url":"https://api.github.com/users/zakirovir6/repos","events_url":"https://api.github.com/users/zakirovir6/events{/privacy}","received_events_url":"https://api.github.com/users/zakirovir6/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/htmlacademy-php/475749-yeticave/pulls/13/commits","review_comments_url":"https://api.github.com/repos/htmlacademy-php/475749-yeticave/pulls/13/comments","review_comment_url":"https://api.github.com/repos/htmlacademy-php/475749-yeticave/pulls/comments{/number}","comments_url":"https://api.github.com/repos/htmlacademy-php/475749-yeticave/issues/13/comments","statuses_url":"https://api.github.com/repos/htmlacademy-php/475749-yeticave/statuses/92c797bdd6524c113f3b55c70174c4654d656a17","head":{"label":"Daniil-Solovev:module7-task1","ref":"module7-task1","sha":"92c797bdd6524c113f3b55c70174c4654d656a17","user":{"login":"Daniil-Solovev","id":30840252,"avatar_url":"https://avatars2.githubusercontent.com/u/30840252?v=4","gravatar_id":"","url":"https://api.github.com/users/Daniil-Solovev","html_url":"https://github.com/Daniil-Solovev","followers_url":"https://api.github.com/users/Daniil-Solovev/followers","following_url":"https://api.github.com/users/Daniil-Solovev/following{/other_user}","gists_url":"https://api.github.com/users/Daniil-Solovev/gists{/gist_id}","starred_url":"https://api.github.com/users/Daniil-Solovev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Daniil-Solovev/subscriptions","organizations_url":"https://api.github.com/users/Daniil-Solovev/orgs","repos_url":"https://api.github.com/users/Daniil-Solovev/repos","events_url":"https://api.github.com/users/Daniil-Solovev/events{/privacy}","received_events_url":"https://api.github.com/users/Daniil-Solovev/received_events","type":"User","site_admin":false},"repo":{"id":109957923,"name":"475749-yeticave","full_name":"Daniil-Solovev/475749-yeticave","owner":{"login":"Daniil-Solovev","id":30840252,"avatar_url":"https://avatars2.githubusercontent.com/u/30840252?v=4","gravatar_id":"","url":"https://api.github.com/users/Daniil-Solovev","html_url":"https://github.com/Daniil-Solovev","followers_url":"https://api.github.com/users/Daniil-Solovev/followers","following_url":"https://api.github.com/users/Daniil-Solovev/following{/other_user}","gists_url":"https://api.github.com/users/Daniil-Solovev/gists{/gist_id}","starred_url":"https://api.github.com/users/Daniil-Solovev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Daniil-Solovev/subscriptions","organizations_url":"https://api.github.com/users/Daniil-Solovev/orgs","repos_url":"https://api.github.com/users/Daniil-Solovev/repos","events_url":"https://api.github.com/users/Daniil-Solovev/events{/privacy}","received_events_url":"https://api.github.com/users/Daniil-Solovev/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Daniil-Solovev/475749-yeticave","description":"Данил Соловьев","fork":true,"url":"https://api.github.com/repos/Daniil-Solovev/475749-yeticave","forks_url":"https://api.github.com/repos/Daniil-Solovev/475749-yeticave/forks","keys_url":"https://api.github.com/repos/Daniil-Solovev/475749-yeticave/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Daniil-Solovev/475749-yeticave/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Daniil-Solovev/475749-yeticave/teams","hooks_url":"https://api.github.com/repos/Daniil-Solovev/475749-yeticave/hooks","issue_events_url":"https://api.github.com/repos/Daniil-Solovev/475749-yeticave/issues/events{/number}","events_url":"https://api.github.com/repos/Daniil-Solovev/475749-yeticave/events","assignees_url":"https://api.github.com/repos/Daniil-Solovev/475749-yeticave/assignees{/user}","branches_url":"https://api.github.com/repos/Daniil-Solovev/475749-yeticave/branches{/branch}","tags_url":"https://api.github.com/repos/Daniil-Solovev/475749-yeticave/tags","blobs_url":"https://api.github.com/repos/Daniil-Solovev/475749-yeticave/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Daniil-Solovev/475749-yeticave/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Daniil-Solovev/475749-yeticave/git/refs{/sha}","trees_url":"https://api.github.com/repos/Daniil-Solovev/475749-yeticave/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Daniil-Solovev/475749-yeticave/statuses/{sha}","languages_url":"https://api.github.com/repos/Daniil-Solovev/475749-yeticave/languages","stargazers_url":"https://api.github.com/repos/Daniil-Solovev/475749-yeticave/stargazers","contributors_url":"https://api.github.com/repos/Daniil-Solovev/475749-yeticave/contributors","subscribers_url":"https://api.github.com/repos/Daniil-Solovev/475749-yeticave/subscribers","subscription_url":"https://api.github.com/repos/Daniil-Solovev/475749-yeticave/subscription","commits_url":"https://api.github.com/repos/Daniil-Solovev/475749-yeticave/commits{/sha}","git_commits_url":"https://api.github.com/repos/Daniil-Solovev/475749-yeticave/git/commits{/sha}","comments_url":"https://api.github.com/repos/Daniil-Solovev/475749-yeticave/comments{/number}","issue_comment_url":"https://api.github.com/repos/Daniil-Solovev/475749-yeticave/issues/comments{/number}","contents_url":"https://api.github.com/repos/Daniil-Solovev/475749-yeticave/contents/{+path}","compare_url":"https://api.github.com/repos/Daniil-Solovev/475749-yeticave/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Daniil-Solovev/475749-yeticave/merges","archive_url":"https://api.github.com/repos/Daniil-Solovev/475749-yeticave/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Daniil-Solovev/475749-yeticave/downloads","issues_url":"https://api.github.com/repos/Daniil-Solovev/475749-yeticave/issues{/number}","pulls_url":"https://api.github.com/repos/Daniil-Solovev/475749-yeticave/pulls{/number}","milestones_url":"https://api.github.com/repos/Daniil-Solovev/475749-yeticave/milestones{/number}","notifications_url":"https://api.github.com/repos/Daniil-Solovev/475749-yeticave/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Daniil-Solovev/475749-yeticave/labels{/name}","releases_url":"https://api.github.com/repos/Daniil-Solovev/475749-yeticave/releases{/id}","deployments_url":"https://api.github.com/repos/Daniil-Solovev/475749-yeticave/deployments","created_at":"2017-11-08T09:54:31Z","updated_at":"2017-11-08T09:54:34Z","pushed_at":"2017-12-10T13:10:36Z","git_url":"git://github.com/Daniil-Solovev/475749-yeticave.git","ssh_url":"git@github.com:Daniil-Solovev/475749-yeticave.git","clone_url":"https://github.com/Daniil-Solovev/475749-yeticave.git","svn_url":"https://github.com/Daniil-Solovev/475749-yeticave","homepage":null,"size":865,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_projects":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"htmlacademy-php:master","ref":"master","sha":"f86aa43c6aed51227d6a397101c7e8d53b07bfe1","user":{"login":"htmlacademy-php","id":27206120,"avatar_url":"https://avatars1.githubusercontent.com/u/27206120?v=4","gravatar_id":"","url":"https://api.github.com/users/htmlacademy-php","html_url":"https://github.com/htmlacademy-php","followers_url":"https://api.github.com/users/htmlacademy-php/followers","following_url":"https://api.github.com/users/htmlacademy-php/following{/other_user}","gists_url":"https://api.github.com/users/htmlacademy-php/gists{/gist_id}","starred_url":"https://api.github.com/users/htmlacademy-php/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/htmlacademy-php/subscriptions","organizations_url":"https://api.github.com/users/htmlacademy-php/orgs","repos_url":"https://api.github.com/users/htmlacademy-php/repos","events_url":"https://api.github.com/users/htmlacademy-php/events{/privacy}","received_events_url":"https://api.github.com/users/htmlacademy-php/received_events","type":"Organization","site_admin":false},"repo":{"id":109876367,"name":"475749-yeticave","full_name":"htmlacademy-php/475749-yeticave","owner":{"login":"htmlacademy-php","id":27206120,"avatar_url":"https://avatars1.githubusercontent.com/u/27206120?v=4","gravatar_id":"","url":"https://api.github.com/users/htmlacademy-php","html_url":"https://github.com/htmlacademy-php","followers_url":"https://api.github.com/users/htmlacademy-php/followers","following_url":"https://api.github.com/users/htmlacademy-php/following{/other_user}","gists_url":"https://api.github.com/users/htmlacademy-php/gists{/gist_id}","starred_url":"https://api.github.com/users/htmlacademy-php/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/htmlacademy-php/subscriptions","organizations_url":"https://api.github.com/users/htmlacademy-php/orgs","repos_url":"https://api.github.com/users/htmlacademy-php/repos","events_url":"https://api.github.com/users/htmlacademy-php/events{/privacy}","received_events_url":"https://api.github.com/users/htmlacademy-php/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/htmlacademy-php/475749-yeticave","description":"Данил Соловьев","fork":false,"url":"https://api.github.com/repos/htmlacademy-php/475749-yeticave","forks_url":"https://api.github.com/repos/htmlacademy-php/475749-yeticave/forks","keys_url":"https://api.github.com/repos/htmlacademy-php/475749-yeticave/keys{/key_id}","collaborators_url":"https://api.github.com/repos/htmlacademy-php/475749-yeticave/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/htmlacademy-php/475749-yeticave/teams","hooks_url":"https://api.github.com/repos/htmlacademy-php/475749-yeticave/hooks","issue_events_url":"https://api.github.com/repos/htmlacademy-php/475749-yeticave/issues/events{/number}","events_url":"https://api.github.com/repos/htmlacademy-php/475749-yeticave/events","assignees_url":"https://api.github.com/repos/htmlacademy-php/475749-yeticave/assignees{/user}","branches_url":"https://api.github.com/repos/htmlacademy-php/475749-yeticave/branches{/branch}","tags_url":"https://api.github.com/repos/htmlacademy-php/475749-yeticave/tags","blobs_url":"https://api.github.com/repos/htmlacademy-php/475749-yeticave/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/htmlacademy-php/475749-yeticave/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/htmlacademy-php/475749-yeticave/git/refs{/sha}","trees_url":"https://api.github.com/repos/htmlacademy-php/475749-yeticave/git/trees{/sha}","statuses_url":"https://api.github.com/repos/htmlacademy-php/475749-yeticave/statuses/{sha}","languages_url":"https://api.github.com/repos/htmlacademy-php/475749-yeticave/languages","stargazers_url":"https://api.github.com/repos/htmlacademy-php/475749-yeticave/stargazers","contributors_url":"https://api.github.com/repos/htmlacademy-php/475749-yeticave/contributors","subscribers_url":"https://api.github.com/repos/htmlacademy-php/475749-yeticave/subscribers","subscription_url":"https://api.github.com/repos/htmlacademy-php/475749-yeticave/subscription","commits_url":"https://api.github.com/repos/htmlacademy-php/475749-yeticave/commits{/sha}","git_commits_url":"https://api.github.com/repos/htmlacademy-php/475749-yeticave/git/commits{/sha}","comments_url":"https://api.github.com/repos/htmlacademy-php/475749-yeticave/comments{/number}","issue_comment_url":"https://api.github.com/repos/htmlacademy-php/475749-yeticave/issues/comments{/number}","contents_url":"https://api.github.com/repos/htmlacademy-php/475749-yeticave/contents/{+path}","compare_url":"https://api.github.com/repos/htmlacademy-php/475749-yeticave/compare/{base}...{head}","merges_url":"https://api.github.com/repos/htmlacademy-php/475749-yeticave/merges","archive_url":"https://api.github.com/repos/htmlacademy-php/475749-yeticave/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/htmlacademy-php/475749-yeticave/downloads","issues_url":"https://api.github.com/repos/htmlacademy-php/475749-yeticave/issues{/number}","pulls_url":"https://api.github.com/repos/htmlacademy-php/475749-yeticave/pulls{/number}","milestones_url":"https://api.github.com/repos/htmlacademy-php/475749-yeticave/milestones{/number}","notifications_url":"https://api.github.com/repos/htmlacademy-php/475749-yeticave/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/htmlacademy-php/475749-yeticave/labels{/name}","releases_url":"https://api.github.com/repos/htmlacademy-php/475749-yeticave/releases{/id}","deployments_url":"https://api.github.com/repos/htmlacademy-php/475749-yeticave/deployments","created_at":"2017-11-07T18:45:46Z","updated_at":"2017-11-08T11:51:03Z","pushed_at":"2017-12-10T13:11:01Z","git_url":"git://github.com/htmlacademy-php/475749-yeticave.git","ssh_url":"git@github.com:htmlacademy-php/475749-yeticave.git","clone_url":"https://github.com/htmlacademy-php/475749-yeticave.git","svn_url":"https://github.com/htmlacademy-php/475749-yeticave","homepage":"https://github.com/Daniil-Solovev/475749-yeticave","size":625,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_projects":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/htmlacademy-php/475749-yeticave/pulls/13"},"html":{"href":"https://github.com/htmlacademy-php/475749-yeticave/pull/13"},"issue":{"href":"https://api.github.com/repos/htmlacademy-php/475749-yeticave/issues/13"},"comments":{"href":"https://api.github.com/repos/htmlacademy-php/475749-yeticave/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/htmlacademy-php/475749-yeticave/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/htmlacademy-php/475749-yeticave/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/htmlacademy-php/475749-yeticave/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/htmlacademy-php/475749-yeticave/statuses/92c797bdd6524c113f3b55c70174c4654d656a17"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"zakirovir6"}}