0)) { if ( $CountryId =="") { $CountryId =="0"; } $strWhere = "where CountryId = '" . $CountryId . "' and ingTipeCottage = '" . $TypeId . "' and boolStatus = '1'"; $sql = "select * from tblcontent $strWhere"; $resultContent = query ($sql); if ( mysql_num_rows($resultContent) > 0 ) { $rowContent = mysql_fetch_assoc ($resultContent); } } } */ /* //поиск по ID if (!empty($arrQueryInfo['id_search'])) { $id = $arrQueryInfo['id_search']; if ( eregi("^[0-9]+$", $id) && ($id > 0) ) { $sql = "select COUNT(*) from tblcottagerent, tblagency where tblcottagerent.id='" . $id . "' and tblagency.id=tblcottagerent.AgencyId and tblcottagerent.boolCottageStatus='1' and tblcottagerent.boolPrivateCatalog='0'"; $result = query($sql); $row = mysql_fetch_row($result); if ($row[0] == 1) { $Loc = "Location: /cottage_rent.php?id={$id}"; header($Loc); } } } $strTitle = getStrZag(); $strKeywords = $strTitle; $strDescription = $strTitle; $strAlt = $strTitle; $findme = ' Аренда'; $pos1 = stripos($strTitle, $findme); $strTitle2 = substr("$strTitle", 0, $pos1); $CottCityId = $arrQueryInfo['CottCityId']; if ( "" != $CottCityId ) { $strTitle2 = $strTitle2 . " " . $arrCitySecondName[$CottCityId]; } */ include_once("./header.inc.php"); ?>
Аренда недвижимости в Европе

='" . $arrQueryInfo['lngCottagePlaces'] . "' "; } if (!empty($arrQueryInfo['lngCottagePlacesTo']) && is_numeric($arrQueryInfo['lngCottagePlacesTo'])) { $strWhere .= " AND lngCottagePlaces<='" . $arrQueryInfo['lngCottagePlacesTo'] . "' "; } if (!empty($arrQueryInfo['lngCottageBedrooms']) && is_numeric($arrQueryInfo['lngCottageBedrooms'])) { $strWhere .= " AND lngCottageBedrooms>='" . $arrQueryInfo['lngCottageBedrooms'] . "' "; } if (!empty($arrQueryInfo['lngCottageBedroomsTo']) && is_numeric($arrQueryInfo['lngCottageBedroomsTo'])) { $strWhere .= " AND lngCottageBedrooms<='" . $arrQueryInfo['lngCottageBedroomsTo'] . "' "; } if (!empty($arrQueryInfo['lngPrice']) && is_numeric($arrQueryInfo['lngPrice'])) { $strWhere .= " AND curCottagePrice>='" . $arrQueryInfo['lngPrice'] . "' AND CurrencyId=1"; } if (!empty($arrQueryInfo['lngPriceTo']) && is_numeric($arrQueryInfo['lngPriceTo'])) { $strWhere .= " AND curCottagePrice<='" . $arrQueryInfo['lngPriceTo'] . "' AND CurrencyId=1"; } else { $strWhere .= " AND curCottagePrice<='100000' AND CurrencyId=1"; } if (!empty($arrQueryInfo['NoteId']) && is_numeric($arrQueryInfo['NoteId'])) { $strWhere .= " AND NoteId='" . $arrQueryInfo['NoteId'] . "' "; } if (!empty($arrQueryInfo['strCottageDirection']) && is_numeric($arrQueryInfo['strCottageDirection'])) { $strWhere .= " AND strCottageDirection='" . $arrQueryInfo['strCottageDirection'] . "' "; } if (!empty($arrQueryInfo['dblCottageHouseSquare']) && is_numeric($arrQueryInfo['dblCottageHouseSquare'])) { $strWhere .= " AND ldblCottageHouseSquare>='" . $arrQueryInfo['dblCottageHouseSquare'] . "' "; } if (!empty($arrQueryInfo['IngPool']) && is_numeric($arrQueryInfo['IngPool'])) { $strWhere .= " AND IngPool='" . $arrQueryInfo['IngPool'] . "' "; } if ($strWhere != "") $strWhere .= " AND boolPrivateCatalog='0' "; //if ( $strTitle != "" ) {echo "

$strTitle2

";} else {echo "Поиск";} /* if ( "" != $rowContent['strTitle'] ) { $strTitle = nl2br($rowContent['strTitle']); // $strTitle = ereg_replace ("&", "&", $strTitle); $strTitle = ereg_replace ("/>", ">", $strTitle); echo "
" . $strTitle . "
"; } */ if (!empty($strWhere)) { // Pagination $lngRecordsPerPage = 8; $lngPagesLimit = 11; $sql = "select count(tblcottagerent.id) as count_id from tblcottagerent WHERE boolCottageStatus='1' $strWhere "; $paginationInfo = getPaginationCatalog ($sql, "partner/ext_search.php", $lngRecordsPerPage, $lngPagesLimit, array("CountryId" => $arrQueryInfo['CountryId'], "TypeId" => $arrQueryInfo['TypeId'], "CottCityId"=>$arrQueryInfo['CottCityId'], "IngPool"=>$arrQueryInfo['IngPool'], "NoteId"=>$arrQueryInfo['NoteId']) ); //! Pagination $sql = "SELECT * FROM tblcottagerent WHERE boolCottageStatus='1' $strWhere ORDER BY curCottagePrice ASC LIMIT $paginationInfo[lngStartLimit], $lngRecordsPerPage "; $result = query($sql); if ( (num_rows($result) == 0) || $arrQueryInfo['id_search'] ) { $countrySql = "select * from tblcountries WHERE boolCountryStatus='1' ORDER BY lngViewPriority, strCountryName"; $countryResult = mysql_query ($countrySql, $db); while ( $row = mysql_fetch_assoc($countryResult) ) { $arrCountries[$row['id']] = $row; } if ( '' != $CountryId ) { ?>

