10) { $startBlockPage = floor(($startPage - 1) / 10) * 10 + 1; $prevBlockPage = $startBlockPage - 1; $nextBlockPage = $startBlockPage + 10; } else { $startBlockPage = 1; } $PageLinks = null; $PageLinks = "
"; // 쿼리 시작 $Products["idx"] = NULL; $Products["order_seq"] = NULL; $Products["name"] = NULL; $Products["hidden"] = NULL; $Products["photo_title1"] = NULL; $Products["photo_title2"] = NULL; $Products["photo_title3"] = NULL; $Products["photo_title4"] = NULL; $Products["photo_title5"] = NULL; $Products["status1"] = NULL; $Products["status2"] = NULL; $Products["status3"] = NULL; $Products["status4"] = NULL; $Products["con_text"] = NULL; $Products["memo"] = NULL; $Products["hyun_addr"] = NULL; $Products["scale"] = NULL; $Products["surface"] = NULL; $Products["households"] = NULL; $Products["sale_date"] = NULL; $Products["into_date"] = NULL; $Products["percent"] = NULL; $Products["phone"] = NULL; $Query = " SELECT " . selectQuery($Products, "con"); $Query .= " FROM con"; $Query .= " where 1"; $Query .= " and hidden = 'no'"; $Query .= " and (status1 = 'y' || status2 = 'y' || status3 = 'y')"; $Query .= " order by order_seq asc"; $Query .= " LIMIT $startNo, $ViewPerPage"; //echo $Query ; $cnn = sql_query($Query); while($rst = sql_fetch_array($cnn)) { $rst["status"]=null; $rst["style"]=null; if($rst["status1"]=='y') {$rst["status"] = "분양예정"; $rst["style"] = "pre";} if($rst["status2"]=='y') {$rst["status"] = "분양중"; $rst["style"] = "ing";} if($rst["status3"]=='y') {$rst["status"] = "분양완료"; $rst["style"] = "end";} $Records[] = $rst; } include "./_header.php"; ?>

분양단지

  • ">

    • 위치
    • 세대수
    • 주택형
    • 규모
    • 문의">
    • 홈페이지