{"action":"created","comment":{"url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/pulls/comments/53982353","id":53982353,"diff_hunk":"@@ -27,90 +27,54 @@\n                     </div>\n                 </div>\n                 <div class=\"col-xs-12 col-sm-8 col-md-8 col-lg-8\">\n-                    <!-- Radio -->\n-                    <div class=\"content-panel-radio\">\n-                        <div class=\"col-xs-12 col-sm-3 col-md-3 col-lg-3\">\n-                            <img class=\"content-image\" src=\"<?php bloginfo('stylesheet_directory'); ?>/img/filler/placeholder-rectangle.jpg\" id='headImg'>\n-                        </div>\n-                        <div class=\"col-xs-12 col-sm-9 col-md-9 col-lg-9\">\n-                            <div class=\"boxgrid reverse slideright\">\n-                                <div class=\"cover radioCover\">\n-                                    <h3>Lorem ipsum dolor sit amet</h3>\n-                                    <p>Nunc vehicula dapibus ipsum. Duis venenatis risus non nunc fermentum dapibus. Morbi lorem ante, malesuada in mollis nec, non auctor nec massa. Aenean tempus dui eget felis blandit at fringilla urna ultrices. Suspendisse feugiat, ante et viverra lacinia, lectus sem lobortis dui, ultricies consectetur leo mauris at tortor.</p>\n+                    <?php \n+                        $radios = $wpdb->get_results(\"SELECT * FROM stations WHERE countryName = 'Guatemala' ORDER BY name\");\n+                        if(is_page('local')) {\n+                            foreach ($radios as $radio) {\n+                            ?>\n+                                <!-- Radio -->\n+                                <div class=\"content-panel-radio\">\n+                                    <div class=\"col-xs-12 col-sm-3 col-md-3 col-lg-3\">\n+                                        <img class=\"content-image\" src=\"<?php bloginfo('stylesheet_directory'); ?>/img/filler/placeholder-rectangle.jpg\" id='headImg'>\n+                                    </div>\n+                                    <div class=\"col-xs-12 col-sm-9 col-md-9 col-lg-9\">\n+                                        <div class=\"boxgrid reverse slideright\">\n+                                            <div class=\"cover radioCover\">\n+                                                <?php echo \"<h3>$radio->name</h3>\"; ?>\n+                                                <?php echo \"<p><h4>$radio->dial $radio->type</h4></p>\"; ?>\n+                                                <?php \n+                                                    if ($radio->countryName != \"\") {\n+                                                        echo \"<p><strong>Ubicación</strong> $radio->countryName \";\n+                                                    } else {\n+                                                        echo \"<p>\";\n+                                                    }\n+                                                    if ($radio->genres != \"\") {","path":"radio-list-template.php","position":35,"original_position":35,"commit_id":"bc5cbec3a8c2bec2fd5e5ded6c265dfc57b4f529","original_commit_id":"bc5cbec3a8c2bec2fd5e5ded6c265dfc57b4f529","user":{"login":"angelchanquin","id":13983195,"avatar_url":"https://avatars.githubusercontent.com/u/13983195?v=3","gravatar_id":"","url":"https://api.github.com/users/angelchanquin","html_url":"https://github.com/angelchanquin","followers_url":"https://api.github.com/users/angelchanquin/followers","following_url":"https://api.github.com/users/angelchanquin/following{/other_user}","gists_url":"https://api.github.com/users/angelchanquin/gists{/gist_id}","starred_url":"https://api.github.com/users/angelchanquin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angelchanquin/subscriptions","organizations_url":"https://api.github.com/users/angelchanquin/orgs","repos_url":"https://api.github.com/users/angelchanquin/repos","events_url":"https://api.github.com/users/angelchanquin/events{/privacy}","received_events_url":"https://api.github.com/users/angelchanquin/received_events","type":"User","site_admin":false},"body":"Check if is null or empty","created_at":"2016-02-24T18:24:14Z","updated_at":"2016-02-24T18:24:14Z","html_url":"https://github.com/angelchanquin/escuchaLaRadioTheme/pull/15#discussion_r53982353","pull_request_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/pulls/15","_links":{"self":{"href":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/pulls/comments/53982353"},"html":{"href":"https://github.com/angelchanquin/escuchaLaRadioTheme/pull/15#discussion_r53982353"},"pull_request":{"href":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/pulls/15"}}},"pull_request":{"url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/pulls/15","id":60553297,"html_url":"https://github.com/angelchanquin/escuchaLaRadioTheme/pull/15","diff_url":"https://github.com/angelchanquin/escuchaLaRadioTheme/pull/15.diff","patch_url":"https://github.com/angelchanquin/escuchaLaRadioTheme/pull/15.patch","issue_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/issues/15","number":15,"state":"open","locked":false,"title":"More Information added","user":{"login":"JJAlvarez","id":14056690,"avatar_url":"https://avatars.githubusercontent.com/u/14056690?v=3","gravatar_id":"","url":"https://api.github.com/users/JJAlvarez","html_url":"https://github.com/JJAlvarez","followers_url":"https://api.github.com/users/JJAlvarez/followers","following_url":"https://api.github.com/users/JJAlvarez/following{/other_user}","gists_url":"https://api.github.com/users/JJAlvarez/gists{/gist_id}","starred_url":"https://api.github.com/users/JJAlvarez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JJAlvarez/subscriptions","organizations_url":"https://api.github.com/users/JJAlvarez/orgs","repos_url":"https://api.github.com/users/JJAlvarez/repos","events_url":"https://api.github.com/users/JJAlvarez/events{/privacy}","received_events_url":"https://api.github.com/users/JJAlvarez/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-02-24T18:15:22Z","updated_at":"2016-02-24T18:24:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3e7d3d4144ab24b2d0d80b98618e0ef3187c62e9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/pulls/15/commits","review_comments_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/pulls/15/comments","review_comment_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/pulls/comments{/number}","comments_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/issues/15/comments","statuses_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/statuses/bc5cbec3a8c2bec2fd5e5ded6c265dfc57b4f529","head":{"label":"angelchanquin:feature/local-query","ref":"feature/local-query","sha":"bc5cbec3a8c2bec2fd5e5ded6c265dfc57b4f529","user":{"login":"angelchanquin","id":13983195,"avatar_url":"https://avatars.githubusercontent.com/u/13983195?v=3","gravatar_id":"","url":"https://api.github.com/users/angelchanquin","html_url":"https://github.com/angelchanquin","followers_url":"https://api.github.com/users/angelchanquin/followers","following_url":"https://api.github.com/users/angelchanquin/following{/other_user}","gists_url":"https://api.github.com/users/angelchanquin/gists{/gist_id}","starred_url":"https://api.github.com/users/angelchanquin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angelchanquin/subscriptions","organizations_url":"https://api.github.com/users/angelchanquin/orgs","repos_url":"https://api.github.com/users/angelchanquin/repos","events_url":"https://api.github.com/users/angelchanquin/events{/privacy}","received_events_url":"https://api.github.com/users/angelchanquin/received_events","type":"User","site_admin":false},"repo":{"id":52312311,"name":"escuchaLaRadioTheme","full_name":"angelchanquin/escuchaLaRadioTheme","owner":{"login":"angelchanquin","id":13983195,"avatar_url":"https://avatars.githubusercontent.com/u/13983195?v=3","gravatar_id":"","url":"https://api.github.com/users/angelchanquin","html_url":"https://github.com/angelchanquin","followers_url":"https://api.github.com/users/angelchanquin/followers","following_url":"https://api.github.com/users/angelchanquin/following{/other_user}","gists_url":"https://api.github.com/users/angelchanquin/gists{/gist_id}","starred_url":"https://api.github.com/users/angelchanquin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angelchanquin/subscriptions","organizations_url":"https://api.github.com/users/angelchanquin/orgs","repos_url":"https://api.github.com/users/angelchanquin/repos","events_url":"https://api.github.com/users/angelchanquin/events{/privacy}","received_events_url":"https://api.github.com/users/angelchanquin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/angelchanquin/escuchaLaRadioTheme","description":"EscuchaLaRadio Wordpress Theme","fork":false,"url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme","forks_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/forks","keys_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/keys{/key_id}","collaborators_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/teams","hooks_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/hooks","issue_events_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/issues/events{/number}","events_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/events","assignees_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/assignees{/user}","branches_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/branches{/branch}","tags_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/tags","blobs_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/git/refs{/sha}","trees_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/git/trees{/sha}","statuses_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/statuses/{sha}","languages_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/languages","stargazers_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/stargazers","contributors_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/contributors","subscribers_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/subscribers","subscription_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/subscription","commits_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/commits{/sha}","git_commits_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/git/commits{/sha}","comments_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/comments{/number}","issue_comment_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/issues/comments{/number}","contents_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/contents/{+path}","compare_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/compare/{base}...{head}","merges_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/merges","archive_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/downloads","issues_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/issues{/number}","pulls_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/pulls{/number}","milestones_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/milestones{/number}","notifications_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/labels{/name}","releases_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/releases{/id}","deployments_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/deployments","created_at":"2016-02-22T22:55:33Z","updated_at":"2016-02-23T05:03:24Z","pushed_at":"2016-02-24T18:15:23Z","git_url":"git://github.com/angelchanquin/escuchaLaRadioTheme.git","ssh_url":"git@github.com:angelchanquin/escuchaLaRadioTheme.git","clone_url":"https://github.com/angelchanquin/escuchaLaRadioTheme.git","svn_url":"https://github.com/angelchanquin/escuchaLaRadioTheme","homepage":null,"size":3245,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"angelchanquin:develop","ref":"develop","sha":"7f3c915c6d0ac43f68103170f774f3d691111afb","user":{"login":"angelchanquin","id":13983195,"avatar_url":"https://avatars.githubusercontent.com/u/13983195?v=3","gravatar_id":"","url":"https://api.github.com/users/angelchanquin","html_url":"https://github.com/angelchanquin","followers_url":"https://api.github.com/users/angelchanquin/followers","following_url":"https://api.github.com/users/angelchanquin/following{/other_user}","gists_url":"https://api.github.com/users/angelchanquin/gists{/gist_id}","starred_url":"https://api.github.com/users/angelchanquin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angelchanquin/subscriptions","organizations_url":"https://api.github.com/users/angelchanquin/orgs","repos_url":"https://api.github.com/users/angelchanquin/repos","events_url":"https://api.github.com/users/angelchanquin/events{/privacy}","received_events_url":"https://api.github.com/users/angelchanquin/received_events","type":"User","site_admin":false},"repo":{"id":52312311,"name":"escuchaLaRadioTheme","full_name":"angelchanquin/escuchaLaRadioTheme","owner":{"login":"angelchanquin","id":13983195,"avatar_url":"https://avatars.githubusercontent.com/u/13983195?v=3","gravatar_id":"","url":"https://api.github.com/users/angelchanquin","html_url":"https://github.com/angelchanquin","followers_url":"https://api.github.com/users/angelchanquin/followers","following_url":"https://api.github.com/users/angelchanquin/following{/other_user}","gists_url":"https://api.github.com/users/angelchanquin/gists{/gist_id}","starred_url":"https://api.github.com/users/angelchanquin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angelchanquin/subscriptions","organizations_url":"https://api.github.com/users/angelchanquin/orgs","repos_url":"https://api.github.com/users/angelchanquin/repos","events_url":"https://api.github.com/users/angelchanquin/events{/privacy}","received_events_url":"https://api.github.com/users/angelchanquin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/angelchanquin/escuchaLaRadioTheme","description":"EscuchaLaRadio Wordpress Theme","fork":false,"url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme","forks_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/forks","keys_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/keys{/key_id}","collaborators_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/teams","hooks_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/hooks","issue_events_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/issues/events{/number}","events_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/events","assignees_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/assignees{/user}","branches_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/branches{/branch}","tags_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/tags","blobs_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/git/refs{/sha}","trees_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/git/trees{/sha}","statuses_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/statuses/{sha}","languages_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/languages","stargazers_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/stargazers","contributors_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/contributors","subscribers_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/subscribers","subscription_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/subscription","commits_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/commits{/sha}","git_commits_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/git/commits{/sha}","comments_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/comments{/number}","issue_comment_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/issues/comments{/number}","contents_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/contents/{+path}","compare_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/compare/{base}...{head}","merges_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/merges","archive_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/downloads","issues_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/issues{/number}","pulls_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/pulls{/number}","milestones_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/milestones{/number}","notifications_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/labels{/name}","releases_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/releases{/id}","deployments_url":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/deployments","created_at":"2016-02-22T22:55:33Z","updated_at":"2016-02-23T05:03:24Z","pushed_at":"2016-02-24T18:15:23Z","git_url":"git://github.com/angelchanquin/escuchaLaRadioTheme.git","ssh_url":"git@github.com:angelchanquin/escuchaLaRadioTheme.git","clone_url":"https://github.com/angelchanquin/escuchaLaRadioTheme.git","svn_url":"https://github.com/angelchanquin/escuchaLaRadioTheme","homepage":null,"size":3245,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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/angelchanquin/escuchaLaRadioTheme/pulls/15"},"html":{"href":"https://github.com/angelchanquin/escuchaLaRadioTheme/pull/15"},"issue":{"href":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/issues/15"},"comments":{"href":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/angelchanquin/escuchaLaRadioTheme/statuses/bc5cbec3a8c2bec2fd5e5ded6c265dfc57b4f529"}}}}