"; //sleep(10); $suma=$ob_cambiar->visit+$numero; $modificar=mysql_query("UPDATE Rankup_budongsan_mamul SET visit='$suma' WHERE no='$ob_cambiar->no'")or die("No se pudo"); $modifcar_=mysql_query("UPDATE Rankup_budongsan_admin SET activa='0'")or die("No se pudo"); } } if($budongsan_id) { if($Sqlrows[type] == 'Y') { $hot_image = ($check_Row[hot_J]=='N')?"":""; $chu_image = ($check_Row[chu_J]=='N')?"":""; $pre_image = ($check_Row[pre_J]=='N')?"":""; $spe_image = ($check_Row[spe_J]=='N')?"":""; $foc_image = ($check_Row[foc_J]=='N')?"":""; } else { $hot_image = ($check_Row[hot]=='N')?"":""; $chu_image = ($check_Row[chu]=='N')?"":""; $pre_image = ($check_Row[pre]=='N')?"":""; $spe_image = ($check_Row[spe]=='N')?"":""; $foc_image = ($check_Row[foc]=='N')?"":""; } } else { $hot_image = ($check_Row[hot]=='N')?"":""; $chu_image = ($check_Row[chu]=='N')?"":""; $pre_image = ($check_Row[pre]=='N')?"":""; $spe_image = ($check_Row[spe]=='N')?"":""; $foc_image = ($check_Row[foc]=='N')?"":""; } //---------------------------------------------------------------------------------------------------------// //----------------------------------------------------------------------------------------------------// $gaesu_sel = "select * from $gaesucode"; $gaesu_sel = mysql_query($gaesu_sel); $gaesu_Row = mysql_fetch_array($gaesu_sel); //----------------------------------------------------------------------------------------------------// include '../Libs/page1.php'; $scale1 = 10; $start_q1 = $scale1 * ($cpage1 - 1); //Z $start_q2 = $scale1 * ($cpage2 - 1); //Z $expiry_now = date("Y-m-d"); //-----------------------------------------------------------------------------------------------// $foc_sel = "select * from $mamulcode where mamultype='foc' and expiry>='$expiry_now' and gong='Y' order by rand(), expiry desc limit 0,2"; $foc_sel = mysql_query($foc_sel); //-----------------------------------------------------------------------------------------------// //---------------------------------------------- -----------------------------------------------// $spe_sel = "select * from $mamulcode where mamultype='spe' and expiry >='$expiry_now' and gong='Y' order by wdate desc limit $start_q1, $gaesu_Row[spe]"; $spe_sel = mysql_query($spe_sel); $spe_All = "select count(no) from $mamulcode where mamultype='spe' and expiry >='$expiry_now' and gong='Y'"; $spe_All = mysql_query($spe_All); $spe_All = mysql_fetch_array($spe_All); //---------------------------------------------------------------------------------------------// //---------------------------------------------?---------------------------------------------------------// $hot_sel = "select * from $mamulcode where mamultype='hot' and expiry >= '$expiry_now' and gong='Y' order by updexpiry desc, no desc limit $gaesu_Row[hot]"; $hot_sel = mysql_query($hot_sel); $hot_gaesu = ceil($gaesu_Row[hot]/5); //---------------------------------------------?Z ---------------------------------------------------------// //-----------------------------------------------------------------------------------------------// $queQuery = "select mamultype, count(mamultype) as mamulnum from Rankup_budongsan_mamul where expiry >= curdate() and gong='Y' group by mamultype desc"; $queQue = mysql_query($queQuery); for($j=0; $j < $querow = mysql_fetch_array($queQue); $j++) { $$querow[mamultype] = $querow[mamulnum]; } //------------------------------------------------------------------------------------------------// ?>
"; } else { switch($hot_Row[gubun1]) { case '?': $image = ""; break; case '': $image = ""; break; case '': $image = ""; break; default: $image = ""; break; } //-----------------------------------------// if(stristr($hot_Row[address1],"/")) { $area = explode("/",$hot_Row[address1]); $area_sido = explode("-",$area[0]); $area_gugun = explode("-",$area[1]); $area_dong = explode("-",$area[2]); $sell_address = $area_sido[2]." ".$area_gugun[2]; } else { $dongdong = explode(" ",$hot_Row[address1]); $sell_address = $dongdong[0]."  ".$dongdong[1]; } //------------------?----------------------// $hot_address = explode(" ",$hot_Row[address1]); ?>
":"$image"?>
[]
$sell_address":""?>
[ $foc_Row[gubun2] / $foc_Row[type] ] Precio: $$sell_pay Área: $foc_Row[pyong] m² ";?>
 

$item_view) { if($spe_Row[itemcheck] == 'Y') { $itemimage = " "; } else { $itemimage = ""; } if($spe_Row[boldcheck] == 'Y') { $boldstart = ""; $boldend = ""; } else { $boldstart = ""; $boldend = ""; } } else { $itemimage = ""; $boldstart = ""; $boldend = ""; } $namesss = explode("-",$spe_Row[name]); $brsel = ($namesss[0] != "" || $namesss[0]!=null)?" ":""; $nameview = "[".$spe_Row[gubun2]."]"; //----------------------------------------------------------------------------// ?>
Dirección Inmueble Operación Dimensión Precio Fecha
  $
 
print_main_go();?>
 
> |