<%@ page import="java.util.*" %> <%@page contentType="text/html"%> <%@page pageEncoding="UTF-8"%> TwiHotels : Submit Your Hotel <%@ include file="connectionDB.jsp" %> <%@ include file="header.jsp" %> <% ResultSet rs = null; Statement st = null; String sql = ""; String country_name = "", city_name = ""; try { %>
<% if(session.getAttribute("uid")!=null){ String twitterId = ""; st = con.createStatement(); sql = "select user_name from login where user_id = '"+Integer.parseInt(session.getAttribute("uid").toString())+"'"; rs = st.executeQuery(sql); if(rs.next()) twitterId = rs.getString("user_name"); %> "> <% } else { session.setAttribute("page","submit"); %> <% } %>
  Home  
Submit Your Hotel
Hotel Directory »
Select Country * :
Select City * :
Hotel Name * :
Address * :
Description :
Star Rating * :
Tariff * : onwards  (in USD)
Logo :
Site URL : eg: www.twihotels.com
Contact Person * :
Email Id * :
Twitter Id * :
Skype Id :
Phone * :
Fax :
Image * :
More Images
I own/work at this hotel.
( Fields marked with * are mandatory! )
You are not logged in
Click here to Login using Twitter
<% } catch(Exception ex){ System.out.println("Exception in submit "+ex.getMessage()); } finally { if(rs!=null) rs.close(); if(con!=null) con.close(); } %> <%@ include file="footer.jsp" %> \