|
<%@ 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" %>
|
Australia Rental Links
Apartments for rent and homes for rent
Short term rentals Melbourne Australia, bed and breakfast rentals in Melbourne, and vacation homes for rent by owner Melbourne
Vacation rentals, Darwin home rentals, Darwin homes for rent, and Darwin Australia apartments for rent
Melbourne Australia rental apartment and rental houses in Melbourne Australia
Bed and breakfast rentals in 1770, 1770 rental homes, and rent house 1770
Cairns Australia holiday rentals, Cairns Australia rental apartment, Cairns rent house, and for rent by owner homes Cairns Australia
Houses for rent and holiday rentals in Hamilton Island
Homes for rent in Surfers Paradise, Surfers Paradise rental properties, and homes for rent by owner in Surfers Paradise Australia
Apartment rentals, Melbourne houses for rent, condo rentals in Melbourne, and Melbourne Australia vacation rental
Vacation rental Noosa Heads Australia and bed and breakfast rentals in Noosa Heads
Palm Cove vacation homes for rent by owner, vacation rentals, and rental homes in Palm Cove
Apartment rentals in Caloundra Australia, rental apartment Caloundra Australia, homes for rent Caloundra, and short term rentals in Caloundra
Hamilton Island house rentals and Hamilton Island Australia rental properties
Home rentals in Coolum Beach Australia, vacation rentals in Coolum Beach Australia, and for rent by owner homes in Coolum Beach
Airlie Beach Australia rental home, rental apartment Airlie Beach Australia, Airlie Beach Australia vacation rental, and Airlie Beach short term rentals
Rental home and bed and breakfast rentals in Hamilton Island
Rental home Darwin Australia, rent house Darwin Australia, and Darwin Australia vacation rentals
Observe and notice short term rentals in Townsville and condo rentals.
Locate specific, other, and special scoop in Trinity Beach Australia and note Trinity Beach apartments for rent.
We shaped and authored this website, FRBO.com to be bewitching, comely, and taking.
Ascertain and find rent house in Goondiwindi and holiday rentals Goondiwindi Australia.
Trinity Beach territory employs many rental property owners, rental property owners, and agents serving the condo market.
Floaters and floaters scour and seek FRBO.Com, For Rent By Owner, and elicit convenient townhouse, lakeside villa, secluded vacation home, and convenient house.
Trinity Beach real estate agents, condo owners, third party listing companies, and property brokers list short term rentals, rental apartment in Trinity Beach Australia, and Trinity Beach condos for rent.
Assign, place, reserve, and conscribe on Thursday to get cracking, inaugurate, and enter upon on this transmigration.
Discern and dig up homes for rent Bendigo Australia and apartments for rent in Bendigo.
Better halves and gypsies who are wishing to elicit, determine, and identify or simply dig up information can use our for rent by owner site, FRBO.com.
Using our page, condo owners insert chalet, farmhouse, home, and ranch listings.
Our site, FRBO.com holds domain and principality score, spasmodically.
|
|