{"action":"created","comment":{"url":"https://api.github.com/repos/hashikuchi/freecycle/pulls/comments/36587695","id":36587695,"diff_hunk":"@@ -0,0 +1,114 @@\n+<?php\n+    $url = explode(\"/\",$_SERVER[\"REQUEST_URI\"]);\n+    if(is_numeric(end($url))){\n+        $page = end($url);\n+    }else{\n+        $page = 1;\n+    }\n+    $arg = array(\n+        'posts_per_page' => 10,\n+        'paged' => $page\n+    );\n+    $items_query = new WP_Query($arg);\n+?>\n+<h4 id=\"post-list-h4\">商品一覧(<?php echo $items_query->found_posts;?>件)\n+\t\t</h4>\n+\t\t<div class=\"page\" id=\"blog-latest\" role=\"main\">\n+\n+\t\t\t<?php if ( $items_query->have_posts() ) : ?>\n+\n+\t\t\t\t<?php bp_dtheme_content_nav( 'nav-above' ); ?>\n+\t\t\t\t<?php $count = 1; ?>\n+\t\t\t\t<?php $row = 2; ?>\n+\t\t\t\t<?php $is_closed = false; ?>\n+\t\t\t\t<?php while ($items_query->have_posts()) : $items_query->the_post(); ?>\n+\t\t\t\t\t<?php do_action( 'bp_before_blog_post' ); ?>\n+\t\t<?php if($count%$row == 1) {\n+\t\t\t\t$is_closed = false;\n+\t\t?>\n+\t\t\t\t<div class=\"posts-row\">\n+\t\t<?php } ?>\n+\t\t\t\t\t<div id=\"post-<?php the_ID(); ?>\" <?php post_class(); ?> class=\"entry-on-index\">\n+\n+\t\t\t\t\t\t<div class=\"post-content\">\n+\n+\t\t\t\t\t\t\t<div class=\"entry\">\n+\n+\t\t\t\t\t\t\t\t<a href=\"<?php the_permalink(); ?>\" class=\"post-img-contents\"><?php the_post_thumbnail(array(150, 150)) ?></a>\n+\t\t\t\t\t\t\t\t<?php wp_link_pages( array( 'before' => '<div class=\"page-link\"><p>' . __( 'Pages: ', 'buddypress' ), 'after' => '</p></div>', 'next_or_number' => 'number' ) ); ?>\n+\t\t\t\t\t\t\t\t<span class=\"index-item-title\"><a href=\"<?php the_permalink(); ?>\"><?php the_title(); ?></a></span>\n+\t\t\t\t\t\t\t</div>\n+\t\t\t\t\t\t</div><!-- post-content -->\n+\t\t\t\t\t</div><!-- post名 -->\n+\t\t<?php if($count%$row == 0) {\n+\t\t\t\t$is_closed = true;\n+\t\t?>\n+\t\t\t\t</div><!-- posts-row -->\n+\t\t<hr class=\"hr-posts-row\">\n+\t\t<?php } ?>\n+\t\t\t\t\t<?php do_action( 'bp_after_blog_post' ); ?>\n+\t\t\t\t<?php $count++; ?>\n+\t\t\t\t<?php endwhile; ?>\n+        <?php if($is_closed == false): ?>\n+        <hr class=\"hr-posts-row\">\n+        <?php endif; ?>\n+\n+\t\t\t\t<?php bp_dtheme_content_nav( 'nav-below' ); ?>\n+\n+\t\t\t<?php else : ?>\n+\n+\t\t\t\t<h2 class=\"center\"><?php _e( 'Not Found', 'buddypress' ); ?></h2>\n+\t\t\t\t<p class=\"center\"><?php _e( 'Sorry, but you are looking for something that isn\\'t here.', 'buddypress' ); ?></p>\n+\n+\t\t\t\t<!-- <?php get_search_form(); ?> -->\n+\n+\t\t\t<?php endif; ?>\n+            <?php  pagenation($page, $items_query->max_num_pages); ?>\n+\t\t</div><!-- page ? -->\n+\n+\t\t<?php do_action( 'bp_after_blog_home' ); ?>","path":"themes/freecycle/all-item.php","position":69,"original_position":69,"commit_id":"973b4f538b60a167f45cabba09107b3aadbd24f1","original_commit_id":"973b4f538b60a167f45cabba09107b3aadbd24f1","user":{"login":"hashikuchi","id":4316388,"avatar_url":"https://avatars.githubusercontent.com/u/4316388?v=3","gravatar_id":"","url":"https://api.github.com/users/hashikuchi","html_url":"https://github.com/hashikuchi","followers_url":"https://api.github.com/users/hashikuchi/followers","following_url":"https://api.github.com/users/hashikuchi/following{/other_user}","gists_url":"https://api.github.com/users/hashikuchi/gists{/gist_id}","starred_url":"https://api.github.com/users/hashikuchi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hashikuchi/subscriptions","organizations_url":"https://api.github.com/users/hashikuchi/orgs","repos_url":"https://api.github.com/users/hashikuchi/repos","events_url":"https://api.github.com/users/hashikuchi/events{/privacy}","received_events_url":"https://api.github.com/users/hashikuchi/received_events","type":"User","site_admin":false},"body":"特定のページ(8ページとか9ページとか)で、「このページを編集する」リンクがでちゃう現象が僕の環境でおきてます。多賀くんの環境ではどう？\r\n![2015-08-09 22 02 12](https://cloud.githubusercontent.com/assets/4316388/9154967/6af315f2-3ee2-11e5-87f1-3152619a4ef4.png)\r\n","created_at":"2015-08-09T13:03:50Z","updated_at":"2015-08-09T13:03:50Z","html_url":"https://github.com/hashikuchi/freecycle/pull/236#discussion_r36587695","pull_request_url":"https://api.github.com/repos/hashikuchi/freecycle/pulls/236","_links":{"self":{"href":"https://api.github.com/repos/hashikuchi/freecycle/pulls/comments/36587695"},"html":{"href":"https://github.com/hashikuchi/freecycle/pull/236#discussion_r36587695"},"pull_request":{"href":"https://api.github.com/repos/hashikuchi/freecycle/pulls/236"}}},"pull_request":{"url":"https://api.github.com/repos/hashikuchi/freecycle/pulls/236","id":41897609,"html_url":"https://github.com/hashikuchi/freecycle/pull/236","diff_url":"https://github.com/hashikuchi/freecycle/pull/236.diff","patch_url":"https://github.com/hashikuchi/freecycle/pull/236.patch","issue_url":"https://api.github.com/repos/hashikuchi/freecycle/issues/236","number":236,"state":"open","locked":false,"title":"商品一覧ページ作成","user":{"login":"tagasouichiro","id":7579796,"avatar_url":"https://avatars.githubusercontent.com/u/7579796?v=3","gravatar_id":"","url":"https://api.github.com/users/tagasouichiro","html_url":"https://github.com/tagasouichiro","followers_url":"https://api.github.com/users/tagasouichiro/followers","following_url":"https://api.github.com/users/tagasouichiro/following{/other_user}","gists_url":"https://api.github.com/users/tagasouichiro/gists{/gist_id}","starred_url":"https://api.github.com/users/tagasouichiro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tagasouichiro/subscriptions","organizations_url":"https://api.github.com/users/tagasouichiro/orgs","repos_url":"https://api.github.com/users/tagasouichiro/repos","events_url":"https://api.github.com/users/tagasouichiro/events{/privacy}","received_events_url":"https://api.github.com/users/tagasouichiro/received_events","type":"User","site_admin":false},"body":"固定ページにて、以下を追加してください。\r\nurl:all-item\r\n本文:[show_all_item]","created_at":"2015-08-07T14:31:35Z","updated_at":"2015-08-09T13:03:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"86aee3967f7ade0a557e50029b6de5e89e2fb449","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hashikuchi/freecycle/pulls/236/commits","review_comments_url":"https://api.github.com/repos/hashikuchi/freecycle/pulls/236/comments","review_comment_url":"https://api.github.com/repos/hashikuchi/freecycle/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hashikuchi/freecycle/issues/236/comments","statuses_url":"https://api.github.com/repos/hashikuchi/freecycle/statuses/973b4f538b60a167f45cabba09107b3aadbd24f1","head":{"label":"hashikuchi:add_allitem_page","ref":"add_allitem_page","sha":"973b4f538b60a167f45cabba09107b3aadbd24f1","user":{"login":"hashikuchi","id":4316388,"avatar_url":"https://avatars.githubusercontent.com/u/4316388?v=3","gravatar_id":"","url":"https://api.github.com/users/hashikuchi","html_url":"https://github.com/hashikuchi","followers_url":"https://api.github.com/users/hashikuchi/followers","following_url":"https://api.github.com/users/hashikuchi/following{/other_user}","gists_url":"https://api.github.com/users/hashikuchi/gists{/gist_id}","starred_url":"https://api.github.com/users/hashikuchi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hashikuchi/subscriptions","organizations_url":"https://api.github.com/users/hashikuchi/orgs","repos_url":"https://api.github.com/users/hashikuchi/repos","events_url":"https://api.github.com/users/hashikuchi/events{/privacy}","received_events_url":"https://api.github.com/users/hashikuchi/received_events","type":"User","site_admin":false},"repo":{"id":15099935,"name":"freecycle","full_name":"hashikuchi/freecycle","owner":{"login":"hashikuchi","id":4316388,"avatar_url":"https://avatars.githubusercontent.com/u/4316388?v=3","gravatar_id":"","url":"https://api.github.com/users/hashikuchi","html_url":"https://github.com/hashikuchi","followers_url":"https://api.github.com/users/hashikuchi/followers","following_url":"https://api.github.com/users/hashikuchi/following{/other_user}","gists_url":"https://api.github.com/users/hashikuchi/gists{/gist_id}","starred_url":"https://api.github.com/users/hashikuchi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hashikuchi/subscriptions","organizations_url":"https://api.github.com/users/hashikuchi/orgs","repos_url":"https://api.github.com/users/hashikuchi/repos","events_url":"https://api.github.com/users/hashikuchi/events{/privacy}","received_events_url":"https://api.github.com/users/hashikuchi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hashikuchi/freecycle","description":"Project for TexChange (web service for students trading their textbooks)","fork":false,"url":"https://api.github.com/repos/hashikuchi/freecycle","forks_url":"https://api.github.com/repos/hashikuchi/freecycle/forks","keys_url":"https://api.github.com/repos/hashikuchi/freecycle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hashikuchi/freecycle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hashikuchi/freecycle/teams","hooks_url":"https://api.github.com/repos/hashikuchi/freecycle/hooks","issue_events_url":"https://api.github.com/repos/hashikuchi/freecycle/issues/events{/number}","events_url":"https://api.github.com/repos/hashikuchi/freecycle/events","assignees_url":"https://api.github.com/repos/hashikuchi/freecycle/assignees{/user}","branches_url":"https://api.github.com/repos/hashikuchi/freecycle/branches{/branch}","tags_url":"https://api.github.com/repos/hashikuchi/freecycle/tags","blobs_url":"https://api.github.com/repos/hashikuchi/freecycle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hashikuchi/freecycle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hashikuchi/freecycle/git/refs{/sha}","trees_url":"https://api.github.com/repos/hashikuchi/freecycle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hashikuchi/freecycle/statuses/{sha}","languages_url":"https://api.github.com/repos/hashikuchi/freecycle/languages","stargazers_url":"https://api.github.com/repos/hashikuchi/freecycle/stargazers","contributors_url":"https://api.github.com/repos/hashikuchi/freecycle/contributors","subscribers_url":"https://api.github.com/repos/hashikuchi/freecycle/subscribers","subscription_url":"https://api.github.com/repos/hashikuchi/freecycle/subscription","commits_url":"https://api.github.com/repos/hashikuchi/freecycle/commits{/sha}","git_commits_url":"https://api.github.com/repos/hashikuchi/freecycle/git/commits{/sha}","comments_url":"https://api.github.com/repos/hashikuchi/freecycle/comments{/number}","issue_comment_url":"https://api.github.com/repos/hashikuchi/freecycle/issues/comments{/number}","contents_url":"https://api.github.com/repos/hashikuchi/freecycle/contents/{+path}","compare_url":"https://api.github.com/repos/hashikuchi/freecycle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hashikuchi/freecycle/merges","archive_url":"https://api.github.com/repos/hashikuchi/freecycle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hashikuchi/freecycle/downloads","issues_url":"https://api.github.com/repos/hashikuchi/freecycle/issues{/number}","pulls_url":"https://api.github.com/repos/hashikuchi/freecycle/pulls{/number}","milestones_url":"https://api.github.com/repos/hashikuchi/freecycle/milestones{/number}","notifications_url":"https://api.github.com/repos/hashikuchi/freecycle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hashikuchi/freecycle/labels{/name}","releases_url":"https://api.github.com/repos/hashikuchi/freecycle/releases{/id}","created_at":"2013-12-11T06:33:41Z","updated_at":"2015-05-07T11:56:29Z","pushed_at":"2015-08-09T12:11:59Z","git_url":"git://github.com/hashikuchi/freecycle.git","ssh_url":"git@github.com:hashikuchi/freecycle.git","clone_url":"https://github.com/hashikuchi/freecycle.git","svn_url":"https://github.com/hashikuchi/freecycle","homepage":null,"size":37260,"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":51,"forks":0,"open_issues":51,"watchers":0,"default_branch":"master"}},"base":{"label":"hashikuchi:master","ref":"master","sha":"93f2c6c6237d5c428d02741e0ea7ed2d1dafdb8e","user":{"login":"hashikuchi","id":4316388,"avatar_url":"https://avatars.githubusercontent.com/u/4316388?v=3","gravatar_id":"","url":"https://api.github.com/users/hashikuchi","html_url":"https://github.com/hashikuchi","followers_url":"https://api.github.com/users/hashikuchi/followers","following_url":"https://api.github.com/users/hashikuchi/following{/other_user}","gists_url":"https://api.github.com/users/hashikuchi/gists{/gist_id}","starred_url":"https://api.github.com/users/hashikuchi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hashikuchi/subscriptions","organizations_url":"https://api.github.com/users/hashikuchi/orgs","repos_url":"https://api.github.com/users/hashikuchi/repos","events_url":"https://api.github.com/users/hashikuchi/events{/privacy}","received_events_url":"https://api.github.com/users/hashikuchi/received_events","type":"User","site_admin":false},"repo":{"id":15099935,"name":"freecycle","full_name":"hashikuchi/freecycle","owner":{"login":"hashikuchi","id":4316388,"avatar_url":"https://avatars.githubusercontent.com/u/4316388?v=3","gravatar_id":"","url":"https://api.github.com/users/hashikuchi","html_url":"https://github.com/hashikuchi","followers_url":"https://api.github.com/users/hashikuchi/followers","following_url":"https://api.github.com/users/hashikuchi/following{/other_user}","gists_url":"https://api.github.com/users/hashikuchi/gists{/gist_id}","starred_url":"https://api.github.com/users/hashikuchi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hashikuchi/subscriptions","organizations_url":"https://api.github.com/users/hashikuchi/orgs","repos_url":"https://api.github.com/users/hashikuchi/repos","events_url":"https://api.github.com/users/hashikuchi/events{/privacy}","received_events_url":"https://api.github.com/users/hashikuchi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hashikuchi/freecycle","description":"Project for TexChange (web service for students trading their textbooks)","fork":false,"url":"https://api.github.com/repos/hashikuchi/freecycle","forks_url":"https://api.github.com/repos/hashikuchi/freecycle/forks","keys_url":"https://api.github.com/repos/hashikuchi/freecycle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hashikuchi/freecycle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hashikuchi/freecycle/teams","hooks_url":"https://api.github.com/repos/hashikuchi/freecycle/hooks","issue_events_url":"https://api.github.com/repos/hashikuchi/freecycle/issues/events{/number}","events_url":"https://api.github.com/repos/hashikuchi/freecycle/events","assignees_url":"https://api.github.com/repos/hashikuchi/freecycle/assignees{/user}","branches_url":"https://api.github.com/repos/hashikuchi/freecycle/branches{/branch}","tags_url":"https://api.github.com/repos/hashikuchi/freecycle/tags","blobs_url":"https://api.github.com/repos/hashikuchi/freecycle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hashikuchi/freecycle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hashikuchi/freecycle/git/refs{/sha}","trees_url":"https://api.github.com/repos/hashikuchi/freecycle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hashikuchi/freecycle/statuses/{sha}","languages_url":"https://api.github.com/repos/hashikuchi/freecycle/languages","stargazers_url":"https://api.github.com/repos/hashikuchi/freecycle/stargazers","contributors_url":"https://api.github.com/repos/hashikuchi/freecycle/contributors","subscribers_url":"https://api.github.com/repos/hashikuchi/freecycle/subscribers","subscription_url":"https://api.github.com/repos/hashikuchi/freecycle/subscription","commits_url":"https://api.github.com/repos/hashikuchi/freecycle/commits{/sha}","git_commits_url":"https://api.github.com/repos/hashikuchi/freecycle/git/commits{/sha}","comments_url":"https://api.github.com/repos/hashikuchi/freecycle/comments{/number}","issue_comment_url":"https://api.github.com/repos/hashikuchi/freecycle/issues/comments{/number}","contents_url":"https://api.github.com/repos/hashikuchi/freecycle/contents/{+path}","compare_url":"https://api.github.com/repos/hashikuchi/freecycle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hashikuchi/freecycle/merges","archive_url":"https://api.github.com/repos/hashikuchi/freecycle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hashikuchi/freecycle/downloads","issues_url":"https://api.github.com/repos/hashikuchi/freecycle/issues{/number}","pulls_url":"https://api.github.com/repos/hashikuchi/freecycle/pulls{/number}","milestones_url":"https://api.github.com/repos/hashikuchi/freecycle/milestones{/number}","notifications_url":"https://api.github.com/repos/hashikuchi/freecycle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hashikuchi/freecycle/labels{/name}","releases_url":"https://api.github.com/repos/hashikuchi/freecycle/releases{/id}","created_at":"2013-12-11T06:33:41Z","updated_at":"2015-05-07T11:56:29Z","pushed_at":"2015-08-09T12:11:59Z","git_url":"git://github.com/hashikuchi/freecycle.git","ssh_url":"git@github.com:hashikuchi/freecycle.git","clone_url":"https://github.com/hashikuchi/freecycle.git","svn_url":"https://github.com/hashikuchi/freecycle","homepage":null,"size":37260,"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":51,"forks":0,"open_issues":51,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hashikuchi/freecycle/pulls/236"},"html":{"href":"https://github.com/hashikuchi/freecycle/pull/236"},"issue":{"href":"https://api.github.com/repos/hashikuchi/freecycle/issues/236"},"comments":{"href":"https://api.github.com/repos/hashikuchi/freecycle/issues/236/comments"},"review_comments":{"href":"https://api.github.com/repos/hashikuchi/freecycle/pulls/236/comments"},"review_comment":{"href":"https://api.github.com/repos/hashikuchi/freecycle/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hashikuchi/freecycle/pulls/236/commits"},"statuses":{"href":"https://api.github.com/repos/hashikuchi/freecycle/statuses/973b4f538b60a167f45cabba09107b3aadbd24f1"}}}}