   <%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@page import="org.ellectra.gui.utils.JSFUtils"%>
<%@page import="javax.faces.context.FacesContext"%>
<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t" %>

<f:view>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>

<head>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
    
    %>

<base href="<%=basePath%>">
<title>searchcallsfortenders_e</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="searchcallsfortenders_e">
<link rel="stylesheet" href="commission.css" type="text/css">
<link rel="stylesheet" href="ellectraweb.css" type="text/css">

</head>
<body>
<a name="top"></a>

<div align="center">

<table border="0" cellspacing="0" cellpadding="0" width="760"
	class="tbl1" summary="Container of page content">

	
	<!-- HEADER LINE -->
	<%@ include file="header.jsp"%>
	</td>
</tr>
<tr>
	<td bgcolor="#ffffff" height="1"></td>
</tr>
<tr>
	<td bgcolor="#330099" height="1"></td>
</tr><!-- END OF HEADER -->

	<!-- MAIN CONTENT -->
	<tr>
		<td valign="top" align="left">
		<table border="0" cellspacing="0" cellpadding="0" width="760"
			height="450" bgcolor="#FFFFFF" id="content" summary="Content of page">
			<tr>
				<!-- MENU CELL -->
				<%@ include file="navigation-menu.jsp"%>
				<!-- END OF MENU CELL -->

				<!-- VERTICAL SEPERATOR CELLS -->
				<td width="1" class="sep" height="100%"></td>
				<td width="15"></td>
<!-- CENTRAL CONTENT CELL -->
				<td width="565" valign="top">
				<br />
	  <%@ include file="hmenu.jsp" %>
	  
