<%@page contentType="text/html; charset=utf-8"%>
<%@ taglib uri="/jstl-fmt" prefix="fmt" %>
<fmt:setBundle basename="com.sun.web.search.webapp.resources.messages" />

<html>
<head>
<title>Sun One Webserver <fmt:message key="advancedSearch"/></title>
</head>
<%@ taglib uri="/search" prefix="s1ws" %>


<body bgcolor="#ffffff" TOPMARGIN="10" LEFTMARGIN="20" LINK="#000000" VLINK="#000000" ALINK="#000000">
<link rel="stylesheet" type="text/css" href="inc/search.css">

<jsp:include page="inc/header.jsp" />
<br><br>

<s1ws:form name="search" method="POST" action="advanced" >
<input type=hidden name="next" value="<%=request.getParameter("next")%>">
<input type=hidden name="si" value=1>
<input type=hidden name="ns" value=10>
<table border="0" width="80%" cellpadding="1" cellspacing="0" bgcolor="#cccccc" align="center">
  <tr> 
    <td> 
	<table width="100%" border="0" align="center" cellspacing="0" cellpadding="0">
		<tr bgcolor="#ccccff"><td></td></tr>
		
		<tr><!-- title -->
                    <td width="60%" height="17" bgcolor="#ffffcc" valign="center">
                    <span class="body">
                    <b><font color="#666666">&nbsp;&nbsp;<fmt:message key="advancedSearch"/></font></b></span>
                    </td>
                    <td class="body" width="40%" height="17" bgcolor="#ffffcc" align=right valign="center">
                        <a href=<fmt:message key="advancedHelpLink"/>><fmt:message key="help"/></a>&nbsp;&nbsp;
                    </td>
                </tr><!-- title -->

		<tr class="TableHeader" bgcolor="#afafef"><td class="TableHeader" colspan=2>	
                    <table border="0" align="center" cellspacing="10" cellpadding="0">
                    <tr class="body">
                    <td class="body" nowrap>
                        <NOBR><LABEL for="advContain"><fmt:message key="searchIn"/></LABEL>
                          &nbsp;</NOBR>
                    </td>
                     <TD vAlign="center" align="left" height="40" no wrap>
                        <s1ws:collElem defaults="all" type="checkbox" cols="2" />
                     </TD>

                    </tr>

                    <tr class="body">
                    <td class="body" nowrap>
                        <NOBR><LABEL for="advContain"><fmt:message key="find"/></LABEL>
                             <SELECT id="Select1" name="wordsOp">
                             <OPTION value="all" selected><fmt:message key="allOfTheWords"/></OPTION>
                             <OPTION value="any"><fmt:message key="anyOfTheWords"/></OPTION>
                             <OPTION value="exact"><fmt:message key="theExactPhrase"/></OPTION>
                             </SELECT>
                          &nbsp;</NOBR>
                    </td>
                     <TD vAlign="center" align="left" height="40">
                         <TABLE id="Table13" cellSpacing="0" cellPadding="0" border="0">
                         <TR>
                         <TD>
                         <INPUT id="searchboxa" type="text" name="wordsVal"></TD>
                             <TD>&nbsp;&nbsp;</TD>
                             <TD>
                             <input type="image" align="absMiddle" src=<fmt:message key="searchImg"/> border="0" id="image1" name="image1" WIDTH="56" HEIGHT="24"></TD>
                             </TR>
                         </TABLE>
                     </TD>

                    </tr>

                    <tr class="body">
                    <td class="body">
                        <NOBR><LABEL for="advWithout"><fmt:message key="withoutTheWords"/>&nbsp;</LABEL></NOBR>
                    </td>
                    <td class="body">
                        <INPUT id="advWithout" type="text" name="nowords">
                    </td>
                    </tr>

                    <tr class="body">
                    <td class="body">
                        <NOBR><LABEL for="advTitle"><fmt:message key="title"/></LABEL>
                                            <SELECT id="Select2" name="titleOp">
                                                    <OPTION value="contain" selected><fmt:message key="does"/></OPTION>
                                                    <OPTION value="notcontain"><fmt:message key="doesNot"/></OPTION>
                                            </SELECT>
                                            <fmt:message key="contain"/>&nbsp;</NOBR>
                    </td>
                    <td class="body">
                        <INPUT id="advTitle" type="text" name="titleVal">
                    </td>
                    </tr>

                    <tr class="body">
                    <td class="body">
                        <NOBR><LABEL for="advSince"><fmt:message key="since"/></LABEL>
                                          </NOBR>
                    </td>
                    <td class="body">
                        <SELECT id="advSince" name="since">
                            <OPTION value="0" selected><fmt:message key="forever"/></OPTION>
                            <OPTION value="7"><fmt:message key="lastWeek"/></OPTION>
                            <OPTION value="30"><fmt:message key="lastMonth"/></OPTION>
                            <OPTION value="180"><fmt:message key="last6Months"/></OPTION>
                            <OPTION value="365"><fmt:message key="lastYear"/></OPTION>
                        </SELECT>
                    </td>
                    </tr>
                    </table>
		</td></tr><!-- /form -->
		
	</table>
	</td>
	</tr>
</table>
</s1ws:form>

<jsp:include page="inc/footer.jsp" />



