package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
public final class dodaj_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
private static java.util.List _jspx_dependants;
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_forEach_varStatus_var_items;
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_out_value_nobody;
public Object getDependants() {
return _jspx_dependants;
}
public void _jspInit() {
_jspx_tagPool_c_forEach_varStatus_var_items = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_jspx_tagPool_c_out_value_nobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
}
public void _jspDestroy() {
_jspx_tagPool_c_forEach_varStatus_var_items.release();
_jspx_tagPool_c_out_value_nobody.release();
}
public void _jspService(HttpServletRequest request, HttpServletResponse response)
throws java.io.IOException, ServletException {
JspFactory _jspxFactory = null;
PageContext pageContext = null;
HttpSession session = null;
ServletContext application = null;
ServletConfig config = null;
JspWriter out = null;
Object page = this;
JspWriter _jspx_out = null;
PageContext _jspx_page_context = null;
try {
_jspxFactory = JspFactory.getDefaultFactory();
response.setContentType("text/html; charset=ISO-8859-2");
pageContext = _jspxFactory.getPageContext(this, request, response,
null, true, 8192, true);
_jspx_page_context = pageContext;
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
_jspx_out = out;
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("<html>\r\n");
out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=ISO-8859-2\">\r\n");
out.write("<body>\r\n");
out.write("\r\n");
out.write("<h1 align=\"center\"> ");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${odpowiedz}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("</h1>\r\n");
out.write("<center>\r\n");
out.write("\r\n");
out.write("<h1 align=\"center\">Witaj tutaj dodasz oferte do naszej bazy</h1>\r\n");
out.write("<form action=\"zapisz.do\" method=POST>\r\n");
out.write(" Wybierz właściwości kraju<p>\r\n");
out.write(" Nazwa państwa:\r\n");
out.write(" <select name =\"panstwo\" size=\"1\">\r\n");
out.write(" ");
if (_jspx_meth_c_forEach_0(_jspx_page_context))
return;
out.write("\r\n");
out.write("</select>\r\n");
out.write("<br><br>\r\n");
out.write("\r\n");
out.write(" Wybierz okolice miasta:<p>\r\n");
out.write(" Okolica: \r\n");
out.write(" <select name =\"miasto\" size=\"1\">\r\n");
out.write(" ");
if (_jspx_meth_c_forEach_1(_jspx_page_context))
return;
out.write("\r\n");
out.write("</select>\r\n");
out.write("<br><br>\r\n");
out.write(" Wybierz właściwości rodzaj<p>\r\n");
out.write(" Rodzaj krajobrazu:\r\n");
out.write("<select name =\"rodzaj\" size=\"1\">\r\n");
out.write(" ");
if (_jspx_meth_c_forEach_2(_jspx_page_context))
return;
out.write("\r\n");
out.write("</select>\r\n");
out.write("<br><br>\r\n");
out.write("Data wyjazdu: <br>\r\n");
out.write(" Day: <select NAME=\"date_day\">\r\n");
out.write("\t<option VALUE=\"0\">\r\n");
out.write("\t<option VALUE=\"01\">1\r\n");
out.write("\t<option VALUE=\"02\">2\r\n");
out.write("\t<option VALUE=\"03\">3\r\n");
out.write("\t<option VALUE=\"04\">4\r\n");
out.write("\t<option VALUE=\"05\">5\r\n");
out.write("\t<option VALUE=\"06\">6\r\n");
out.write("\t<option VALUE=\"07\">7\r\n");
out.write("\t<option VALUE=\"08\">8\r\n");
out.write("\t<option VALUE=\"09\">9\r\n");
out.write("\t<option VALUE=\"10\">10\r\n");
out.write("\t<option VALUE=\"11\">11\r\n");
out.write("\t<option VALUE=\"12\">12\r\n");
out.write("\t<option VALUE=\"13\">13\r\n");
out.write("\t<option VALUE=\"14\">14\r\n");
out.write("\t<option VALUE=\"15\">15\r\n");
out.write("\t<option VALUE=\"16\">16\r\n");
out.write("\t<option VALUE=\"17\">17\r\n");
out.write("\t<option VALUE=\"18\">18\r\n");
out.write("\t<option VALUE=\"19\">19\r\n");
out.write("\t<option VALUE=\"20\">20\r\n");
out.write("\t<option VALUE=\"21\">21\r\n");
out.write("\t<option VALUE=\"22\">22\r\n");
out.write("\t<option VALUE=\"23\">23\r\n");
out.write("\t<option VALUE=\"24\">24\r\n");
out.write("\t<option VALUE=\"25\">25\r\n");
out.write("\t<option VALUE=\"26\">26\r\n");
out.write("\t<option VALUE=\"27\">27\r\n");
out.write("\t<option VALUE=\"28\">28\r\n");
out.write("\t<option VALUE=\"29\">29\r\n");
out.write("\t<option VALUE=\"30\">30\r\n");
out.write("\t<option VALUE=\"31\">31\r\n");
out.write("</select> Date Month: <select NAME=\"date_month\">\r\n");
out.write("\t<option VALUE=\"0\">\r\n");
out.write("\t<option VALUE=\"01\">1\r\n");
out.write("\t<option VALUE=\"02\">2\r\n");
out.write("\t<option VALUE=\"03\">3\r\n");
out.write("\t<option VALUE=\"04\">4\r\n");
out.write("\t<option VALUE=\"05\">5\r\n");
out.write("\t<option VALUE=\"06\">6\r\n");
out.write("\t<option VALUE=\"07\">7\r\n");
out.write("\t<option VALUE=\"08\">8\r\n");
out.write("\t<option VALUE=\"09\">9\r\n");
out.write("\t<option VALUE=\"10\">10\r\n");
out.write("\t<option VALUE=\"11\">11\r\n");
out.write("\t<option VALUE=\"12\">12\r\n");
out.write("</select> Year: <select NAME=\"date_year\">\r\n");
out.write("\t<option VALUE=\"2006\">2006\r\n");
out.write("\t<option VALUE=\"2007\">2007\r\n");
out.write("</select><br>\r\n");
out.write("Data powrotu: <br>\r\n");
out.write(" Day: <select NAME=\"date_day_p\">\r\n");
out.write("\t<option VALUE=\"0\">\r\n");
out.write("\t<option VALUE=\"01\">1\r\n");
out.write("\t<option VALUE=\"02\">2\r\n");
out.write("\t<option VALUE=\"03\">3\r\n");
out.write("\t<option VALUE=\"04\">4\r\n");
out.write("\t<option VALUE=\"05\">5\r\n");
out.write("\t<option VALUE=\"06\">6\r\n");
out.write("\t<option VALUE=\"07\">7\r\n");
out.write("\t<option VALUE=\"08\">8\r\n");
out.write("\t<option VALUE=\"09\">9\r\n");
out.write("\t<option VALUE=\"10\">10\r\n");
out.write("\t<option VALUE=\"11\">11\r\n");
out.write("\t<option VALUE=\"12\">12\r\n");
out.write("\t<option VALUE=\"13\">13\r\n");
out.write("\t<option VALUE=\"14\">14\r\n");
out.write("\t<option VALUE=\"15\">15\r\n");
out.write("\t<option VALUE=\"16\">16\r\n");
out.write("\t<option VALUE=\"17\">17\r\n");
out.write("\t<option VALUE=\"18\">18\r\n");
out.write("\t<option VALUE=\"19\">19\r\n");
out.write("\t<option VALUE=\"20\">20\r\n");
out.write("\t<option VALUE=\"21\">21\r\n");
out.write("\t<option VALUE=\"22\">22\r\n");
out.write("\t<option VALUE=\"23\">23\r\n");
out.write("\t<option VALUE=\"24\">24\r\n");
out.write("\t<option VALUE=\"25\">25\r\n");
out.write("\t<option VALUE=\"26\">26\r\n");
out.write("\t<option VALUE=\"27\">27\r\n");
out.write("\t<option VALUE=\"28\">28\r\n");
out.write("\t<option VALUE=\"29\">29\r\n");
out.write("\t<option VALUE=\"30\">30\r\n");
out.write("\t<option VALUE=\"31\">31\r\n");
out.write("</select> Date Month: <select NAME=\"date_month_p\">\r\n");
out.write("\t<option VALUE=\"0\">\r\n");
out.write("\t<option VALUE=\"01\">1\r\n");
out.write("\t<option VALUE=\"02\">2\r\n");
out.write("\t<option VALUE=\"03\">3\r\n");
out.write("\t<option VALUE=\"04\">4\r\n");
out.write("\t<option VALUE=\"05\">5\r\n");
out.write("\t<option VALUE=\"06\">6\r\n");
out.write("\t<option VALUE=\"07\">7\r\n");
out.write("\t<option VALUE=\"08\">8\r\n");
out.write("\t<option VALUE=\"09\">9\r\n");
out.write("\t<option VALUE=\"10\">10\r\n");
out.write("\t<option VALUE=\"11\">11\r\n");
out.write("\t<option VALUE=\"12\">12\r\n");
out.write("</select> Year: <select NAME=\"date_year_p\">\r\n");
out.write("\t<option VALUE=\"2006\">2006\r\n");
out.write("\t<option VALUE=\"2007\">2007\r\n");
out.write("</select><br>\r\n");
out.write("Cena: <input type=text name=\"cena\"><br><br>\r\n");
out.write("Opis: <input type=textarea name=\"opis\"><br>\r\n");
out.write("\r\n");
out.write(" <input type=\"SUBMIT\" value = Dodaj>\r\n");
out.write("</center>\r\n");
out.write("\r\n");
out.write("</body>\r\n");
out.write("</html>\r\n");
} catch (Throwable t) {
if (!(t instanceof SkipPageException)){
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
out.clearBuffer();
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
}
} finally {
if (_jspxFactory != null) _jspxFactory.releasePageContext(_jspx_page_context);
}
}
private boolean _jspx_meth_c_forEach_0(PageContext _jspx_page_context)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
org.apache.taglibs.standard.tag.rt.core.ForEachTag _jspx_th_c_forEach_0 = (org.apache.taglibs.standard.tag.rt.core.ForEachTag) _jspx_tagPool_c_forEach_varStatus_var_items.get(org.apache.taglibs.standard.tag.rt.core.ForEachTag.class);
_jspx_th_c_forEach_0.setPageContext(_jspx_page_context);
_jspx_th_c_forEach_0.setParent(null);
_jspx_th_c_forEach_0.setVar("panstwo");
_jspx_th_c_forEach_0.setItems((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${panstwa}", java.lang.Object.class, (PageContext)_jspx_page_context, null, false));
_jspx_th_c_forEach_0.setVarStatus("iterator");
int[] _jspx_push_body_count_c_forEach_0 = new int[] { 0 };
try {
int _jspx_eval_c_forEach_0 = _jspx_th_c_forEach_0.doStartTag();
if (_jspx_eval_c_forEach_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
do {
out.write("\r\n");
out.write("\t<option value=");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${iterator.count}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write('>');
if (_jspx_meth_c_out_0(_jspx_th_c_forEach_0, _jspx_page_context, _jspx_push_body_count_c_forEach_0))
return true;
out.write('\r');
out.write('\n');
int evalDoAfterBody = _jspx_th_c_forEach_0.doAfterBody();
if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
break;
} while (true);
}
if (_jspx_th_c_forEach_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return true;
}
} catch (Throwable _jspx_exception) {
while (_jspx_push_body_count_c_forEach_0[0]-- > 0)
out = _jspx_page_context.popBody();
_jspx_th_c_forEach_0.doCatch(_jspx_exception);
} finally {
_jspx_th_c_forEach_0.doFinally();
_jspx_tagPool_c_forEach_varStatus_var_items.reuse(_jspx_th_c_forEach_0);
}
return false;
}
private boolean _jspx_meth_c_out_0(javax.servlet.jsp.tagext.JspTag _jspx_th_c_forEach_0, PageContext _jspx_page_context, int[] _jspx_push_body_count_c_forEach_0)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_out_0 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _jspx_tagPool_c_out_value_nobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
_jspx_th_c_out_0.setPageContext(_jspx_page_context);
_jspx_th_c_out_0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_forEach_0);
_jspx_th_c_out_0.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${panstwo}", java.lang.Object.class, (PageContext)_jspx_page_context, null, false));
int _jspx_eval_c_out_0 = _jspx_th_c_out_0.doStartTag();
if (_jspx_th_c_out_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
_jspx_tagPool_c_out_value_nobody.reuse(_jspx_th_c_out_0);
return true;
}
_jspx_tagPool_c_out_value_nobody.reuse(_jspx_th_c_out_0);
return false;
}
private boolean _jspx_meth_c_forEach_1(PageContext _jspx_page_context)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
org.apache.taglibs.standard.tag.rt.core.ForEachTag _jspx_th_c_forEach_1 = (org.apache.taglibs.standard.tag.rt.core.ForEachTag) _jspx_tagPool_c_forEach_varStatus_var_items.get(org.apache.taglibs.standard.tag.rt.core.ForEachTag.class);
_jspx_th_c_forEach_1.setPageContext(_jspx_page_context);
_jspx_th_c_forEach_1.setParent(null);
_jspx_th_c_forEach_1.setVar("miasto");
_jspx_th_c_forEach_1.setItems((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${miasta}", java.lang.Object.class, (PageContext)_jspx_page_context, null, false));
_jspx_th_c_forEach_1.setVarStatus("iterator");
int[] _jspx_push_body_count_c_forEach_1 = new int[] { 0 };
try {
int _jspx_eval_c_forEach_1 = _jspx_th_c_forEach_1.doStartTag();
if (_jspx_eval_c_forEach_1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
do {
out.write("\r\n");
out.write("\t<option value=");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${iterator.count}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write('>');
if (_jspx_meth_c_out_1(_jspx_th_c_forEach_1, _jspx_page_context, _jspx_push_body_count_c_forEach_1))
return true;
out.write('\r');
out.write('\n');
int evalDoAfterBody = _jspx_th_c_forEach_1.doAfterBody();
if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
break;
} while (true);
}
if (_jspx_th_c_forEach_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return true;
}
} catch (Throwable _jspx_exception) {
while (_jspx_push_body_count_c_forEach_1[0]-- > 0)
out = _jspx_page_context.popBody();
_jspx_th_c_forEach_1.doCatch(_jspx_exception);
} finally {
_jspx_th_c_forEach_1.doFinally();
_jspx_tagPool_c_forEach_varStatus_var_items.reuse(_jspx_th_c_forEach_1);
}
return false;
}
private boolean _jspx_meth_c_out_1(javax.servlet.jsp.tagext.JspTag _jspx_th_c_forEach_1, PageContext _jspx_page_context, int[] _jspx_push_body_count_c_forEach_1)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_out_1 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _jspx_tagPool_c_out_value_nobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
_jspx_th_c_out_1.setPageContext(_jspx_page_context);
_jspx_th_c_out_1.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_forEach_1);
_jspx_th_c_out_1.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${miasto}", java.lang.Object.class, (PageContext)_jspx_page_context, null, false));
int _jspx_eval_c_out_1 = _jspx_th_c_out_1.doStartTag();
if (_jspx_th_c_out_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
_jspx_tagPool_c_out_value_nobody.reuse(_jspx_th_c_out_1);
return true;
}
_jspx_tagPool_c_out_value_nobody.reuse(_jspx_th_c_out_1);
return false;
}
private boolean _jspx_meth_c_forEach_2(PageContext _jspx_page_context)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
org.apache.taglibs.standard.tag.rt.core.ForEachTag _jspx_th_c_forEach_2 = (org.apache.taglibs.standard.tag.rt.core.ForEachTag) _jspx_tagPool_c_forEach_varStatus_var_items.get(org.apache.taglibs.standard.tag.rt.core.ForEachTag.class);
_jspx_th_c_forEach_2.setPageContext(_jspx_page_context);
_jspx_th_c_forEach_2.setParent(null);
_jspx_th_c_forEach_2.setVar("rodzaj");
_jspx_th_c_forEach_2.setItems((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${rodzaje}", java.lang.Object.class, (PageContext)_jspx_page_context, null, false));
_jspx_th_c_forEach_2.setVarStatus("iterator");
int[] _jspx_push_body_count_c_forEach_2 = new int[] { 0 };
try {
int _jspx_eval_c_forEach_2 = _jspx_th_c_forEach_2.doStartTag();
if (_jspx_eval_c_forEach_2 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
do {
out.write("\r\n");
out.write("\t<option value=");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${iterator.count}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write('>');
if (_jspx_meth_c_out_2(_jspx_th_c_forEach_2, _jspx_page_context, _jspx_push_body_count_c_forEach_2))
return true;
out.write('\r');
out.write('\n');
int evalDoAfterBody = _jspx_th_c_forEach_2.doAfterBody();
if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
break;
} while (true);
}
if (_jspx_th_c_forEach_2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return true;
}
} catch (Throwable _jspx_exception) {
while (_jspx_push_body_count_c_forEach_2[0]-- > 0)
out = _jspx_page_context.popBody();
_jspx_th_c_forEach_2.doCatch(_jspx_exception);
} finally {
_jspx_th_c_forEach_2.doFinally();
_jspx_tagPool_c_forEach_varStatus_var_items.reuse(_jspx_th_c_forEach_2);
}
return false;
}
private boolean _jspx_meth_c_out_2(javax.servlet.jsp.tagext.JspTag _jspx_th_c_forEach_2, PageContext _jspx_page_context, int[] _jspx_push_body_count_c_forEach_2)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_out_2 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _jspx_tagPool_c_out_value_nobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
_jspx_th_c_out_2.setPageContext(_jspx_page_context);
_jspx_th_c_out_2.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_forEach_2);
_jspx_th_c_out_2.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${rodzaj}", java.lang.Object.class, (PageContext)_jspx_page_context, null, false));
int _jspx_eval_c_out_2 = _jspx_th_c_out_2.doStartTag();
if (_jspx_th_c_out_2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
_jspx_tagPool_c_out_value_nobody.reuse(_jspx_th_c_out_2);
return true;
}
_jspx_tagPool_c_out_value_nobody.reuse(_jspx_th_c_out_2);
return false;
}
}