/s", $contents, $match); if(isset($match[0])) $contents = str_replace($match[0], "", $contents); $nowCreateno = ((isset($match[1]))?$match[1]:""); // タイトルの抽出 preg_match("/<\!--title\[(.+)\]title-->/s", $contents, $match); if(isset($match[0])) $contents = str_replace($match[0], "", $contents); $title = ((isset($match[1]))?$match[1]:""); // メイン画像の抽出 preg_match("/<\!--mainImg\[(.+)\]mainImg-->/s", $contents, $match); if(isset($match[0])) $contents = str_replace($match[0], "", $contents); $mainImg = ((isset($match[1]))?$match[1]:""); // コメントの抽出 preg_match("/<\!--comment\[(.+)\]comment-->/s", $contents, $match); if(isset($match[0])) $contents = str_replace($match[0], "", $contents); $comment = ((isset($match[1]))?$match[1]:""); // エリアの抽出 preg_match("/<\!--area\[(.+)\]area-->/s", $contents, $match); if(isset($match[0])) $contents = str_replace($match[0], "", $contents); $area = ((isset($match[1]))?$match[1]:""); $smarty->assign("CMS_contents", $contents); $smarty->assign("CMS_createno", $nowCreateno); $smarty->assign("CMS_mainImg", $mainImg); $smarty->assign("CMS_comment", $comment); $smarty->assign("CMS_title", $title); // エリアを元に、同一エリアの別コンテンツ情報を表示 if (!empty($area)) { // // Photographer Gallery(アマ) // ################################################################################### # Photographer Gallery(アマ) 記事詳細内一覧(複数コンテンツ共用) F220 T04 ################################################################################### $includid = "qjPStWqO"; $cms_mode = "list_new"; $docuroot=$_SERVER["DOCUMENT_ROOT"]; require_once($docuroot."/camel/include.php");require($docuroot."/camel/getCamel.php"); // 任意の値を渡す場合はこのラインより下に記述-------------------------------------- $etc .= "&USE_VL_AUTO"; // 使用VL番号の自動定義 $etc .= "&ALLUSER"; // 全ユーザーの情報を取得 $etc .= "&ACTVUSER"; // 有効なユーザーの記事のみ取得 $etc .= "&IMGSIZE"; // 画像サイズを追加取得 $etc .= "&RNDM"; // ランダム表示 // エリアによる抽出 $etc .= "&KWCOL01=vl011&KW01=".urlencode($area); // 現在表示している記事は除外 $etc .= "&CNNOTIN=".urlencode($nowCreateno); // プレビュー無効 $viewmode = ""; $usercode = ""; $formcode = ""; ################################################################################### ob_start(); fncGetCamel(HOSTNAME,"http://".HOSTNAME."/cms/view/?ID={$includid}&UC={$usercode}&FC={$formcode}&CN={$createno}&VM={$viewmode}&KW={$targtkwd}&PN={$page_num}&AM={$acvmonth}&AY={$acv_year}&AD={$acv__day}{$sess__id}&PS={$php_self}&LMT={$limitnum}&ODR={$ordercol}&ASC={$orderasc}{$acc}{$etc}",10,0,$docuroot."/camel/err_msg.html",""); $contents = ob_get_clean(); $smarty->assign("CMS_nearAmaPhoto_contents", $contents); // // Mt.FUJI View SPOT! // // エリア変換 $searchArea = array(); foreach($gallery_amaAreaMatchList["viewspot"] as $key => $value){ if (in_array($area, $value)) $searchArea[] = $key; } ################################################################################### # Mt.FUJI View SPOT! 記事詳細内一覧(複数コンテンツ共用) F200 T04 ################################################################################### $includid = "m7zTkaC7"; $cms_mode = "list_new"; $docuroot=$_SERVER["DOCUMENT_ROOT"]; require_once($docuroot."/camel/include.php");require($docuroot."/camel/getCamel.php"); // 任意の値を渡す場合はこのラインより下に記述-------------------------------------- $etc .= "&USE_VL_AUTO"; // 使用VL番号の自動定義 $etc .= "&ALLUSER"; // 全ユーザーの情報を取得 $etc .= "&ACTVUSER"; // 有効なユーザーの記事のみ取得 $etc .= "&IMGSIZE"; // 画像サイズを追加取得 $etc .= "&RNDM"; // ランダム表示 // エリアによる抽出 $etc .= "&KWCOL01=vl011&KW01=".urlencode(implode("|", $searchArea)); // プレビュー無効 $viewmode = ""; $usercode = ""; $formcode = ""; ################################################################################### ob_start(); fncGetCamel(HOSTNAME,"http://".HOSTNAME."/cms/view/?ID={$includid}&UC={$usercode}&FC={$formcode}&CN={$createno}&VM={$viewmode}&KW={$targtkwd}&PN={$page_num}&AM={$acvmonth}&AY={$acv_year}&AD={$acv__day}{$sess__id}&PS={$php_self}&LMT={$limitnum}&ODR={$ordercol}&ASC={$orderasc}{$acc}{$etc}",10,0,$docuroot."/camel/err_msg.html",""); $contents = ob_get_clean(); $smarty->assign("CMS_nearSpot_contents", $contents); // // 観光 // // エリア変換 $searchArea = array(); foreach($gallery_amaAreaMatchList["play"] as $key => $value){ if (in_array($area, $value)) $searchArea[] = $key; } ################################################################################### # 観光 記事詳細内一覧(複数コンテンツ共用) F300 T04 ################################################################################### $includid = "o6OGXDIL"; $cms_mode = "list_new"; $docuroot=$_SERVER["DOCUMENT_ROOT"]; require_once($docuroot."/camel/include.php");require($docuroot."/camel/getCamel.php"); // 任意の値を渡す場合はこのラインより下に記述-------------------------------------- $etc .= "&USE_VL_AUTO"; // 使用VL番号の自動定義 $etc .= "&ALLUSER"; // 全ユーザーの情報を取得 $etc .= "&ACTVUSER"; // 有効なユーザーの記事のみ取得 $etc .= "&IMGSIZE"; // 画像サイズを追加取得 $etc .= "&RNDM"; // ランダム表示 // エリアによる抽出 $etc .= "&KWCOL01=vl011&KW01=".urlencode(implode("|", $searchArea)); // プレビュー無効 $viewmode = ""; $usercode = ""; $formcode = ""; ################################################################################### ob_start(); fncGetCamel(HOSTNAME,"http://".HOSTNAME."/cms/view/?ID={$includid}&UC={$usercode}&FC={$formcode}&CN={$createno}&VM={$viewmode}&KW={$targtkwd}&PN={$page_num}&AM={$acvmonth}&AY={$acv_year}&AD={$acv__day}{$sess__id}&PS={$php_self}&LMT={$limitnum}&ODR={$ordercol}&ASC={$orderasc}{$acc}{$etc}",10,0,$docuroot."/camel/err_msg.html",""); $contents = ob_get_clean(); $smarty->assign("CMS_nearPlaySpot_contents", $contents); // // 体験 // // エリア変換 $searchArea = array(); foreach($gallery_amaAreaMatchList["play"] as $key => $value){ if (in_array($area, $value)) $searchArea[] = $key; } ################################################################################### # 体験 記事詳細内一覧(複数コンテンツ共用) F600 T04 ################################################################################### $includid = "Px7BFVwU"; $cms_mode = "list_new"; $docuroot=$_SERVER["DOCUMENT_ROOT"]; require_once($docuroot."/camel/include.php");require($docuroot."/camel/getCamel.php"); // 任意の値を渡す場合はこのラインより下に記述-------------------------------------- $etc .= "&USE_VL_AUTO"; // 使用VL番号の自動定義 $etc .= "&ALLUSER"; // 全ユーザーの情報を取得 $etc .= "&ACTVUSER"; // 有効なユーザーの記事のみ取得 $etc .= "&IMGSIZE"; // 画像サイズを追加取得 $etc .= "&RNDM"; // ランダム表示 // エリアによる抽出 $etc .= "&KWCOL01=vl011&KW01=".urlencode(implode("|", $searchArea)); // プレビュー無効 $viewmode = ""; $usercode = ""; $formcode = ""; ################################################################################### ob_start(); fncGetCamel(HOSTNAME,"http://".HOSTNAME."/cms/view/?ID={$includid}&UC={$usercode}&FC={$formcode}&CN={$createno}&VM={$viewmode}&KW={$targtkwd}&PN={$page_num}&AM={$acvmonth}&AY={$acv_year}&AD={$acv__day}{$sess__id}&PS={$php_self}&LMT={$limitnum}&ODR={$ordercol}&ASC={$orderasc}{$acc}{$etc}",10,0,$docuroot."/camel/err_msg.html",""); $contents = ob_get_clean(); $smarty->assign("CMS_nearExperienceSpot_contents", $contents); // // グルメコンテンツ // // エリア変換 $searchArea = array(); foreach($gallery_amaAreaMatchList["gourmet"] as $key => $value){ if (in_array($area, $value)) $searchArea[] = $key; } ################################################################################### # グルメコンテンツ 記事詳細内一覧(複数コンテンツ共用) F100 T07 ################################################################################### $includid = "bDwwWejf"; $cms_mode = "list_new"; $docuroot=$_SERVER["DOCUMENT_ROOT"]; require_once($docuroot."/camel/include.php");require($docuroot."/camel/getCamel.php"); // 任意の値を渡す場合はこのラインより下に記述-------------------------------------- $etc .= "&USE_VL_AUTO"; // 使用VL番号の自動定義 $etc .= "&ALLUSER"; // 全ユーザーの情報を取得 $etc .= "&ACTVUSER"; // 有効なユーザーの記事のみ取得 $etc .= "&IMGSIZE"; // 画像サイズを追加取得 $etc .= "&RNDM"; // ランダム表示 // エリアによる抽出 $etc .= "&KWCOL01=vl011&KW01=".urlencode(implode("|", $searchArea)); // プレビュー無効 $viewmode = ""; $usercode = ""; $formcode = ""; ################################################################################### ob_start(); fncGetCamel(HOSTNAME,"http://".HOSTNAME."/cms/view/?ID={$includid}&UC={$usercode}&FC={$formcode}&CN={$createno}&VM={$viewmode}&KW={$targtkwd}&PN={$page_num}&AM={$acvmonth}&AY={$acv_year}&AD={$acv__day}{$sess__id}&PS={$php_self}&LMT={$limitnum}&ODR={$ordercol}&ASC={$orderasc}{$acc}{$etc}",10,0,$docuroot."/camel/err_msg.html",""); $contents = ob_get_clean(); $smarty->assign("CMS_nearGourmetShop_contents", $contents); } // 表示 $smarty->display(getSmartySubDir() . "mtfuji/gallery_ama/detail.tpl"); ?>