|
<%@ 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
Villefranche-sur-Mer France short term rentals and Villefranche-sur-Mer condo rentals
Home rentals Fayence, Fayence France houses for rent, and apartment rentals in Fayence France
For rent by owner homes Argeles-Sur-Mer, rent house in Argeles-Sur-Mer France, holiday rentals, and real estate rentals Argeles-Sur-Mer France
Antibes France vacation rental and vacation homes for rent by owner Antibes France
Embres-et-Castelmaure apartments for rent, vacation rental in Embres-et-Castelmaure France, and Embres-et-Castelmaure bed and breakfast rentals
Rental homes Cheville France, rental homes in Cheville, Cheville homes for rent, and Cheville France apartment rentals
Condo rentals in Versols-et-lapeyre and apartments for rent in Versols-et-lapeyre
Rent houses Cadenet, houses for rent Cadenet France, and Cadenet for rent by owner homes
Vacation rental in Andlau France, home rentals in Andlau France, Andlau for rent by owner homes, and rental properties Andlau France
Tourrettes-sur-Loup holiday rentals and Tourrettes-sur-Loup France house rentals
Homes for rent by owner, for rent by owner homes, and Marmagne France for rent by owner homes
Design and uncover apartment rentals in Cergy-Pontoise France and vacation homes for rent by owner Cergy-Pontoise.
This website, FRBO.com excludes tract and county figures, generally.
Devise and catch holiday rentals and rental houses Gap France.
Sorority sisters and troupers quest and hunt for this site, FRBO.com and come upon loft duplex and secluded cabin.
Detect, ferret out, and design Hyères real estate rentals, short term rentals Hyères France, and rental apartment in Hyères France.
Sablet France results could stump and do for your hunt.
Notice and hear condo rentals Le Mans France and Le Mans France bed and breakfast rentals.
Glimpse, come across, and find out for rent by owner homes in Le Toquet, for rent by owner homes Le Toquet, and holiday rentals in Le Toquet.
Sablet landlords, real estate agents, and real estate investors list house rentals in Sablet France, Sablet France short term rentals, and rental homes.
Nearly ready beachfront bungalow, city cottage, log lodge, and city duplex are nearest in the imminent sector of Sablet France.
This website, FRBO.com can enroll, call up, hitch, and embody hillside advertisements, hillside classified advertisements, and spacious classified advertisements log online MLS, oceanfront classified ads, waterfront classifieds, and lakeside indexes to puff your Sablet junket.
Wanderers, navigators, and better halves who are wishing to glimpse and explore or simply find information can use our webpage.
|
|