= 1) ) { if ( is_float($elementInfo["curOrderPriceFrom"]) || is_numeric($elementInfo["curOrderPriceFrom"]) ) { $strWhere .= " and curLocationFrom" . $elementInfo["lngOrderApartmentRooms"] . " >= " . $elementInfo["curOrderPriceFrom"]; } else { $elementInfo["curOrderPriceFrom"] = ""; } if ( is_float($elementInfo["curOrderPriceTo"]) || is_numeric($elementInfo["curOrderPriceTo"]) ) { $strWhere .= " and curLocationAverage" . $elementInfo["lngOrderApartmentRooms"] . " <= " . $elementInfo["curOrderPriceTo"]; } else { $elementInfo["curOrderPriceTo"] = ""; } } else { $strFromWhere = ""; if ( is_float($elementInfo["curOrderPriceFrom"]) || is_numeric($elementInfo["curOrderPriceFrom"]) ) { for ($i = 1; $i <= 5; $i++) { $strFromWhere .= " curLocationFrom" . $i . " >= " . $elementInfo["curOrderPriceFrom"] . " or"; } } else { $elementInfo["curOrderPriceFrom"] = ""; } if ($strFromWhere != "") { $strWhere .= " and (" . substr($strFromWhere, 0, -3) . ")"; } $strToWhere = ""; if ( is_float($elementInfo["curOrderPriceTo"]) || is_numeric($elementInfo["curOrderPriceTo"]) ) { for ($i = 1; $i <= 5; $i++) { $strToWhere .= " curLocationAverage" . $i . " <= " . $elementInfo["curOrderPriceTo"] . " or"; } } else { $elementInfo["curOrderPriceTo"] = ""; } if ($strToWhere != "") { $strWhere .= " and (" . substr($strToWhere, 0, -3) . ")"; } } if ( eregi("^[0-9]+$", $elementInfo["LocationId"]) ) { $strWhere .= " and id = " . $elementInfo["LocationId"]; } } $strKeywords = $strTitle; $strDescription = $strTitle; include_once("./header.inc.php"); ?>
Цены на квартиры
* Справочная информация по ценам на аренду квартир, описание районов
Быстрый поиск
тип квартиры цена минимум (USD) цена максимум (USD)
 

$action, "lngCityId" => $lngCityId, "lngOrderApartmentRooms" => $elementInfo["lngOrderApartmentRooms"], "curOrderPriceFrom" => $elementInfo["curOrderPriceFrom"], "curOrderPriceTo" => $elementInfo["curOrderPriceTo"], "LocationId" => $elementInfo["LocationId"] ) ); //! Pagination $sql = "select * from tbllocation where CityId=$lngCityId $strWhere order by TypeId, BINARY strLocationName limit $paginationInfo[lngStartLimit], $lngRecordsPerPage"; $result = query($sql); $i = $paginationInfo["lngStartLimit"]; while ( $row = fetch_array($result) ) { $i++; ?>

Краткое описание района:
= 1) ) { if ($elementInfo["lngOrderApartmentRooms"] == $strFieldName) { ?>
тип квартиры цена минимум цена средняя
USD USD
USD USD