source: branches/stable/templates/search/compsearch.tmpl@ 862

Last change on this file since 862 was 593, checked in by Kris Deugau, 11 years ago

/branches/stable

Merge /trunk r517 (merge /branches/htmlform)
Conflicts all resolved towards /trunk.
Fix a minor syntax error with "while (@data..." -> "while (my @data..."
(may cause merge conflicts later)

File size: 2.2 KB
Line 
1<div class="indent">
2<div class="heading">Complex Search</div>
3
4<form action="<TMPL_VAR NAME=webpath>/cgi-bin/search.cgi" method=POST>
5<fieldset><legend class="noshow">&nbsp;</legend>
6<input type="hidden" name="stype" value="c">
7<input type="hidden" name="page" value="1">
8<table cellspacing="1" cellpadding="2">
9
10<tr class="row0">
11<td colspan=2>Match on:<input type=radio checked name=which value="all">All
12<input type=radio name=which value="any">Any
13<td>Results per page: <select name="rpp">
14<option value="25">25</option>
15<option value="50">50</option>
16<option value="100">100</option>
17<option value="200">200</option>
18<option value="0">Show all</option>
19</select>
20</td>
21<td align=right><input type=submit value="Search Now"></td>
22</tr>
23
24<tr class="row1">
25<td>Exclude?<input type=checkbox name=cidrexclude value='not'></td>
26<td>IP/netblock:</td><td colspan=2><input name=cidr></td>
27</tr>
28
29<tr class="row0">
30<td>Exclude?<input type=checkbox name=custexclude value='not'></td>
31<td>CustID:</td><td colspan=2><input name=custid></td>
32</tr>
33
34<tr class="row1">
35<td>Exclude?<input type=checkbox name=descexclude value='not'></td>
36<td>Description:</td><td colspan=2><input name=desc></td>
37</tr>
38
39<tr class="row0">
40<td>Exclude?<input type=checkbox name=notesexclude value='not'></td>
41<td>Notes:</td><td colspan=2><input name=notes></td>
42</tr>
43
44<tr class="row1">
45<td>Exclude?<input type=checkbox name=typeexclude value='not'></td>
46<td>Types:</td>
47<td colspan=2><input type="checkbox" name="alltypes" checked>Show all types
48<table class="regular" cellspacing="0">
49<TMPL_LOOP NAME=typelist>
50<TMPL_IF newrow><tr>
51</TMPL_IF><td><input type="checkbox" name="type[<TMPL_VAR NAME=type>]"><TMPL_VAR NAME=dispname></td><TMPL_IF endrow>
52</tr></TMPL_IF>
53</TMPL_LOOP>
54</table>
55</td>
56</tr>
57
58<tr class="row0">
59<td>Exclude?<input type=checkbox name=cityexclude value='not'></td>
60<td>Cities:</td>
61<td colspan=2><input type=checkbox name=allcities checked>Show all cities
62<table class="regular" cellspacing="0">
63<TMPL_LOOP NAME=citylist>
64<TMPL_IF newrow><tr>
65</TMPL_IF><td><input type="checkbox" name="city[<TMPL_VAR NAME=id>]"><TMPL_VAR NAME=city></td><TMPL_IF endrow>
66</tr></TMPL_IF>
67</TMPL_LOOP>
68</table>
69</td>
70</tr>
71
72</table>
73</fieldset>
74</form>
75
76</div>
Note: See TracBrowser for help on using the repository browser.