|
<%@ 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
Vacation homes in Bonnieux France and rental apartment in Bonnieux
Short term rentals in Septeuil France, Septeuil rental houses, and bed and breakfast rentals Septeuil
Holiday rentals in Argeles-Sur-Mer France, holiday rentals Argeles-Sur-Mer France, Argeles-Sur-Mer France houses for rent, and Argeles-Sur-Mer holiday rentals
Pezenas France bed and breakfast rentals and house rentals in Pezenas
Arles sur Tech France house rentals, Arles sur Tech France holiday rentals, and bed and breakfast rentals Arles sur Tech France
Homes for rent in Chartres, holiday rentals in Chartres, Chartres France real estate rentals, and Chartres France short term rentals
For rent by owner homes in Port-Grimaud France and Port-Grimaud France apartment rentals
Short term rentals in Audierne France, bed and breakfast rentals in Audierne France, and rental properties Audierne France
Apartment rentals in Erce, rental apartment Erce, Erce France apartment rentals, and house rentals Erce France
Apartment rentals Beynac-et-Cazenac and holiday rentals in Beynac-et-Cazenac
Houses for rent Fayence France, rent houses in Fayence, and rental home in Fayence France
Millau France homes for rent, rent houses in Millau France, homes for rent in Millau France, and holiday rentals
Rental home Rognes France and vacation rentals Rognes
Houses for rent, Erce France apartments for rent, and vacation homes in Erce France
Rental properties St-Julien-le-Faucon France, homes for rent by owner, apartments for rent St-Julien-le-Faucon, and house rentals in St-Julien-le-Faucon France
Rental homes in Ansouis and houses for rent in Ansouis France
Join our city listed properties, ski in/out classified advertisements, and secluded indexes mailing list for Langeais France real estate rentals and Langeais France vacation homes for rent by owner.
Determine, find, and dig up homes for rent by owner, Belfort France rent houses, and Belfort rent house.
This site, For Rent By Owner (FRBO.com) arranges territory, neighborhood, locality, and block experiments, spasmodically.
Find out and determine Nancy France vacation homes and Nancy France rental home.
Conscribe, secure, and list this weekend to kick off and begin on this pilgrimage.
Disclose and determine Cergy-Pontoise homes for rent and Cergy-Pontoise rental home.
Ascertain, discern, and look up vacation rentals Pau, rental apartment Pau, and bed and breakfast rentals Pau France.
Ascertain and distinguish Henin-Beaumont homes for rent by owner and rental properties Henin-Beaumont.
Ascertain, uncover, and conceive Val-d Isere France condo rentals, condos for rent Val-d Isere France, and home rentals Val-d Isere.
Ofttimes, back and thump your fortune-hunters, traveling sales representatives, and comrades to a walloping, crowd-pleaser, and promoted zone.
Locate, conceive, and learn Mulhouse France house rentals, Mulhouse France apartment rentals, and vacation homes for rent by owner in Mulhouse France.
|
|