source: trunk/templates/whoisq.tmpl@ 69

Last change on this file since 69 was 48, checked in by Kris Deugau, 15 years ago

/trunk

WHOIS query is functional - requires Net::Whois::Raw and Text::Wrap (idjit

WHOIS servers return (very-)long-line respones sometimes)

Added proper template for WHOIS, removed copy-of-VegaDNS-output version

File size: 1.1 KB
RevLine 
[48]1<!-- <TMPL_VAR NAME=sid> -->
2<table class="wholepage"><tr>
3<TMPL_INCLUDE NAME="menu.tmpl">
4
5<td align="center">
6
7<TMPL_IF errmsg><div class="errmsg">Query error: <TMPL_VARNAME=errmsg></div></TMPL_IF>
8
9<form action="dns.cgi" method="post">
10<fieldset>
11<input type="hidden" name="sid" value="<TMPL_VAR NAME=sid>" />
12<input type="hidden" name="page" value="whoisq" />
13<input type="hidden" name="askaway" value="y" />
14
15<table>
16<tr class="tableheader"><td align="center" colspan="2">WHOIS Query</td></tr>
17<tr class="datalinelight">
18 <td>Host/Name:</td>
19 <td><input name="qfor" value="<TMPL_VAR NAME=qfor>" /></td>
20</tr>
21<tr class="datalinelight"><td align="center" colspan="2"><input type="submit" value=" Query WHOIS " /></td></tr>
22</table>
23
24</fieldset>
25</form>
26
27<br />
28<TMPL_IF dominfo>
29<table>
30<tr class="tableheader"><td>Query:</td></tr>
31<tr class="datalinelight">
32 <td>
33 <TMPL_VAR NAME=qfor>
34 </td>
35</tr>
36<tr class="tableheader"><td>Response from <TMPL_VAR NAME=whois_server>:</td></tr>
37<tr class="datalinelight" valign="top">
38<td><pre><TMPL_VAR NAME=dominfo>
39</pre></td>
40</tr>
41</table>
42</TMPL_IF>
43
44</td>
45</tr>
46</table>
Note: See TracBrowser for help on using the repository browser.