<%set set_focus = 'myform.lst_id'%>
<%set book_mark = 'search_list'%>
<%include include_header.html%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
  <tr>
    <td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
    <td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include lst_include_menu.html%></td>
    <td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
  </tr>
  <tr>
    <td height="97%" colspan="3" valign="top">
      <table width="99%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
        <tr>
          <td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
        </tr>
        <tr>
          <td>
            <table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#336600" style="border: 1px solid #C5E1A3">
              <tr class="bold_white">
                <td height="20"><img src="<%image_url%>/icons/search.gif" width="16" align="texttop" hspace="2" vspace="0">Find List</td>
                <td align="right"><a href="glist.cgi?do=lst_home<%hidden_query%>"><img src="<%image_url%>/icons/close.gif" width="17" height="16" border=0 alt="Close"></a></td>
              </tr>
            </table>
            <form name="myform" action="glist.cgi" method="post">
              <table width="100%" border="0"  bgcolor="#FFFFFF" cellspacing="0" cellpadding="0">
                <tr>
                    <td align="center">
                      <%if msg%><span align=center class="body"><BR/><%msg%></span><%endif%>
                    <table border="0" cellspacing="0" cellpadding="3" align=center>
                      <tr class="body">
                        <td class="body" colspan="3"><br /><li><b>Search Info</b></li></td>
                      </tr>
                      <tr class="body">
                        <td class="body" nowrap>List ID</td>
                        <td colspan=2>
                          <input name="lst_id" type=text size=10 value="" class="object" />
                          <input name="ListID-opt" type=hidden size=10 value="=" />
                        </td>
                      </tr>
                      <tr class="body">
                        <td class="body">List Name</td>
                        <td colspan=2>
                          <input name="lst_title" type=text size="<%if is_ie or is_mozilla%>45<%else%>30<%endif%>" value="" class="object" />
                        </td>
                      </tr>
                      <tr class="body">
                        <td class="body">Description</td>
                        <td colspan=2>
                          <input name="lst_description" type=text size="<%if is_ie or is_mozilla%>45<%else%>30<%endif%>" value="" class="object" />
                        </td>
                      </tr>
                      <tr class="body">
                        <td class="body" valign="top">Created<br /><b><font size=1></b></td>
                        <td colspan="2">
                          <table cellpadding="0" cellspacing="0">
                            <tr>
                              <td class="body">From<br /><input class="object" type="text" name="lst_date_created-ge" size="12" maxlength=30 value="<%if lst_date_created-ge%><%lst_date_created-ge%><%endif%>" /></td>
                              <td class="body">&nbsp;To<br />&nbsp;<input class="object" type="text" name="lst_date_created-le" size="12" maxlength=30 value="<%if lst_date_created-le%><%lst_date_created-le%><%endif%>" /> <font size=1><%GList::language('SYS_DATE_FORMAT')%></font></td>
                            </tr>
                          </table>
                        </td>
                      </tr>
                      <%if usr_type%>
                      <tr class="body">
                        <td class="body">Username</td>
                        <td colspan="2">
                          <input type="text" class="object" name="lst_user_id_fk" size="<%if is_ie or is_mozilla%>29<%else%>21<%endif%>" value="" />
                          <select name="lst_user_id_fk-opt" class="object">
                            <option value="=">Exact Match</option>
                            <option value="<>">Not Equal</option>
                          </select>
                        </td>
                      </tr>
                      <%endif%>
                      <tr class="body">
                        <td class="body" colspan="3"><li><b>Search Options</b></li></td>
                      </tr>
                      <tr class="body">
                        <td class="body">Keyword search</td>
                        <td colspan=2><input class="object" name=keyword value="" size="<%if is_ie or is_mozilla%>45<%else%>30<%endif%>" /></td>
                      </tr>
                      <tr class="body">
                        <td class="body">Maximum hits</td>
                        <td class="body"><input class="object" name=mh value="<%if mh%><%mh%><%else%>25<%endif%>" size=1 maxlength=2 /></td>
                        <td class="body">Match Any: <input name="ma" value=1 type=checkbox /></td>
                      </tr>
                      <tr class="body">
                        <td class="body">Sort by</td>
                        <td colspan=2>
                          <select class="object" name=sb>
                            <option value="lst_id">List ID</option>
                            <option value="lst_title">List Name</option>
                            <option value="lst_description">Description</option>
                            <option value="lst_date_created">Created</option>
                          </select>
                          <select class="object"  name="so">
                            <option value="">---</option>
                            <option value="DESC">Descending</option>
                            <option value="ASC">Ascending</option>
                          </select>
                        </td>
                      </tr>
                      <tr>
                        <td align=center colspan="3"><BR />
                          <input name="bsearch" type=submit value=" Search " class="button" />
                          <input name="breset" type=reset value=" Reset " class="button" />
                        </td>
                      </tr>
                    </table><BR />
                  </td>
                </tr>
              </table>
              <input type=hidden name="do" value="lst_search" />
              <%hidden_objects%>
            </form>
          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<%include include_footer.html%>