<div class="title14bb"><strong>Search Calls for Tenders</strong></div>
                                        
                                        <br>
                                        
                                        <div class="text11n">
                                            <h:form prependId="false">
                                                
                                                
                                                
                                                <h:panelGrid border="1" columns="2" styleClass="gridstyle" style="height: 64px; width: 574px">
                                                    <h:outputText value="#{multilingua.l_sc1}"></h:outputText>
                                                    <h:inputText id="key" styleClass="textboxstyle" style="width: 276px" value="#{searchcallsfortenders.a_sc1}"/>
                                                    
                                                    <h:outputText value="#{multilingua.l_sc2}"></h:outputText>
                                                    <h:panelGrid border="0" columns="2">
                                                        <h:inputText id="cpv" styleClass="textboxstyle" value="#{searchcallsfortenders.a_sc2}"></h:inputText>
                                                        <h:commandButton value="#{multilingua.l_sc3}" styleClass="buttonstyle" action="SearchCallOfTenderMainToCPV"></h:commandButton>
                                                    </h:panelGrid>
                                                </h:panelGrid>
                                                <br>
                                                    
                                                <strong>Search Criteria</strong>
                                                <h:panelGrid border="1" columns="2" styleClass="gridstyle" style="height: 64px; width: 574px">
                                                    
                                                    <h:outputText value="#{multilingua.l_sc4}"></h:outputText>
                                                    <h:selectManyCheckbox value="#{searchcallsfortenders.a_sc3}">
                                                        <f:selectItem itemLabel="#{multilingua.l_sc13_1}" itemValue="WORKS"/>
                                                        <f:selectItem itemLabel="#{multilingua.l_sc13_2}" itemValue="SUPPLIES"/>
                                                        <f:selectItem itemLabel="#{multilingua.l_sc13_3}" itemValue="SERVICES"/>
                                                    </h:selectManyCheckbox>
                                                    
                                                    <h:outputText value="#{multilingua.l_sc5}"></h:outputText>
                                                    <h:selectManyCheckbox value="#{searchcallsfortenders.a_sc4}">
                                                        <f:selectItem itemLabel="#{multilingua.l_sc14_1}" itemValue="PC"/>
                                                        <f:selectItem itemLabel="#{multilingua.l_sc14_2}" itemValue="DPS"/>
                                                        <f:selectItem itemLabel="#{multilingua.l_sc14_3}" itemValue="FA"/>
                                                    </h:selectManyCheckbox>
                                                    
                                                    <h:outputText value="#{multilingua.l_sc7}"></h:outputText>
                                                    <h:panelGrid border="0" columns="2">
                                                        <h:inputText styleClass="textboxstyle" value="#{searchcallsfortenders.a_sc5}"></h:inputText>
                                                        <h:commandButton value="#{multilingua.l_sc6}" styleClass="buttonstyle"></h:commandButton>
                                                    </h:panelGrid>
                                                    
                                                    <h:outputText value="#{multilingua.l_sc9}"></h:outputText>
                                                    <h:panelGrid border="0" columns="3">
                                                        <h:inputText id="a_sc6" value="#{searchcallsfortenders.a_sc6}" style="width: 98px" converterMessage="Please respect the format dd/mm/yyyy!">
                                                            <f:convertDateTime pattern="dd/MM/yyyy"/>
                                                        </h:inputText>
                                                        <h:graphicImage url="images/calendar/cal_button.jpg" 
                                                                onclick="displayCalendar(document.getElementById('a_sc6'),'dd/mm/yyyy',this)">
                                                        </h:graphicImage>
                                                        
                                                        <h:selectOneRadio layout="pageDirection" value="#{searchcallsfortenders.a_sc7}">
                                                            <f:selectItem itemLabel="#{multilingua.l_sc15_1}" />
                                                            <f:selectItem itemLabel="#{multilingua.l_sc15_2}" />
                                                        </h:selectOneRadio>    
                                                    </h:panelGrid>
                                                    
                                                    <h:outputText value="#{multilingua.l_sc10}"></h:outputText> 
                                                    <h:panelGrid border="0" columns="3">
                                                        <h:inputText id="a_sc8" value="#{searchcallsfortenders.a_sc8}" style="width: 98px" converterMessage="Please respect the format dd/mm/yyyy!" >
                                                            <f:convertDateTime pattern="dd/MM/yyyy"/>
                                                        </h:inputText>
                                                        <h:graphicImage url="images/calendar/cal_button.jpg" 
                                                                onclick="displayCalendar(document.getElementById('a_sc8'),'dd/mm/yyyy',this)">
                                                        </h:graphicImage>
                                                        
                                                        <h:selectOneRadio layout="pageDirection" value="#{searchcallsfortenders.a_sc9}">
                                                            <f:selectItem itemLabel="#{multilingua.l_sc16_1}" />
                                                            <f:selectItem itemLabel="#{multilingua.l_sc16_2}" />
                                                        </h:selectOneRadio>
                                                    </h:panelGrid>
                                                    
                                                    <h:outputText value="#{multilingua.l_sc11}"></h:outputText>
                                                    <h:selectOneMenu style="width: 247px" value="#{searchcallsfortenders.a_sc10}">
                                                            <f:selectItem itemLabel="English" itemValue="EN"/>
                                                            <f:selectItem itemLabel="Greek" itemValue="GR"/>
                                                            <f:selectItem itemLabel="Italian" itemValue="IT"/>
                                                    </h:selectOneMenu>
                                                    
                                                </h:panelGrid>
                                                
                                                <h:panelGrid border="0" columns="1" style="width: 574px;">
                                                    <h:panelGroup>
                                                        <p align="right">						
                                                            <h:commandButton value="#{multilingua.l_sc12}" action="#{searchcallsfortenders.performsearch}"styleClass="buttonstyle"></h:commandButton>
                                                        </p>
                                                    </h:panelGroup>
                                                </h:panelGrid>
                                                <br>
                                                    
                                                <h:panelGrid border="0" columns="1">
                                                        <h:message for="a_sc6" styleClass="msgstyle"/>
                                                        <h:message for="a_sc8" styleClass="msgstyle"/>
                                                </h:panelGrid>
                                            </h:form>
                                            <br>
                                        </div>
                                    </td>
                                    <!-- END OF CENTRAL CONTENT CELL -->


<!-- VERTICAL SEPERATOR CELL -->
				<td width="14"></td>
			</tr>
		</table>
		</td>
	</tr>

	<%@ include file="footer.jsp"%>
</table>
</div>
</body>

</html>

</f:view>