source: trunk/templates/search/sresults.tmpl@ 685

Last change on this file since 685 was 670, checked in by Kris Deugau, 10 years ago

/trunk

Minimally update search tool for new database layout. Still needs a major rewrite.

File size: 1.7 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>
20<TMPL_IF freeip>
21<a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=assign&amp;block=<TMPL_VAR NAME=id>&amp;parent=<TMPL_VAR NAME=parent>&amp;fbtype=i"><TMPL_VAR NAME=block></a>
22<TMPL_ELSE>
23<a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=edit&amp;id=<TMPL_VAR NAME=id>&amp;basetype=<TMPL_VAR NAME=basetype>"><TMPL_VAR NAME=block></a><TMPL_IF ispool>&nbsp; <a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=listpool&amp;pool=<TMPL_VAR NAME=id>">List IPs</a></TMPL_IF>
24</TMPL_IF>
25</td>
26<td><TMPL_VAR NAME=custid></td>
27<td><TMPL_VAR NAME=disptype></td>
28<td><TMPL_VAR NAME=city></td>
29<td><TMPL_VAR NAME=desc></td>
30</tr>
31</TMPL_LOOP>
32
33<tr><td colspan="5">Total records found: <TMPL_VAR NAME=resfound><br><i>Displaying: <TMPL_VAR NAME=resstart> - <TMPL_VAR
34NAME=resstop></i></td></tr>
35</table>
36
37<TMPL_IF multipage>
38<div class="center">Page:
39<TMPL_LOOP NAME=pgnums><TMPL_IF thispage><b><TMPL_VAR NAME=pgnum>&nbsp;</b><TMPL_ELSE><a href="<TMPL_VAR NAME=webpath>/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>
40</TMPL_LOOP>
41</div>
42</TMPL_IF>
43
44</div>
45</TMPL_IF>
Note: See TracBrowser for help on using the repository browser.