{"action":"created","comment":{"url":"https://api.github.com/repos/htmlacademy-php/927023-yeticave/pulls/comments/236041352","pull_request_review_id":178049458,"id":236041352,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNjA0MTM1Mg==","diff_hunk":"@@ -0,0 +1,108 @@\n+<!DOCTYPE html>\n+<html lang=\"ru\">\n+<head>\n+    <meta charset=\"UTF-8\">\n+    <title>Главная</title>\n+    <link href=\"css/normalize.min.css\" rel=\"stylesheet\">\n+    <link href=\"css/style.css\" rel=\"stylesheet\">\n+</head>\n+<body>\n+<div class=\"page-wrapper\">\n+\n+<header class=\"main-header\">\n+    <div class=\"main-header__container container\">\n+        <h1 class=\"visually-hidden\">YetiCave</h1>\n+        <a class=\"main-header__logo\">\n+            <img src=\"img/logo.svg\" width=\"160\" height=\"39\" alt=\"Логотип компании YetiCave\">\n+        </a>\n+        <form class=\"main-header__search\" method=\"get\" action=\"https://echo.htmlacademy.ru\">\n+            <input type=\"search\" name=\"search\" placeholder=\"Поиск лота\">\n+            <input class=\"main-header__search-btn\" type=\"submit\" name=\"find\" value=\"Найти\">\n+        </form>\n+        <a class=\"main-header__add-lot button\" href=\"pages/add-lot.html\">Добавить лот</a>\n+\n+        <nav class=\"user-menu\">\n+\n+        <?php if ($is_auth): ?>\n+            <div class=\"user-menu__image\">\n+                <img src=\"img/user.jpg\" width=\"40\" height=\"40\" alt=\"Пользователь\">\n+            </div>\n+            <div class=\"user-menu__logged\">\n+                <p><?= $user_name; ?></p>\n+            </div>\n+        <?php else: ?>\n+        <ul class=\"user-menu__list\">\n+            <li class=\"user-menu__item\">\n+                <a href=\"#\">Регистрация</a>\n+            </li>\n+            <li class=\"user-menu__item\">\n+                <a href=\"#\">Вход</a>\n+            </li>\n+        </ul>\n+        <?php endif; ?>\n+\n+        </nav>\n+    </div>\n+</header>\n+\n+<main class=\"container\">\n+<?=$content; ?>\n+</main>\n+</div>\n+\n+<footer class=\"main-footer\">\n+    <nav class=\"nav\">\n+        <ul class=\"nav__list container\">\n+\n+            <?php foreach ( $categories as $category ): ?>\n+                <li class=\"nav__item\">\n+                    <a href=\"pages/all-lots.html\"><?=$category ?></a>","path":"templates/layout.php","position":59,"original_position":59,"commit_id":"8cd166823fa4dbb6b6ac5b98155780735b3d7d5b","original_commit_id":"8cd166823fa4dbb6b6ac5b98155780735b3d7d5b","user":{"login":"olegsklyarov","id":2182365,"node_id":"MDQ6VXNlcjIxODIzNjU=","avatar_url":"https://avatars1.githubusercontent.com/u/2182365?v=4","gravatar_id":"","url":"https://api.github.com/users/olegsklyarov","html_url":"https://github.com/olegsklyarov","followers_url":"https://api.github.com/users/olegsklyarov/followers","following_url":"https://api.github.com/users/olegsklyarov/following{/other_user}","gists_url":"https://api.github.com/users/olegsklyarov/gists{/gist_id}","starred_url":"https://api.github.com/users/olegsklyarov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olegsklyarov/subscriptions","organizations_url":"https://api.github.com/users/olegsklyarov/orgs","repos_url":"https://api.github.com/users/olegsklyarov/repos","events_url":"https://api.github.com/users/olegsklyarov/events{/privacy}","received_events_url":"https://api.github.com/users/olegsklyarov/received_events","type":"User","site_admin":false},"body":"Защитить от XSS","created_at":"2018-11-24T12:40:01Z","updated_at":"2018-11-24T12:43:47Z","html_url":"https://github.com/htmlacademy-php/927023-yeticave/pull/5#discussion_r236041352","pull_request_url":"https://api.github.com/repos/htmlacademy-php/927023-yeticave/pulls/5","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/htmlacademy-php/927023-yeticave/pulls/comments/236041352"},"html":{"href":"https://github.com/htmlacademy-php/927023-yeticave/pull/5#discussion_r236041352"},"pull_request":{"href":"https://api.github.com/repos/htmlacademy-php/927023-yeticave/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/htmlacademy-php/927023-yeticave/pulls/5","id":233282451,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMzMjgyNDUx","html_url":"https://github.com/htmlacademy-php/927023-yeticave/pull/5","diff_url":"https://github.com/htmlacademy-php/927023-yeticave/pull/5.diff","patch_url":"https://github.com/htmlacademy-php/927023-yeticave/pull/5.patch","issue_url":"https://api.github.com/repos/htmlacademy-php/927023-yeticave/issues/5","number":5,"state":"open","locked":false,"title":"Шаблонизация проекта","user":{"login":"Malahov-web","id":17951832,"node_id":"MDQ6VXNlcjE3OTUxODMy","avatar_url":"https://avatars2.githubusercontent.com/u/17951832?v=4","gravatar_id":"","url":"https://api.github.com/users/Malahov-web","html_url":"https://github.com/Malahov-web","followers_url":"https://api.github.com/users/Malahov-web/followers","following_url":"https://api.github.com/users/Malahov-web/following{/other_user}","gists_url":"https://api.github.com/users/Malahov-web/gists{/gist_id}","starred_url":"https://api.github.com/users/Malahov-web/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Malahov-web/subscriptions","organizations_url":"https://api.github.com/users/Malahov-web/orgs","repos_url":"https://api.github.com/users/Malahov-web/repos","events_url":"https://api.github.com/users/Malahov-web/events{/privacy}","received_events_url":"https://api.github.com/users/Malahov-web/received_events","type":"User","site_admin":false},"body":"\n\n---\n:mortar_board: [Шаблонизация проекта](https://up.htmlacademy.ru/php/7/user/927023/tasks/7)","created_at":"2018-11-23T21:42:46Z","updated_at":"2018-11-24T12:43:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2b42243d9d795ba676fd3be065c58b7cc823d921","assignee":{"login":"olegsklyarov","id":2182365,"node_id":"MDQ6VXNlcjIxODIzNjU=","avatar_url":"https://avatars1.githubusercontent.com/u/2182365?v=4","gravatar_id":"","url":"https://api.github.com/users/olegsklyarov","html_url":"https://github.com/olegsklyarov","followers_url":"https://api.github.com/users/olegsklyarov/followers","following_url":"https://api.github.com/users/olegsklyarov/following{/other_user}","gists_url":"https://api.github.com/users/olegsklyarov/gists{/gist_id}","starred_url":"https://api.github.com/users/olegsklyarov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olegsklyarov/subscriptions","organizations_url":"https://api.github.com/users/olegsklyarov/orgs","repos_url":"https://api.github.com/users/olegsklyarov/repos","events_url":"https://api.github.com/users/olegsklyarov/events{/privacy}","received_events_url":"https://api.github.com/users/olegsklyarov/received_events","type":"User","site_admin":false},"assignees":[{"login":"olegsklyarov","id":2182365,"node_id":"MDQ6VXNlcjIxODIzNjU=","avatar_url":"https://avatars1.githubusercontent.com/u/2182365?v=4","gravatar_id":"","url":"https://api.github.com/users/olegsklyarov","html_url":"https://github.com/olegsklyarov","followers_url":"https://api.github.com/users/olegsklyarov/followers","following_url":"https://api.github.com/users/olegsklyarov/following{/other_user}","gists_url":"https://api.github.com/users/olegsklyarov/gists{/gist_id}","starred_url":"https://api.github.com/users/olegsklyarov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olegsklyarov/subscriptions","organizations_url":"https://api.github.com/users/olegsklyarov/orgs","repos_url":"https://api.github.com/users/olegsklyarov/repos","events_url":"https://api.github.com/users/olegsklyarov/events{/privacy}","received_events_url":"https://api.github.com/users/olegsklyarov/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/htmlacademy-php/927023-yeticave/pulls/5/commits","review_comments_url":"https://api.github.com/repos/htmlacademy-php/927023-yeticave/pulls/5/comments","review_comment_url":"https://api.github.com/repos/htmlacademy-php/927023-yeticave/pulls/comments{/number}","comments_url":"https://api.github.com/repos/htmlacademy-php/927023-yeticave/issues/5/comments","statuses_url":"https://api.github.com/repos/htmlacademy-php/927023-yeticave/statuses/8cd166823fa4dbb6b6ac5b98155780735b3d7d5b","head":{"label":"Malahov-web:module3-task1","ref":"module3-task1","sha":"8cd166823fa4dbb6b6ac5b98155780735b3d7d5b","user":{"login":"Malahov-web","id":17951832,"node_id":"MDQ6VXNlcjE3OTUxODMy","avatar_url":"https://avatars2.githubusercontent.com/u/17951832?v=4","gravatar_id":"","url":"https://api.github.com/users/Malahov-web","html_url":"https://github.com/Malahov-web","followers_url":"https://api.github.com/users/Malahov-web/followers","following_url":"https://api.github.com/users/Malahov-web/following{/other_user}","gists_url":"https://api.github.com/users/Malahov-web/gists{/gist_id}","starred_url":"https://api.github.com/users/Malahov-web/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Malahov-web/subscriptions","organizations_url":"https://api.github.com/users/Malahov-web/orgs","repos_url":"https://api.github.com/users/Malahov-web/repos","events_url":"https://api.github.com/users/Malahov-web/events{/privacy}","received_events_url":"https://api.github.com/users/Malahov-web/received_events","type":"User","site_admin":false},"repo":{"id":157872480,"node_id":"MDEwOlJlcG9zaXRvcnkxNTc4NzI0ODA=","name":"927023-yeticave","full_name":"Malahov-web/927023-yeticave","private":false,"owner":{"login":"Malahov-web","id":17951832,"node_id":"MDQ6VXNlcjE3OTUxODMy","avatar_url":"https://avatars2.githubusercontent.com/u/17951832?v=4","gravatar_id":"","url":"https://api.github.com/users/Malahov-web","html_url":"https://github.com/Malahov-web","followers_url":"https://api.github.com/users/Malahov-web/followers","following_url":"https://api.github.com/users/Malahov-web/following{/other_user}","gists_url":"https://api.github.com/users/Malahov-web/gists{/gist_id}","starred_url":"https://api.github.com/users/Malahov-web/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Malahov-web/subscriptions","organizations_url":"https://api.github.com/users/Malahov-web/orgs","repos_url":"https://api.github.com/users/Malahov-web/repos","events_url":"https://api.github.com/users/Malahov-web/events{/privacy}","received_events_url":"https://api.github.com/users/Malahov-web/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Malahov-web/927023-yeticave","description":"Кирилл","fork":true,"url":"https://api.github.com/repos/Malahov-web/927023-yeticave","forks_url":"https://api.github.com/repos/Malahov-web/927023-yeticave/forks","keys_url":"https://api.github.com/repos/Malahov-web/927023-yeticave/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Malahov-web/927023-yeticave/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Malahov-web/927023-yeticave/teams","hooks_url":"https://api.github.com/repos/Malahov-web/927023-yeticave/hooks","issue_events_url":"https://api.github.com/repos/Malahov-web/927023-yeticave/issues/events{/number}","events_url":"https://api.github.com/repos/Malahov-web/927023-yeticave/events","assignees_url":"https://api.github.com/repos/Malahov-web/927023-yeticave/assignees{/user}","branches_url":"https://api.github.com/repos/Malahov-web/927023-yeticave/branches{/branch}","tags_url":"https://api.github.com/repos/Malahov-web/927023-yeticave/tags","blobs_url":"https://api.github.com/repos/Malahov-web/927023-yeticave/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Malahov-web/927023-yeticave/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Malahov-web/927023-yeticave/git/refs{/sha}","trees_url":"https://api.github.com/repos/Malahov-web/927023-yeticave/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Malahov-web/927023-yeticave/statuses/{sha}","languages_url":"https://api.github.com/repos/Malahov-web/927023-yeticave/languages","stargazers_url":"https://api.github.com/repos/Malahov-web/927023-yeticave/stargazers","contributors_url":"https://api.github.com/repos/Malahov-web/927023-yeticave/contributors","subscribers_url":"https://api.github.com/repos/Malahov-web/927023-yeticave/subscribers","subscription_url":"https://api.github.com/repos/Malahov-web/927023-yeticave/subscription","commits_url":"https://api.github.com/repos/Malahov-web/927023-yeticave/commits{/sha}","git_commits_url":"https://api.github.com/repos/Malahov-web/927023-yeticave/git/commits{/sha}","comments_url":"https://api.github.com/repos/Malahov-web/927023-yeticave/comments{/number}","issue_comment_url":"https://api.github.com/repos/Malahov-web/927023-yeticave/issues/comments{/number}","contents_url":"https://api.github.com/repos/Malahov-web/927023-yeticave/contents/{+path}","compare_url":"https://api.github.com/repos/Malahov-web/927023-yeticave/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Malahov-web/927023-yeticave/merges","archive_url":"https://api.github.com/repos/Malahov-web/927023-yeticave/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Malahov-web/927023-yeticave/downloads","issues_url":"https://api.github.com/repos/Malahov-web/927023-yeticave/issues{/number}","pulls_url":"https://api.github.com/repos/Malahov-web/927023-yeticave/pulls{/number}","milestones_url":"https://api.github.com/repos/Malahov-web/927023-yeticave/milestones{/number}","notifications_url":"https://api.github.com/repos/Malahov-web/927023-yeticave/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Malahov-web/927023-yeticave/labels{/name}","releases_url":"https://api.github.com/repos/Malahov-web/927023-yeticave/releases{/id}","deployments_url":"https://api.github.com/repos/Malahov-web/927023-yeticave/deployments","created_at":"2018-11-16T13:39:56Z","updated_at":"2018-11-23T19:39:25Z","pushed_at":"2018-11-23T21:37:49Z","git_url":"git://github.com/Malahov-web/927023-yeticave.git","ssh_url":"git@github.com:Malahov-web/927023-yeticave.git","clone_url":"https://github.com/Malahov-web/927023-yeticave.git","svn_url":"https://github.com/Malahov-web/927023-yeticave","homepage":null,"size":582,"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":"1ba4df7ff7f917dc27863ba1ec2f371d8632aa3a","user":{"login":"htmlacademy-php","id":27206120,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI3MjA2MTIw","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":157435695,"node_id":"MDEwOlJlcG9zaXRvcnkxNTc0MzU2OTU=","name":"927023-yeticave","full_name":"htmlacademy-php/927023-yeticave","private":false,"owner":{"login":"htmlacademy-php","id":27206120,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI3MjA2MTIw","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},"html_url":"https://github.com/htmlacademy-php/927023-yeticave","description":"Кирилл","fork":false,"url":"https://api.github.com/repos/htmlacademy-php/927023-yeticave","forks_url":"https://api.github.com/repos/htmlacademy-php/927023-yeticave/forks","keys_url":"https://api.github.com/repos/htmlacademy-php/927023-yeticave/keys{/key_id}","collaborators_url":"https://api.github.com/repos/htmlacademy-php/927023-yeticave/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/htmlacademy-php/927023-yeticave/teams","hooks_url":"https://api.github.com/repos/htmlacademy-php/927023-yeticave/hooks","issue_events_url":"https://api.github.com/repos/htmlacademy-php/927023-yeticave/issues/events{/number}","events_url":"https://api.github.com/repos/htmlacademy-php/927023-yeticave/events","assignees_url":"https://api.github.com/repos/htmlacademy-php/927023-yeticave/assignees{/user}","branches_url":"https://api.github.com/repos/htmlacademy-php/927023-yeticave/branches{/branch}","tags_url":"https://api.github.com/repos/htmlacademy-php/927023-yeticave/tags","blobs_url":"https://api.github.com/repos/htmlacademy-php/927023-yeticave/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/htmlacademy-php/927023-yeticave/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/htmlacademy-php/927023-yeticave/git/refs{/sha}","trees_url":"https://api.github.com/repos/htmlacademy-php/927023-yeticave/git/trees{/sha}","statuses_url":"https://api.github.com/repos/htmlacademy-php/927023-yeticave/statuses/{sha}","languages_url":"https://api.github.com/repos/htmlacademy-php/927023-yeticave/languages","stargazers_url":"https://api.github.com/repos/htmlacademy-php/927023-yeticave/stargazers","contributors_url":"https://api.github.com/repos/htmlacademy-php/927023-yeticave/contributors","subscribers_url":"https://api.github.com/repos/htmlacademy-php/927023-yeticave/subscribers","subscription_url":"https://api.github.com/repos/htmlacademy-php/927023-yeticave/subscription","commits_url":"https://api.github.com/repos/htmlacademy-php/927023-yeticave/commits{/sha}","git_commits_url":"https://api.github.com/repos/htmlacademy-php/927023-yeticave/git/commits{/sha}","comments_url":"https://api.github.com/repos/htmlacademy-php/927023-yeticave/comments{/number}","issue_comment_url":"https://api.github.com/repos/htmlacademy-php/927023-yeticave/issues/comments{/number}","contents_url":"https://api.github.com/repos/htmlacademy-php/927023-yeticave/contents/{+path}","compare_url":"https://api.github.com/repos/htmlacademy-php/927023-yeticave/compare/{base}...{head}","merges_url":"https://api.github.com/repos/htmlacademy-php/927023-yeticave/merges","archive_url":"https://api.github.com/repos/htmlacademy-php/927023-yeticave/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/htmlacademy-php/927023-yeticave/downloads","issues_url":"https://api.github.com/repos/htmlacademy-php/927023-yeticave/issues{/number}","pulls_url":"https://api.github.com/repos/htmlacademy-php/927023-yeticave/pulls{/number}","milestones_url":"https://api.github.com/repos/htmlacademy-php/927023-yeticave/milestones{/number}","notifications_url":"https://api.github.com/repos/htmlacademy-php/927023-yeticave/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/htmlacademy-php/927023-yeticave/labels{/name}","releases_url":"https://api.github.com/repos/htmlacademy-php/927023-yeticave/releases{/id}","deployments_url":"https://api.github.com/repos/htmlacademy-php/927023-yeticave/deployments","created_at":"2018-11-13T19:37:23Z","updated_at":"2018-11-24T12:13:19Z","pushed_at":"2018-11-24T12:13:17Z","git_url":"git://github.com/htmlacademy-php/927023-yeticave.git","ssh_url":"git@github.com:htmlacademy-php/927023-yeticave.git","clone_url":"https://github.com/htmlacademy-php/927023-yeticave.git","svn_url":"https://github.com/htmlacademy-php/927023-yeticave","homepage":"https://github.com/Malahov-web/927023-yeticave","size":576,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_projects":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/htmlacademy-php/927023-yeticave/pulls/5"},"html":{"href":"https://github.com/htmlacademy-php/927023-yeticave/pull/5"},"issue":{"href":"https://api.github.com/repos/htmlacademy-php/927023-yeticave/issues/5"},"comments":{"href":"https://api.github.com/repos/htmlacademy-php/927023-yeticave/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/htmlacademy-php/927023-yeticave/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/htmlacademy-php/927023-yeticave/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/htmlacademy-php/927023-yeticave/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/htmlacademy-php/927023-yeticave/statuses/8cd166823fa4dbb6b6ac5b98155780735b3d7d5b"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"olegsklyarov"}}