|
<%@ 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" %>
|
Venezuela Rental Links
Playa Zaragoza Venezuela apartment rentals and Playa Zaragoza Venezuela rent houses
House rentals in Gran Roque Venezuela, rental homes Gran Roque, and Gran Roque Venezuela homes for rent
Vacation homes for rent by owner Sabana de Guacuco Venezuela, rental home in Sabana de Guacuco Venezuela, rental properties Sabana de Guacuco, and Sabana de Guacuco condo rentals
Vacation rentals El Salado and vacation homes El Salado Venezuela
Vacation rental in Porlamar Venezuela, Porlamar rent houses, and condo rentals in Porlamar Venezuela
Homes for rent by owner in Playa Zaragoza, Playa Zaragoza Venezuela homes for rent by owner, condo rentals in Playa Zaragoza Venezuela, and house rentals in Playa Zaragoza Venezuela
Sabana de Guacuco for rent by owner homes and vacation rentals in Sabana de Guacuco
El Salado apartment rentals, rent house, and El Salado apartments for rent
Apartments for rent Sabana de Guacuco, homes for rent by owner in Sabana de Guacuco, Sabana de Guacuco house rentals, and holiday rentals in Sabana de Guacuco
Vacation rentals and apartments for rent in La Guardia
Paraguachi condo rentals, apartment rentals in Paraguachi Venezuela, and Paraguachi Venezuela for rent by owner homes
Rental houses in Ranchos de Chana Venezuela, Ranchos de Chana vacation homes for rent by owner, vacation rentals, and short term rentals Ranchos de Chana Venezuela
Admit, place, place, and record in the next few days to open, originate, and get cracking on this voyage.
El Salado Venezuela poop could plug, benefit, aid, and plug your expedition.
Our for rent by owner site, FRBO.com does exclude discrete penthouse, resort, beach, and lakefront apartment, hacienda, and timeshares.
Identify and originate vacation homes in San Sebastian and bed and breakfast rentals in San Sebastian.
You can inquire the resort ads and suburban listed properties under El Salado Venezuela bed and breakfast rentals, vacation homes in El Salado, and apartments for rent.
We spawned and procreated For Rent By Owner to be lovely, alluring, and resplendent.
Migrants and peers who are wishing to glimpse, locate, and originate or simply identify information can use this webpage.
See beachfront indexes, loft classifieds, and well appointed ads that property agents and real estate investors post on FRBO.Com, For Rent By Owner,.
Identify, learn, and distinguish vacation homes for rent by owner Catia La Mar Venezuela, homes for rent Catia La Mar, and homes for rent by owner Catia La Mar.
El Salado Venezuela is a bewitching, nice, beauteous, and grand tract with exquisite, cute, nice, and ravishing hacienda, ranch, farmhouse, and haciendas.
Dig up and elicit rental properties in El Callao and home rentals in El Callao Venezuela.
Our page encloses quarter, stretch, and plot dossier, now and again.
|
|