{"id":1,"date":"2012-03-26T16:51:06","date_gmt":"2012-03-26T12:51:06","guid":{"rendered":""},"modified":"2012-03-26T23:12:46","modified_gmt":"2012-03-27T03:12:46","slug":"hello-world","status":"publish","type":"post","link":"https:\/\/footpadcenter.com\/en\/?p=1","title":{"rendered":"Store Locator"},"content":{"rendered":"<div id=\"map_search\" ><a id=\"map_top\"><\/a><form  onsubmit=\"searchLocations( 1 ); return false; \" name=\"location_search_form\" id=\"location_search_form\" action=\"https:\/\/footpadcenter.com\/en\/?p=1\" method=\"post\"><table class=\"location_search\"><tr><td colspan=\"3\" class=\"location_search_title\">Find Locations Near:<\/td><\/tr>\n\t<tr id='location_search_0_tr' class='location_search_row'>\n\t\t<td class='location_search_street_cell  location_search_cell'>Street: <br \/><input type=\"text\" id=\"location_search_address_field\" name=\"location_search_address\" value=\"\" \/><\/td>\n\t\t<td class='location_search_city_cell  location_search_cell'>City: <br \/><input type=\"text\"  id=\"location_search_city_field\" name=\"location_search_city\" value=\"\" \/><\/td>\n\t\t<td class='location_search_state_cell  location_search_cell'>State: <br \/><input type=\"text\" id=\"location_search_state_field\" name=\"location_search_state\" value=\"\" \/><\/td>\n\t<\/tr> \n\t<tr id='location_search_1_tr' class='location_search_row'>\n\t\t<td class='location_search_zip_cell  location_search_cell'>Zip: <br \/><input type=\"text\" id=\"location_search_zip_field\" name=\"location_search_zip\" value=\"\" \/><\/td>\n\t\t<td class='location_search_empty_cell location_search_cell'><\/td>\n\t\t<td class='location_search_empty_cell location_search_cell'><\/td>\n\t<\/tr> \n\t<tr id='location_search_2_tr' class='location_search_row'>\n\t\t<td class='location_search_distance_cell  location_search_cell'>Select a distance: <\/td>\n\t\t<td id='location_search_distance_fields'><select id=\"location_search_distance_field\" name=\"location_search_distance\" ><option value=\"1\">1 mi<\/option>\n<option value=\"5\">5 mi<\/option>\n<option value=\"10\" selected='selected'>10 mi<\/option>\n<option value=\"25\">25 mi<\/option>\n<option value=\"50\">50 mi<\/option>\n<option value=\"100\">100 mi<\/option>\n<option value=\"500\">500 mi<\/option>\n<option value=\"1000\">1000 mi<\/option>\n<\/select><\/td>\n\t\t<td class='location_search_empty_cell location_search_cell'><\/td>\n\t<\/tr> \n\t<tr id='location_search_3_tr' class='location_search_row'>\n\t\t<td class='location_search_submit_cell  location_search_cell'><input type=\"submit\" value=\"Search\" id=\"location_search_submit_field\" class=\"submit\" \/><\/td>\n\t\t<td class='location_search_empty_cell location_search_cell'><\/td>\n\t\t<td class='location_search_empty_cell location_search_cell'><\/td>\n\t<\/tr><\/table><input type='hidden' id='location_search_default_lat' value='44.968684' \/><input type='hidden' id='location_search_default_lng' value='-93.215561' \/><input type='hidden' id='location_search_limit' value='20' \/><input type='hidden' id='location_is_search_results' name='sm-location-search' value='0' \/><\/form><\/div><div id=\"simplemap-updating\" style=\"height:350px;width:100%;\"><img decoding=\"async\" src=\"https:\/\/footpadcenter.com\/en\/wp-content\/plugins\/simplemap\/inc\/images\/loading.gif\" alt=\"Loading new locations\" \/><\/div><div id=\"simplemap\" style=\"width: 100%; height: 350px;\"><\/div><div id=\"results\" style=\"width: 100%;\"><\/div><script type=\"text\/javascript\">(function($) { jQuery(document).ready(function() {\n\t\t\t\tvar lat = \"44.968684\";\n\t\t\t\tvar lng = \"-93.215561\";\n\t\t\t\tvar aspid = \"0\";\n\t\t\t\tvar ascid = \"0\";\n\t\t\t\tvar asma = \"0\";\n\t\t\t\tvar shortcode_zoom_level = \"10\";\n\t\t\t\tvar map_type = \"ROADMAP\";\n\t\t\t\tvar shortcode_autoload = \"none\";\n\t\t\t\tvar auto_locate = \"\";\n\t\t\t\tvar sm_autolocate_complete = false;\n\t\t\t\tgeocoder = new google.maps.Geocoder();\n\n\t\t\t\tif ( !0 && auto_locate == \"ip\" ) {\n\t\t\t\t\tjQuery.getJSON( \"http:\/\/freegeoip.net\/json\/?callback=?\", function(location) {\n\t\t\t\t\t\tlat = location.latitude;\n\t\t\t\t\t\tlng = location.longitude;\n\n                    \tif ( document.getElementById(\"location_search_city_field\") ) {\n\t\t\t\t\t\t\tdocument.getElementById(\"location_search_city_field\").value = location.city;\n\t\t\t\t\t\t}\n\t                    if ( document.getElementById(\"location_search_country_field\") ) {\n\t\t\t\t\t\t\tdocument.getElementById(\"location_search_country_field\").value = location.country_code;\n\t\t\t\t\t\t}\n        \t            if ( document.getElementById(\"location_search_state_field\") ) {\n\t\t\t\t\t\t\tdocument.getElementById(\"location_search_state_field\").value = location.region_code;\n\t\t\t\t\t\t}\n\t\t\t    if ( document.getElementById(\"location_search_zip_field\") && typeof location.zipcode != \"undefined\" && location.zipcode != \"undefined\" ) {\n\t\t\t\t\t\t\tdocument.getElementById(\"location_search_zip_field\").value = location.zipcode;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif ( document.getElementById(\"location_search_default_lat\" ) ) {\n\t\t\t\t\t\t\tdocument.getElementById(\"location_search_default_lat\").value = lat;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif ( document.getElementById(\"location_search_default_lng\" ) ) {\n\t\t\t\t\t\t\tdocument.getElementById(\"location_search_default_lng\").value = lng;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\tload_simplemap( lat, lng, aspid, ascid, asma, shortcode_zoom_level, map_type, shortcode_autoload );\n\t\t\t\t\/\/searchLocations( 0 );\n\t\t\t\n\t\t\t\t\t\tsearchLocations( 1 );\n\t\t\t\t\t}).error(function() {\n\t\t\t\t\t \t\n\t\t\t\tload_simplemap( lat, lng, aspid, ascid, asma, shortcode_zoom_level, map_type, shortcode_autoload );\n\t\t\t\t\/\/searchLocations( 0 );\n\t\t\t\n\t\t\t\t\t\tsearchLocations( 0 );\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\telse if ( !0 && auto_locate == \"html5\" ) {\n\t\t\t\t\t\/\/ Ugly hack for FireFox \"Not Now\" option\n\t\t\t\t\tsetTimeout(function () { \n\t\t\t\t\t\tif ( sm_autolocate_complete == false ) {\n\t\t\t\t\t\t\t\n\t\t\t\tload_simplemap( lat, lng, aspid, ascid, asma, shortcode_zoom_level, map_type, shortcode_autoload );\n\t\t\t\t\/\/searchLocations( 0 );\n\t\t\t searchLocations( 0 );\n\t\t\t\t\t\t}\n\t\t\t\t\t}, 10000);\n\n\t\t\t\t\tnavigator.geolocation.getCurrentPosition(\n\t\t\t\t\t\tfunction(position) {\n\t\t\t\t\t\t\tlat = position.coords.latitude;\n\t\t\t\t\t\t\tlng = position.coords.longitude;\n\t\t\t\t\t\t\tif ( document.getElementById(\"location_search_default_lat\" ) ) {\n\t\t\t\t\t\t\t\tdocument.getElementById(\"location_search_default_lat\").value = lat;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif ( document.getElementById(\"location_search_default_lng\" ) ) {\n\t\t\t\t\t\t\t\tdocument.getElementById(\"location_search_default_lng\").value = lng;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tsm_autolocate_complete = true;\n\t\t\t\t\t\t\t\n\t\t\t\tload_simplemap( lat, lng, aspid, ascid, asma, shortcode_zoom_level, map_type, shortcode_autoload );\n\t\t\t\t\/\/searchLocations( 0 );\n\t\t\t\n\t\t\t\t\t\t\tsearchLocations( 1 );\n\t\t\t\t\t\t},\n\t\t\t\t\t\tfunction(error) {\n\t\t\t\t\t\t\tsm_autolocate_complete = true;\n\t\t\t\t\t\t\t\n\t\t\t\tload_simplemap( lat, lng, aspid, ascid, asma, shortcode_zoom_level, map_type, shortcode_autoload );\n\t\t\t\t\/\/searchLocations( 0 );\n\t\t\t\n\t\t\t\t\t\t\tsearchLocations( 0 );\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tmaximumAge:300000,\n\t\t\t\t\t\t\ttimeout:5000\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tsm_autolocate_complete = true;\n\t\t\t\t\t\n\t\t\t\tload_simplemap( lat, lng, aspid, ascid, asma, shortcode_zoom_level, map_type, shortcode_autoload );\n\t\t\t\t\/\/searchLocations( 0 );\n\t\t\t\n\t\t\t\t\tsearchLocations( 0 );\n\t\t\t\t}\n\t\t\t});})(jQuery);<\/script>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/footpadcenter.com\/en\/index.php?rest_route=\/wp\/v2\/posts\/1","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/footpadcenter.com\/en\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/footpadcenter.com\/en\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/footpadcenter.com\/en\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/footpadcenter.com\/en\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1"}],"version-history":[{"count":1,"href":"https:\/\/footpadcenter.com\/en\/index.php?rest_route=\/wp\/v2\/posts\/1\/revisions"}],"predecessor-version":[{"id":6,"href":"https:\/\/footpadcenter.com\/en\/index.php?rest_route=\/wp\/v2\/posts\/1\/revisions\/6"}],"wp:attachment":[{"href":"https:\/\/footpadcenter.com\/en\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/footpadcenter.com\/en\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/footpadcenter.com\/en\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}