Страны : Все страны | | Все города

'; while ($boolContinue) { echo ""; for ($j = 1; $j <= 4; $j++) { list($ingCountriesName, $arrNameCountries) = each($arrCountries); echo ''; if ($arrNameCountries["strCountryName"] != "") { if ($arrQueryInfo['TypeId'] != "") { echo " " . $arrCottageRentTypeMnAAA[$arrQueryInfo['TypeId']] . " " . $arrNameCountries["strCountrySecondName"] . ""; } else { echo " " . $arrNameCountries["strCountryName"] . ""; } } else { $boolContinue = 0;} echo ''; } echo ''; } echo ''; } if (!empty($CountryId) && is_numeric($CountryId)) { $citySql = "select * from tblcities where boolShowRent='1' and lngCountryId ='" . $CountryId . "' order by strCitySecondName ASC"; $cityResult = mysql_query ($citySql, $db); while ( $row = mysql_fetch_assoc($cityResult) ) { $arrCities[$row['id']] = $row; } if ( count ($arrCities) > 0 ) { $boolContinue = 1; ?>
" . $arrNameCities["strCityName"] . ""; } else { echo " " . $arrNameCities['strCityName'] . ""; } } else { $boolContinue = 0;} ?>

Не нашли то, что искали?

>> посмотрите все предложения <<

>> посмотрите все наши предложения <<



>> или заполните заявку online <<


Страны : Все страны | | Все города

'; while ($boolContinue) { echo ""; for ($j = 1; $j <= 4; $j++) { list($ingCountriesName, $arrNameCountries) = each($arrCountries); echo ''; if ($arrNameCountries["strCountryName"] != "") { if ($arrQueryInfo['TypeId'] != "") { echo " " . $arrCottageRentTypeMnAAA[$arrQueryInfo['TypeId']] . " " . $arrNameCountries["strCountrySecondName"] . ""; } else { echo " " . $arrNameCountries["strCountryName"] . ""; } } else { $boolContinue = 0;} echo ''; } echo ''; } echo ''; } if (!empty($CountryId) && is_numeric($CountryId)) { $citySql = "select * from tblcities where boolShowRent='1' and lngCountryId ='" . $CountryId . "' order by strCitySecondName ASC"; $cityResult = mysql_query ($citySql, $db); while ( $row = mysql_fetch_assoc($cityResult) ) { $arrCities[$row['id']] = $row; } if ( count ($arrCities) > 0 ) { $boolContinue = 1; ?>
" . $arrNameCities["strCityName"] . ""; } else { echo " " . $arrNameCities['strCityName'] . ""; } } else { $boolContinue = 0;} ?>
1 " != $paginationInfo["strPagination"]) { ?>
", ">", $strShortContent); echo "
" . $strShortContent . "
"; } */ $i = 1; while ( $row = fetch_array($result) ) { if ($i%2 == 1) { ?>
  1 " != $paginationInfo["strPagination"]) { ?>
", ">", $strTitle); echo "
" . $strTitle . "
"; } if ( "" != $rowContent['strShortContent'] ) { $strShortContent = nl2br($rowContent['strShortContent']); // $strShortContent = ereg_replace ("&", "&", $strShortContent); $strShortContent = ereg_replace ("/>", ">", $strShortContent); echo "
" . $strShortContent . "
"; } if ( "" != $rowContent['strContent'] ) { if ( $rowContent['boolUseJavaEditor'] == "0" ) { $strContent = nl2br($rowContent['strContent']); } else { $strContent = $rowContent['strContent']; } // $strContent = ereg_replace ("&", "&", $strContent); $strContent = ereg_replace ("/>", ">", $strContent); echo "

" . $strContent . "

"; } */ /*if ("" != $arrcontent2["$CountryId"]["$TypeId"] && "" == $arrQueryInfo['lngPage']) { $strShortContent = nl2br($arrcontent2["$CountryId"]["$TypeId"]); echo "
" . $strShortContent . "
"; }*/ /* if (eregi("^[0-9]+$", $TypeId) && ($TypeId > 0)) { if ( $CountryId =="") { $CountryId =="0"; } $strWhere = "where CountryId = '" . $CountryId . "' and ingTipeCottage = '" . $TypeId . "' and boolStatus = '1'"; $sql = "select * from tblcontent $strWhere"; $resultContent = query ($sql); if ( mysql_num_rows($resultContent) > 0 ) { $rowContent = mysql_fetch_assoc ($resultContent); } } if ( "" != $rowContent['strShortContent'] ) { $strShortContent = nl2br($rowContent['strShortContent']); echo "
" . $strShortContent . "
"; } */ include_once("../footer.inc.php"); ?>