0){ $MyData = mysql_fetch_object($MyResult); $s=$MyData->sid;$d=$MyData->bukken_id; mysql_free_result($MyResult); //===========カウンター include("../estate_modules/parts_counter.php"); //=========== //===建物コード======== $T_TAGS=""; //=========== $ST_TXT=""; $MyR1rr=$MyR1."rr"; $ST_Q="SELECT * FROM $MyR1rr LEFT JOIN rr_station ON $MyR1rr.station_cd=rr_station.station_cd WHERE sid='$MyData->sid'"; $MyResultST = mysql_query($ST_Q, $MyLink); while($MyDataST = mysql_fetch_object($MyResultST)) { $line_view_name=''; $LINEQ = "SELECT line_name FROM rr_line WHERE line_cd = '$MyDataST->line_cd'"; $MyResultL = mysql_query($LINEQ, $MyLink); if(mysql_num_rows($MyResultL)>0){ $MyDataLine = mysql_fetch_object($MyResultL); $line_view_name = $MyDataLine->line_name; } $ST_TXT.=$line_view_name." ".$MyDataST->station_name."駅/徒歩".$MyDataST->toho_time."分
"; } mysql_free_result($MyResultST); mysql_close($MyLink); include("../estate_modules/parts_history_back.php"); $TO_MEMO_CLICK=""; $BUKKEN_MEISHO="駐車場"; $Contents_tags.="
"; $r_smarty = new Smarty; $r_smarty->assign("MyData",$MyData); $r_smarty->assign("BUKKEN_MEISHO",$BUKKEN_MEISHO); $r_smarty->assign("TO_MEMO_CLICK",$TO_MEMO_CLICK); $r_smarty->assign("T_TAGS",$T_TAGS); $r_smarty->assign("EN_HYOUJI",$EN_HYOUJI_r4); $r_smarty->assign("EN_THYOUJI",@$EN_THYOUJI_r4); $r_smarty->assign("TODOUFUKEN",$KEN_NAME[$MyData->ken_id]); $r_smarty->assign("MOYORIEKI",$ST_TXT); $r_smarty->assign("TORIHIKI_TAIYOU_ARR",$TORIHIKI_TAIYOU_ARR[$MyData->torihiki_taiyou]); $no_a=array_search($MyData->my_area_id,$MY_SELECT_AREA_NO); $r_smarty->assign("SELTAG2",$MY_SELECT_AREA_NAME[$no_a]); $r_smarty->assign("KANOUBI_TXT",nyuukyo_kanoubi($MyData->nyuukyo_kanoubi)); $r_smarty->assign("category",$CATEGORY_INC_ARR[$DO_F_NUM][$MyData->category]); //こだわり検索表示 include("../estate_modules/parts_kodawari_review.php"); //===img include("../estate_modules/parts_ajax_img.php"); //=== include("../estate_modules/parts_shiten_joho.php"); //=== $GAKKOUKU=""; include("../estate_modules/parts_gakkouku.php"); $r_smarty->assign("GAKKOUKU",$GAKKOUKU); //=== $A4PDF=""; include("../estate_modules/parts_pdf.php"); $r_smarty->assign("pPDF",$A4PDF); //=== $r_smarty->assign("img_main",$img_tags); $r_smarty->assign("img_main_haichi",$img_main_haichi); $r_smarty->assign("img_main_map",$img_main_map); $r_smarty->assign("img_sample",$img_sample); $r_smarty->assign("Shiten_Tags",$Shiten_Tags); include("../estate_modules/parts_google_script.php"); $r_smarty->assign("GOOGLE_SCRIPT",$GOOGLE_SCRIPT); $Contents_tags.=$r_smarty->fetch("/Users/estate/Sites/estate/templates/".$DO_F_NUM."_review.html"); //=========== $CONTENTS=$Contents_tags; $CONTENTS_LAYTYPE='2';$SUB_CONTENTS=""; if(file_exists("../estate_inc/top_contents_type.php")){include_once("../estate_inc/top_contents_type.php");} //include("../estate_modules/parts_contents_all.php"); include("../estate_modules/side_sub_contents.php"); $c_smarty = new Smarty; $c_smarty->assign("C_MAIN",$CONTENTS); $c_smarty->assign("C_SUB",$SUB_CONTENTS); $CONTENTS_ALL=$c_smarty->fetch("/Users/estate/Sites/_format/contentstype/type_".$CONTENTS_LAYTYPE.".html"); //=========== }else{$CONTENTS_ALL="";$INCLUDE_SCRIPT_FILE="";} //=========== $MMENU="search";$MODE="estate_rent/".$DO_F_NUM."v.php"; $MAIN_MENU=MAIN_MENU($MMENU); include("../estate_modules/parts_after_script.php"); if(file_exists($DIR_PATH."estate_inc/ori.css")){$INCLUDE_STYLE_FILE.='';} $CHANGEWIDTH=""; if(file_exists($DIR_PATH."estate_inc/inc_master_width.php")){include($DIR_PATH."estate_inc/inc_master_width.php"); if($MASTER_FORMAT_WIDTH=="980"){$CHANGEWIDTH=$MASTER_FORMAT_WIDTH;}else{$CHANGEWIDTH="";}}else{$CHANGEWIDTH="";} //=========== $z_smarty = new Smarty; $z_smarty->assign("SITE_TITLE",SITE_TITLE("../")); $z_smarty->assign("Contents",$CONTENTS_ALL); $z_smarty->assign("Header",HEADER_TXT("../")); $z_smarty->assign("INCLUDE_SCRIPT_FILE",$INCLUDE_SCRIPT_FILE); $z_smarty->assign("INCLUDE_SCRIPT_TAGS",$INCLUDE_SCRIPT_TAGS); $z_smarty->assign("INCLUDE_STYLE_FILE",$INCLUDE_STYLE_FILE); $z_smarty->assign("HEADER_TOP_MEMO",HEADER_TOP_MEMO("../")); $z_smarty->assign("MAIN_MENU",$MAIN_MENU); $z_smarty->assign("Footer",FOOTER("../estate_inc/footer.txt")); $z_smarty->assign("Google_Analytics",Google_Analytics($DIR_PATH)); $z_smarty->display("/Users/estate/Sites/_format/".$MASTER_FORMAT."/index".$CHANGEWIDTH.".html"); //=========== ?>