|
<%@ 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" %>
|
France Rental Links
Rental home in Semur-en-Auxois and vacation rentals in Semur-en-Auxois France
Vacation homes for rent by owner in Lourmarin France, apartments for rent in Lourmarin France, and house rentals Lourmarin France
Vacation rental, Les Taillades rental home, Les Taillades short term rentals, and Les Taillades France condos for rent
Rental apartment and holiday rentals Strasbourg France
Homes for rent by owner in Bagnols-sur-ceze France, Bagnols-sur-ceze France rental houses, and short term rentals
Rental homes in St-Cannat, real estate rentals in St-Cannat France, vacation homes in St-Cannat France, and rent houses in St-Cannat France
Vacation rentals in Langeais and real estate rentals
Rental houses in Ocquerre, Ocquerre France homes for rent, and Ocquerre France rent house
Rental properties in Laudun France, condo rentals Laudun France, rental properties in Laudun France, and condo rentals Laudun
Homes for rent by owner Sourdeval France and rental apartment in Sourdeval France
Meyrargues France condo rentals, Meyrargues France vacation rental, and Meyrargues homes for rent by owner
Meribel France rental homes, bed and breakfast rentals Meribel France, Meribel France rental apartment, and rental properties Meribel France
Rental apartment in La Chapelle Aubareil France and holiday rentals in La Chapelle Aubareil
Grasse France real estate rentals, real estate rentals Grasse France, and rent houses in Grasse France
Real estate rentals in Chitenay France, apartment rentals in Chitenay France, condo rentals in Chitenay France, and Chitenay France short term rentals
Artannes France dominion employs many property managers, land owners, rental owners, and property brokers.
Our online website, FRBO.com does embody special waterfront, studio, loft, and log villa and haciendas.
We fabricated and occasioned our site, FRBO.com to be fascinating, delightful, sublime, and admirable.
This site, FRBO.com can procure and get decadent advertisements, log classifieds, romantic classified ads, and lake directories loft directories, exclusive ads, and exclusive directories to expedite your Artannes France patrol.
This extensive website, FRBO.com involves township, vicinity, and section poop sheet, periodically.
Contrive and espy Limoges France apartments for rent and apartments for rent Limoges France.
Artannes property agents, landlords, property managers, and third party agents list rental homes and Artannes France vacation rentals.
Conceive and move condos for rent in Nanterre France and home rentals Nanterre.
|
|