現在地から検索
var geolat = 34.702495; var geolng = 135.495951; /*-------------------------------------------*/ /* 位置情報取得 /*-------------------------------------------*/ jQuery(document).ready(function(jQuery){ function get_gps(){ if (navigator.geolocation) { // Geolocationが使える場合 // 現在の位置情報を取得 navigator.geolocation.getCurrentPosition( // (1)位置情報取得に成功したとき function (position) { lat= position.coords.latitude; lng= position.coords.longitude; location.href=" /geo/?lat=" + lat + "&lng=" + lng; }, // (2)位置情報の取得に失敗した場合 function (error) { window.alert("位置情報の取得ができませんでした。"); } // function (error) ); } else { // Geolocationが使えない場合 window.alert("このブラウザでは位置情報が取得出来ないためご利用できません。"); } } // get_gps // ボタンがクリックされたら jQuery('a#nearbyBtn').click(function(){ // 位置情報取得の処理を実行 get_gps(); }); });
エリアから検索
北海道・東北エリア
-
‘DESC’,
-
-
‘DESC’,
-
-
‘DESC’,
-
-
‘DESC’,
-
-
‘DESC’,
-
-
‘DESC’,
-
-
‘DESC’,
-
-
‘DESC’,
-
-
‘DESC’,
-
unchique
‘orderby’ => ‘count’,
‘parent’ => ‘524’,
‘hide_empty’=> ‘0’,
);
$categories = get_categories($args);
foreach($categories as $category) {
echo ‘ -
‘orderby’ => ‘count’,
‘parent’ => ‘533’,
‘hide_empty’=> ‘0’,
);
$categories = get_categories($args);
foreach($categories as $category) {
echo ‘ -
‘orderby’ => ‘count’,
‘parent’ => ‘326’,
‘hide_empty’=> ‘0’,
);
$categories = get_categories($args);
foreach($categories as $category) {
echo ‘ -
‘orderby’ => ‘count’,
‘parent’ => ‘280’,
‘hide_empty’=> ‘0’,
);
$categories = get_categories($args);
foreach($categories as $category) {
echo ‘ -
‘orderby’ => ‘count’,
‘parent’ => ‘375’,
‘hide_empty’=> ‘0’,
);
$categories = get_categories($args);
foreach($categories as $category) {
echo ‘ -
‘orderby’ => ‘count’,
‘parent’ => ‘357’,
‘hide_empty’=> ‘0’,
);
$categories = get_categories($args);
foreach($categories as $category) {
echo ‘ -
‘orderby’ => ‘count’,
‘parent’ => ‘435’,
‘hide_empty’=> ‘0’,
);
$categories = get_categories($args);
foreach($categories as $category) {
echo ‘ -
‘orderby’ => ‘count’,
‘parent’ => ‘427’,
‘hide_empty’=> ‘0’,
);
$categories = get_categories($args);
foreach($categories as $category) {
echo ‘ -
‘orderby’ => ‘count’,
‘parent’ => ‘689’,
‘hide_empty’=> ‘0’,
);
$categories = get_categories($args);
foreach($categories as $category) {
echo ‘
