|
<%@ 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" %>
|
United Kingdom Rental Links
Real estate rentals Seaview United Kingdom and Seaview rental home
Condo rentals in Musselburgh United Kingdom, Musselburgh United Kingdom bed and breakfast rentals, and Musselburgh United Kingdom vacation homes for rent by owner
Homes for rent by owner in Horsham United Kingdom, homes for rent in Horsham United Kingdom, apartment rentals in Horsham United Kingdom, and vacation rentals in Horsham United Kingdom
Real estate rentals in Perth United Kingdom and vacation rental in Perth
Dunning homes for rent by owner, home rentals Dunning United Kingdom, and holiday rentals Dunning United Kingdom
St Margaret s Bay United Kingdom short term rentals, condo rentals in St Margaret s Bay United Kingdom, rent houses in St Margaret s Bay, and vacation rental in St Margaret s Bay United Kingdom
Houses for rent London and London United Kingdom bed and breakfast rentals
Condos for rent in Perth, bed and breakfast rentals in Perth United Kingdom, and houses for rent in Perth United Kingdom
Vacation homes for rent by owner in Musselburgh United Kingdom, homes for rent in Musselburgh United Kingdom, Musselburgh United Kingdom bed and breakfast rentals, and Musselburgh United Kingdom houses for rent
Rent house Stirling and Stirling United Kingdom for rent by owner homes
Vacation homes for rent by owner in Barrow-upon-Soar United Kingdom, house rentals, and houses for rent in Barrow-upon-Soar United Kingdom
Migrants and traveling saleswomen who are wishing to come across and conceive or simply disclose information can use our online website, FRBO.com.
This website, FRBO.com does encompass sundry section lakeside and exotic timeshare, townhouse, home, and duplexs.
Send angelic, excellent, and charming picture regarding rental apartment in Stirling, Stirling United Kingdom rental properties, Stirling United Kingdom real estate rentals, and short term rentals Stirling found on our online website, FRBO.com.
Debunk, move, and come upon Ballymena rental properties, homes for rent Ballymena United Kingdom, and home rentals.
Stirling United Kingdom territory employs many rental owners, third party listing companies, third party listing companies, and real estate investors.
See well appointed directories, waterfront listed properties, log classified ads, and beachfront listings that rental agents and property owners post on our page.
Join our romantic classified ads, beach ads, exotic ads, and beach indexes mailing list for homes for rent by owner Stirling United Kingdom, Stirling United Kingdom for rent by owner homes, and Stirling homes for rent by owner.
You can rummage the beach directories, suburban classifieds, loft directories, and city directories under rental houses Stirling United Kingdom, homes for rent by owner in Stirling United Kingdom, and Stirling United Kingdom rental home.
Our webpage subsumes field, precinct, domain, and precinct statistics, often enough.
Uncover and debunk rental home Teeside United Kingdom and Teeside houses for rent.
|
|