<%@ page import="gui.common.query.UnitLevelQuery" %> <%@ page import="java.util.*" %> <%@ page import="gui.common.settings.UIConst" %> <%@ page import="gui.common.management.UIManager" %> <%manager.setSearchType(UIConst.UL_ADVANCED_SEARCH);%> <%manager.setScreenID(UIConst.UL_ADVANCED_SEARCH);%> <%manager.setAdditionalTitle("");%>
<%-- **********Main frame table-*********** --%> <%HttpSession currSession = request.getSession();%> <%String prevAction=request.getParameter("PreviousAction");%> <%if (prevAction != null){ %> <%if (prevAction.compareTo("TIME_PERIOD_TABLE") == 0) {%> <%String [] theListOfStratigraphicKeywords= request.getParameterValues("strati");%> <%ULQuery.setStratigraphicKeywords(theListOfStratigraphicKeywords); } }%> <%String red=request.getParameter("redirection"); if (red == null) red = "displayScreen"; if (red.compareTo("Reset") == 0) { ULQuery = new UnitLevelQuery(); currSession.setAttribute("ULQuery",ULQuery ); red = "displayScreen"; } if (red.compareTo("ReloadQuery")==0) { String idx = request.getParameter("ID"); ULQuery = manager.getCurrentULQuery(idx); if (idx != null) currSession.setAttribute("ULQuery", ULQuery); red = "displayScreen"; } %> <% if (red.compareTo("specimenSearch") == 0) { ULQuery.setKeywordTimeperiod (request.getParameter("keywords_timeperiod")); ULQuery.setSpecimenType (request.getParameter("ULTypes")); ULQuery.setBoolOperator(request.getParameter("operator1")); ULQuery.setCollectorName(request.getParameter("Collector")); ULQuery.setterrestrialSiteCountry(request.getParameter("terrestrialSiteCountry")); ULQuery.setterrestrialSiteLocality(request.getParameter("terrestrialSiteLocality")); ULQuery.setgatheringDateYearFrom (request.getParameter("gatheringDateYearFrom")); ULQuery.setgatheringDateYearTo(request.getParameter("gatheringDateYearTo")); ULQuery.setkeywordTaxonomic(request.getParameter("Scientific_Name")); ULQuery.setkeywordCommon(request.getParameter("CommonName")); ULQuery.sethigherTaxon(request.getParameter("HigherTaxon")); ULQuery.setImageOnlyOption(request.getParameter("Image")); ULQuery.setNbRec(request.getParameter("nbRec")); currSession.setAttribute("ULQuery", ULQuery); manager.addULQuery(ULQuery); manager.dispatch(red,response, request,getServletContext()); } %>
 
<% if (red.compareTo("displayScreen") == 0) { %>
<%=manager.getText("ul_adv_search_taxon")%>
<%=manager.getText("ul_adv_search_taxon_name")%> <%=manager.getText(" width="15" height="15" border="0" align="left" onClick="<%=manager.openHelpFile("HELP_SEARCH_UL_ADVANCED_SEARCH_TAXON_NAME")%>"> <%=manager.getText("ul_adv_search_taxon_higher_name")%> <%=manager.getText(" width="15" height="15" border="0" align="left" onClick="<%=manager.openHelpFile("HELP_SEARCH_UL_ADVANCED_SEARCH_HIGHER_TAXON")%>">
 
<%=manager.getText("ul_adv_search_common_name_label")%> <%=manager.getText(" onClick="<%=manager.openHelpFile("HELP_SEARCH_UL_ADVANCED_SEARCH_COMMON_NAME")%>" width="15" height="15" border="0" align="left">
 
<%=manager.getText("ul_adv_search_description")%>
<%=manager.getText("ul_adv_search_timeperiod")%> <%=manager.getText(" onClick="<%=manager.openHelpFile("HELP_SEARCH_UL_ADVANCED_SEARCH_TIMEPERIOD")%>" width="15" height="15" border="0" align="right"> <%=manager.getText("ul_adv_search_status")%> " alt="<%=manager.getText("ul_adv_search_h_status")%>" width="15" height="15" border="0" align="left"> >yes
 
<%=manager.getText("ul_adv_search_gathering_info")%>
<%=manager.getText("ul_adv_search_country")%> " alt="<%=manager.getText("ul_adv_search_h_country")%>" width="15" height="15" border="0" align="left"> <%=manager.displayCountriesInput(ULQuery.getterrestrialSiteCountry())%> <%=manager.getText("ul_adv_search_locality")%> " alt="<%=manager.getText("ul_adv_search_h_locality")%>" width="15" height="15" border="0" align="left">
 
<%=manager.getText("ul_adv_search_date_from")%> " alt="<%=manager.getText("ul_adv_search_h_date")%>" width="15" height="15" border="0" align="left"> <%=manager.getText("ul_adv_search_date_to")%> <%=manager.getText("ul_adv_search_collector_name")%> " alt="<%=manager.getText("ul_adv_search_h_collector")%>" width="15" height="15" border="0" align="left">
 
<%=manager.getText("options")%>
<%=manager.getText("records_with_image_only")%> " alt="<%=manager.getText("records_with_image_only")%>" width="15" height="15" border="0" align="left">
 
<%=manager.getText("corm_adv_search.operator")%> <%out.println (manager.getOperatorCheckBox(ULQuery.getBoolOperator()));%>             <%=manager.getText("record_number")%>
" onClick='go("specimenSearch")' TITLE= "<%=manager.getText("btn_Search_t")%>" onMouseOver="BtnOver(this)" onMouseOut="BtnOut(this)" NAMe="Submit"> " TITLE= "<%=manager.getText("btn_New_Query_t")%>" onClick='resetQuery(document.gen_info_search.redirection,document.gen_info_search)' onMouseOver="BtnOver(this)" onMouseOut="BtnOut(this)">
<% } else manager.dispatch(red,response, request,getServletContext()); %>