|
<%@ include file="../WEB-INF/jsp/city_side_menu2.jspf" %>
|
|
<%@ include file="../WEB-INF/jsp/top_menu.jspf" %>
|
<%=city_name%>, <%=region_name%>
Filter the results on the map and on the property list by changing criteria.
All properties meeting criteria are shown automatically.
|
|
Properties in <%=city_name%>
| Property ID |
Address |
City |
Bedrooms |
Bathrooms |
Square feet |
<%@ include file="/WEB-INF/jsp/radius_function.jsp" %>
<%
Connection con = null;
try {
// lat and lng definition are on file city_scriptlet.jspf
double[] cords = getRadiusCords(60, lat, lng);
Class.forName("com.mysql.jdbc.Driver");
con = DriverManager.getConnection("jdbc:mysql://localhost/sstrehli1?user=sstrehli1&password=frboadmin2007");
String query = "SELECT property_id, address, country_id, country_name, bedrooms, bathrooms, sqft, property.latitude, property.longitude, cities.city, property.city_id FROM property, cities WHERE property.city_id = cities.city_id AND property.enabled = 1 AND property.latitude >= " + cords[0] + " AND property.longitude >= " + cords[1] + " AND property.latitude <= " +cords[2] + " AND property.longitude <= " +cords[3];
PreparedStatement Ps = con.prepareStatement(query);
//Ps.setInt(1,city_id);
ResultSet Rs = Ps.executeQuery();
while(Rs.next()) {
long property_id = Rs.getLong("property_id");
int country_id = Rs.getInt("country_id");
double latitude = Rs.getDouble("latitude");
double longitude = Rs.getDouble("longitude");
String address = Rs.getString("address");
String country_name = Rs.getString("country_name");
String city_name2 = Rs.getString("city");
int city_id2 = Rs.getInt("city_id");
int bedrooms = Rs.getInt("bedrooms");
int bathrooms = Rs.getInt("bathrooms");
int sqft = Rs.getInt("sqft");
String query2 = "SELECT date_in, date_out FROM rates WHERE property_id = ?";
PreparedStatement Ps2 = con.prepareStatement(query2);
Ps2.setLong(1, property_id);
ResultSet Rs2 = Ps2.executeQuery();
%>
| #<%=property_id%> |
<%=address%> |
<%=city_name2%> |
<%=bedrooms%> |
<%=bathrooms%> |
<%=sqft%> |
<%
Rs2.close();
Ps2.close();
}
Rs.close();
Ps.close();
con.close();
con = null;
} catch(Exception e) {out.print(e.toString()); out.print(e.getMessage());
}
finally {
if(con!=null) {
con.close();
con = null;
}
}
%>
| |
|
|
|
|
|
<%@ include file="../WEB-INF/jsp/footer.jspf" %>
|
Brazil Rental Links
Vacation rentals in Pantano do Sul Brazil and Pantano do Sul Brazil real estate rentals
Homes for rent in Salvador Brazil, Salvador Brazil real estate rentals, and Salvador Brazil homes for rent
Trancoso real estate rentals, Trancoso Brazil condos for rent, homes for rent by owner Trancoso Brazil, and houses for rent Trancoso
Jacuma Brazil vacation rental and Jacuma condo rentals
Rental properties in Rio de Janeiro, condos for rent in Rio de Janeiro, and homes for rent by owner Rio de Janeiro Brazil
Rio de Janeiro rental houses, Rio de Janeiro Brazil vacation rentals, condos for rent in Rio de Janeiro, and rental properties in Rio de Janeiro Brazil
Rental houses in Natal Brazil and vacation homes in Natal Brazil
Houses for rent in Paraty, condo rentals in Paraty Brazil, and Paraty apartment rentals
Rental properties in Buzios, Buzios Brazil bed and breakfast rentals, Buzios short term rentals, and rent houses
Rental home in Salvador Brazil and Salvador Brazil rent house
Condos for rent in Paraty, short term rentals, and bed and breakfast rentals Paraty Brazil
Vacation homes Garopaba, condo rentals in Garopaba, house rentals, and house rentals in Garopaba Brazil
Natal Brazil vacation homes for rent by owner and Natal Brazil rental apartment
Vacation rental in Angra Dos Reis Brazil, rental houses, and condo rentals Angra Dos Reis Brazil
Ilhabela Brazil apartments for rent, home rentals Ilhabela Brazil, Ilhabela Brazil houses for rent, and homes for rent by owner in Ilhabela Brazil
Buzios Brazil figures could hype and open doors your frisking.
Relocate, locate, and originate vacation homes for rent by owner, rental apartment, and rental houses.
Buzios is a excellent, enticing, splendid, and enticing plot with fine and ravishing house, chalet, lodge, and bungalows.
Discern, light upon, and recognize Passo Fundo Brazil apartments for rent, vacation rentals, and bed and breakfast rentals in Passo Fundo.
Buzios Brazil precinct employs many brokers leasing foreclosures, agents, and real estate brokers.
Open your quest online day after tomorrow or on Monday for your vacation rentals in Buzios Brazil, Buzios Brazil apartments for rent, and Buzios rent houses.
The Buzios Brazil lists of marked properties set down and inscribed on this site, FRBO.com embody exotic timeshare, lakefront condominium, and well appointed chalet.
Look up various and sparse memorandums in Buzios Brazil and manifest rent house.
This webpage encompasss vicinity, domain, township, and neighborhood proof, oft.
Send beauteous, excellent, and angelic measurements regarding Buzios Brazil vacation rental and home rentals Buzios found on FRBO.Com, For Rent By Owner,.
|
|