setDb($DB); $PLG_AREA = new Area(); $PLG_AREA->setDb($DB); $PLG_CITY = new City(); $PLG_CITY->setDb($DB); $PLG_POI = new poi(); $PLG_COMMON = new BaseCommon(); $PLG_REC = new Recommend; $PLG_REC->setDb($DB); $PLG_DDSpot = new DDSpot($CON_DRIVE); $PLG_DDSpot->connect('drive'); $area_id = $CON_PRM->get('area_id'); if(!$area_id){ $CON_CONTENTS->error("エリアを選択していません。","エラー",FALSE,"default",""); } //日時指定 if(isset($_REQUEST["dt"]) && $_REQUEST["dt"]!=""){ //dtの指定があれば、過去や未来の表示が出来る $_dt = $_REQUEST["dt"]; $now = substr($_dt, 0, 4)."-".substr($_dt, 4, 2)."-".substr($_dt, 6, 2)." ".substr($_dt, 8, 2).":".substr($_dt, 10, 2).":".substr($_dt, 12, 2); }else{ $now = date("Y-m-d H:i:s"); } $nowdate = substr($now,0,10); $nowtime = substr($now,11,5); //地域一覧 $district_list = $PLG_AREA->getDistrictList2(); $district_name = $district_list[$area_id]; //スポット一覧 $where = "flg = '0' AND aid2=? AND grid1 in ( '01','02')"; $param = array($area_id); $pref_list = $PLG_DDSpot->getPreflist($where, $param,"pid"); ob_start(); var_export($pref_list); $vals_str = ob_get_contents(); ob_end_clean(); $CON_CONTENTS->SaveDebugString("[都道府県一覧]".$vals_str); $list = $PLG_AREA->getPrefSelect('district_id2=?', array($area_id), 'id'); //データ整形 $total = 0; $pid_counts = array(); for($i=0;$iSaveDebugString("[レジャースポット]".$vals_str); // Recommend $position = 'search_1'; $rec_info_s = $PLG_REC->getRecommendNowAll($position); include './jb/common/gps.model.inc'; レジャースポット/ラブホナビ
XHTML版 HTML版 DebugString
ラブホ・クチコミ情報なら
ラブホナビ
サイトマップへ
レジャースポット

Warning: Undefined variable $district_name in /opt/loveho/web/jb/drive_spot/prefecture.view.inc on line 15


Warning: Undefined variable $total in /opt/loveho/web/jb/drive_spot/prefecture.view.inc on line 16
件のスポットが見つかりました。

Warning: Undefined variable $list in /opt/loveho/web/jb/drive_spot/prefecture.view.inc on line 18

Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /opt/loveho/web/jb/drive_spot/prefecture.view.inc:18 Stack trace: #0 /opt/loveho/web/index.php(256): require_once() #1 {main} thrown in /opt/loveho/web/jb/drive_spot/prefecture.view.inc on line 18