include_once "../phpinc/text.inc"; include_once "../phpinc/config.inc"; ?>
echo $sEmailTishi1; ?> echo $sEmailTishi2; ?> if ( $_REQUEST['type'] == TBL_BIESHU ) // 1 $sTable = "tbl_bieshu"; if ( $_REQUEST['type'] == TBL_TUDI ) // 2 $sTable = "tbl_tudi"; if ( $_REQUEST['type'] == TBL_GONGYU ) // 3 $sTable = "tbl_gongyu"; if ( $_REQUEST['type'] == TBL_ZULIN ) // 4 $sTable = "tbl_zulin"; if ( $_REQUEST['type'] == TBL_BANGONG ) // 5 $sTable = "tbl_bangong"; $sType = str_replace("tbl_", "", $sTable); if ( $_REQUEST['id'] ) $sqlSelInfo = "select * from ".$sTable." where col_seqid=".$_GET['id']; if ( sizeof($_REQUEST['col_qingqiu']) ) { $sTmp = "("; for ( $i = 0; $i < sizeof($_REQUEST['col_qingqiu']); $i++ ) { $sTmp .= $_REQUEST['col_qingqiu'][$i].","; } $sTmp .= ")"; $sTmp = str_replace(",)", ")", $sTmp); $sqlSelInfo = "select * from ".$sTable." where col_seqid in ".$sTmp; } $arrSelInfoResult = $obj_sFunc->class_db_select($sqlSelInfo); $sCp = ""; $sWujianFanhao = ""; $sMail = ""; for ( $i = 0; $i < sizeof($arrSelInfoResult); $i++ ) { if ( $_REQUEST['type'] == 1 ) { $sHaoma = "K"; $sWuyeType = "一戸建"; } if ( $_REQUEST['type'] == 2 ) { $sHaoma = "T"; $sWuyeType = "土地"; } if ( $_REQUEST['type'] == 3 ) { $sHaoma = "M"; $sWuyeType = "マンション"; } if ( $_REQUEST['type'] == 4 ) { $sHaoma = "R"; $sWuyeType = "賃貸"; } if ( $_REQUEST['type'] == 5 ) { $sHaoma = "J"; $sWuyeType = "事業用"; } if ( $arrSelInfoResult[$i]['col_area'] < 10 ) $iArea = "0".$arrSelInfoResult[$i]['col_area']; else $iArea = $arrSelInfoResult[$i]['col_area']; if ( $arrSelInfoResult[$i]['col_xuequ'] < 10 ) $iXuequ = "0".$arrSelInfoResult[$i]['col_xuequ']; else $iXuequ = $arrSelInfoResult[$i]['col_xuequ']; if ( $arrSelInfoResult[$i]['col_seqid'] < 10 ) $iId = "00".$arrSelInfoResult[$i]['col_seqid']; elseif ( ($arrSelInfoResult[$i]['col_seqid'] < 100) && ($arrSelInfoResult[$i]['col_seqid'] >= 10) ) $iId = "0".$arrSelInfoResult[$i]['col_seqid']; else $iId = $arrSelInfoResult[$i]['col_seqid']; $sHaoma .= $iArea."-".$iXuequ."-".$iId; if ( ($i % 3) || ($i == 0) ) $sWujianFanhao .= $sHaoma." "; else $sWujianFanhao .= $sHaoma." "; if ( $_REQUEST['type'] == 4 ) { $sDanwei = $sMoneyYuan; $sShowJiage = $arrSelInfoResult[$i]['col_linliao']; } else { $sShowJiage = $arrSelInfoResult[$i]['col_jiage']; $sDanwei = $sMoney; } if ( $_REQUEST['type'] == 5 ) { if (!empty($arrSelInfoResult[$i]['col_line2'])){ $iLuxian = $arrSelInfoResult[$i]['col_line2']; $line = $iLuxian."線"; } else { $iLuxian = $arrSelInfoResult[$i]['col_xianlu']; $line = $arrLuxianSimple[$iLuxian]; } if (!empty($arrSelInfoResult[$i]['col_station2'])){ $iZhantou = $arrSelInfoResult[$i]['col_station2']; $station = $iZhantou."駅"; } else { $iZhantou = $arrSelInfoResult[$i]['col_zhantou']; $station = $arrZhantai[$arrSelInfoResult[$i]['col_xianlu']][$arrSelInfoResult[$i]['col_zhantou']]; } } else { $line = $arrLuxianSimple[$arrSelInfoResult[$i]['col_xianlu']]; $station = $arrZhantai[$arrSelInfoResult[$i]['col_xianlu']][$arrSelInfoResult[$i]['col_zhantou']]; } $sMail .= $station." ".$sShowJiage.$sDanwei." ■".$sZhongbie.":".$sWuyeType." ■".$sJiaotong.":".$line."−".$station." ".$arrSelInfoResult[$i]['col_jiaotong']." ■".$sSuozaidi.":".$arrSelInfoResult[$i]['col_dizhi']." ■".$sWupinBianhao.":".$sHaoma."\n"; echo "
"; } ?> |