source: branches/htmlform/templates/search/sresults.tmpl@ 496

Last change on this file since 496 was 482, checked in by Kris Deugau, 14 years ago

/branches/htmlform

Add templates for search.cgi in their own subdirectory (see #3)

File size: 1.4 KB
Line 
1<TMPL_IF errmsg>
2<br><div class="center"><TMPL_VAR NAME=errmsg><br><br>
3<input type="button" value="Back" onclick="history.go(-1)">
4</div></br>
5<TMPL_ELSE>
6<div class="heading"><TMPL_VAR NAME=searchtitle></div><br>
7<div class="center">
8<table width="98%" cellspacing="0" class="center">
9
10<tr>
11<td class="heading">Allocation</td>
12<td class="heading">CustID</td>
13<td class="heading">Type</td>
14<td class="heading">City</td>
15<td class="heading">Description/Name</td>
16</tr>
17<TMPL_LOOP NAME=sresults>
18<tr class="row<TMPL_VAR NAME=rowclass>">
19<td><TMPL_IF issub>Sub </TMPL_IF><a href="/ip/cgi-bin/main.cgi?action=edit&amp;block=<TMPL_VAR NAME=block>"><TMPL_VAR NAME=block></a><TMPL_IF ispool>&nbsp; <a href="/ip/cgi-bin/main.cgi?action=listpool&amp;pool=<TMPL_VAR NAME=block>">List IPs</a></TMPL_IF></td>
20<td><TMPL_VAR NAME=custid></td>
21<td><TMPL_VAR NAME=disptype></td>
22<td><TMPL_VAR NAME=city></td>
23<td><TMPL_VAR NAME=desc></td>
24</tr>
25</TMPL_LOOP>
26
27<tr><td colspan="5">Total records found: <TMPL_VAR NAME=resfound><br><i>Displaying: <TMPL_VAR NAME=resstart> - <TMPL_VAR
28NAME=resstop></i></td></tr>
29</table>
30
31<TMPL_IF multipage>
32<div class="center">Page:
33<TMPL_LOOP NAME=pgnums><TMPL_IF thispage><b><TMPL_VAR NAME=pgnum>&nbsp;</b><TMPL_ELSE><a href="/ip/cgi-bin/search.cgi?page=<TMPL_VAR NAME=pgnum>&amp;stype=<TMPL_VAR NAME=stype>&amp;<TMPL_VAR NAME=extraopts>"><TMPL_VAR NAME=pgnum></a>&nbsp;</TMPL_IF>
34</TMPL_LOOP>
35</div>
36</TMPL_IF>
37
38</div>
39</TMPL_IF>
Note: See TracBrowser for help on using the repository browser.