//gyo
//kubun
//kubun2
include "../dbconnect.php";
include "bukken_item.php";
for($cnt = 0;$cnt < count($arr);$cnt++){
if(strstr($arr[$cnt],$_REQUEST["kubun"].":")){
$item = explode(":",$arr[$cnt]);
$DB_vt_name = $item[3];
}
}
if($_REQUEST["kubun"] == "d"){
$_REQUEST["kubun1"] = "a";
}else{
$_REQUEST["kubun1"] = $_REQUEST["kubun"];
}
if($_REQUEST["kubun1"] == "a"){
if($_REQUEST["kubun"] == "d"){
if($_REQUEST["kubun2"]){
$sql = " and kubun1 = '".$_REQUEST["kubun1"]."' and kubun3 = '".$_REQUEST["kubun2"]."'";
}else{
$sql = " and kubun1 = '".$_REQUEST["kubun1"]."' and kubun3 >= '4'";
}
$sql3 = " order by kubun3,kakaku_amt";
}else{
if($_REQUEST["kubun2"]){
$sql = " and kubun1 = '".$_REQUEST["kubun1"]."' and kubun3 = '".$_REQUEST["kubun2"]."'";
}else{
$sql = " and kubun1 = '".$_REQUEST["kubun1"]."' and kubun3 <= '3'";
}
$sql3 = " order by kubun3,kakaku_amt";
}
}else{
if($_REQUEST["kubun2"]){
$sql = " and kubun1 = '".$_REQUEST["kubun1"]."' and kubun2 = '".$_REQUEST["kubun2"]."'";
}else{
$sql = " and kubun1 = '".$_REQUEST["kubun1"]."'";
}
$sql3 = " order by kubun1,kubun2,kakaku_amt";
}
//echo "select * from ".$DB_vt_name." where vender_id = '".$_REQUEST["gyo"]."'".$sql.$sql3;
if(!$listname[$_REQUEST["kubun1"].$_REQUEST["kubun2"]]){
echo "該当ページは存在しておりません、アクセスページをご確認ください。";
exit;
}
?>
$result1 = mysql_query("select * from ".$DB_vt_name." where vender_id = '".$_REQUEST["gyo"]."'".$sql.$sql3);
if($rows1 = mysql_num_rows($result1)){
while($arr = mysql_fetch_array($result1)){
include($_SERVER["DOCUMENT_ROOT"]."/pro/bukken_henkan.php");
$bukkenlist = str_replace("##img##",$koushin,$datalist[$arr["kubun1"]]);
$bukkenlist = str_replace("##address##",$disp["address_bukken"],$bukkenlist);
$bukkenlist = str_replace("##kakaku##",$disp["kakaku"],$bukkenlist);
$bukkenlist = str_replace("##tubotanka##",$disp["tsubotanka_amt"],$bukkenlist);
$bukkenlist = str_replace("##landm2##",$disp["land_m2"],$bukkenlist);
$bukkenlist = str_replace("##landtubo##",$disp["land_tsubo"],$bukkenlist);
$bukkenlist = str_replace("##chimoku##",$disp["land_chimoku"],$bukkenlist);
$bukkenlist = str_replace("##mansenyum2##",$disp["man_senyu_m2"],$bukkenlist);
$bukkenlist = str_replace("##bldgm2##",$disp["bldg_m2"],$bukkenlist);
$bukkenlist = str_replace("##bldgtubo##",$disp["bldg_tubo"],$bukkenlist);
$bukkenlist = str_replace("##setsubi##",$disp["parking_facility"],$bukkenlist);
$bukkenlist = str_replace("##officem2##",$disp["office_m2"],$bukkenlist);
$bukkenlist = str_replace("##officetubo##",$disp["office_tubo"],$bukkenlist);
$bukkenlist = str_replace("##hosho##",$disp["hosho"],$bukkenlist);
$bukkenlist = str_replace("##floorno##",$disp["floor_no"],$bukkenlist);
$bukkenlist = str_replace("##parking##",$disp["parking"],$bukkenlist);
$bukkenlist = str_replace("##reikin##ヶ月",$disp["reikin_month"],$bukkenlist);
$bukkenlist = str_replace("##shikkin##ヶ月",$disp["shikkin_month"],$bukkenlist);
$bukkenlist = str_replace("##pr##",$disp["pr"],$bukkenlist);
$bukkenlist = str_replace("##madori##",$disp["room"],$bukkenlist);
$bukkenlist = str_replace("##torihiki##",$disp["torihiki_kubun"],$bukkenlist);
$bukkenlist = str_replace("##kansei##",$disp["kansei"],$bukkenlist);
$bukkenlist = str_replace("##tesuryo##",$disp["tesuryo_kubun"],$bukkenlist);
$bukkenlist = str_replace("##movein##",$disp["movein"],$bukkenlist);
$bukkenlist = str_replace("##yotochiiki##",$disp["land_yotochiiki"],$bukkenlist);
if($arr[imgflg_p1] or $arr[imgflg_p2] or $arr["imgflg_kukaku1"] or $arr["imgflg_madori1"] or $arr["imgflg_annnai1"]){
if($arr[imgflg_p1]){
$vimg = $henkan_domain."/henkan.php?img=".$image_domain."/".substr($arr["imgname_p1"],0,4)."/".$arr["imgname_p1"];
}else if($arr["imgflg_p2"]){
$vimg = $henkan_domain."/henkan.php?img=".$image_domain."/".substr($arr["imgname_p2"],0,4)."/".$arr["imgname_p2"];
}else if($arr["imgflg_kukaku1"]){
$vimg = $henkan_domain."/henkan.php?img=".$image_domain."/".substr($arr["imgname_kukaku1"],0,4)."/".$arr["imgname_kukaku1"];
}else if($arr["imgflg_madori1"]){
$vimg = $henkan_domain."/henkan.php?img=".$image_domain."/".substr($arr["imgname_madori1"],0,4)."/".$arr["imgname_madori1"];
}else if($arr["imgflg_annnai1"]){
$vimg = $henkan_domain."/henkan.php?img=".$image_domain."/".substr($arr["imgname_annnai1"],0,4)."/".$arr["imgname_annnai1"];
}
} else {
// $vimg = $domain."/images/noimage.jpg";
}
if($vimg){
$vimg = "
";
}
$bukkenlist = str_replace("##vimg##",$vimg,$bukkenlist);
$bukkenlist = str_replace(">万円","",$bukkenlist);
$bukkenlist = str_replace(">m
2","",$bukkenlist);
$bukkenlist = str_replace(" 坪","",$bukkenlist);
$bukkenlist = str_replace("
(坪)","",$bukkenlist);
$bukkenlist = str_replace("##url##","
詳
細",$bukkenlist);
$allkubun = $_REQUEST["kubun"].$arr["kubun2"].$arr["kubun3"];
if(!$_REQUEST["kubun2"]){
$allkubun = $_REQUEST["kubun"];
}
$klist[$allkubun] .= $bukkenlist;
$vender_name = $arr["vender_name"];
}
while(list ($key, $val) = each ($klist)) {
$alldata .= str_replace("##vender_name##",$vender_name,$datatop[$key])."".$val."".$datadown[substr($key,0,1)];
}
echo $alldata;
?>
}else{
?>
Notice: Undefined index: kubun1 in /var/www/html/pro/taiken/list.php on line 128
Notice: Undefined index: kubun2 in /var/www/html/pro/taiken/list.php on line 128
Notice: Undefined variable: listname in /var/www/html/pro/taiken/list.php on line 128
Notice: Trying to access array offset on value of type null in /var/www/html/pro/taiken/list.php on line 128
該当物件が見つかりませんでした。
}
?>