some new htm test files for other status pages
[linksys-wrt3g-tools.git] / tests / status_router.htm
1
2 <!--
3 *********************************************************
4 *   Copyright 2003, CyberTAN  Inc.  All Rights Reserved *
5 *********************************************************
6
7 This is UNPUBLISHED PROPRIETARY SOURCE CODE of CyberTAN Inc.
8 the contents of this file may not be disclosed to third parties,
9 copied or duplicated in any form without the prior written
10 permission of CyberTAN Inc.
11
12 This software should be used as a reference only, and it not
13 intended for production use!
14
15
16 THIS SOFTWARE IS OFFERED "AS IS", AND CYBERTAN GRANTS NO WARRANTIES OF ANY
17 KIND, EXPRESS OR IMPLIED, BY STATUTE, COMMUNICATION OR OTHERWISE.  CYBERTAN
18 SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS
19 FOR A SPECIFIC PURPOSE OR NONINFRINGEMENT CONCERNING THIS SOFTWARE
20 -->
21
22
23 <HTML><HEAD><TITLE>Router Status</TITLE>
24 <meta http-equiv="expires" content="0">
25 <meta http-equiv="cache-control" content="no-cache">
26 <meta http-equiv="pragma" content="no-cache">
27
28 <meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
29
30 <link rel="stylesheet" type="text/css" href="style.css">
31 <style fprolloverstyle>
32 A:hover {color: #00FFFF}
33 .small A:hover {color: #00FFFF}
34 </style>
35
36 <SCRIPT src="common.js"></SCRIPT>
37 <SCRIPT language="Javascript" type="text/javascript" src="lang_pack/capsec.js"></SCRIPT>
38 <SCRIPT language="javascript" type="text/javascript" src="lang_pack/share.js"></SCRIPT>
39 <SCRIPT language="javascript" type="text/javascript" src="lang_pack/help.js"></SCRIPT>
40 <SCRIPT language="javascript" type="text/javascript" src="lang_pack/capwrt54g.js"></SCRIPT>
41 <SCRIPT language="Javascript" type="text/javascript" src="lang_pack/capstatus.js"></SCRIPT>
42 <SCRIPT language="Javascript" type="text/javascript" src="lang_pack/capsetup.js"></SCRIPT>
43 <SCRIPT language="Javascript" type="text/javascript" src="lang_pack/layout.js"></SCRIPT>
44 <SCRIPT language="Javascript" type="text/javascript" src="lang_pack/gprs.js"></SCRIPT>
45
46 <SCRIPT language=JavaScript>
47 function DHCPAction(F,I)
48 {
49         F.submit_type.value = I;
50         F.submit_button.value = "Status_Router";
51         F.change_action.value = "gozila_cgi";
52         F.submit();
53 }
54 function Connect(F,I)
55 {
56         F.submit_type.value = I;
57         F.submit_button.value = "Status_Router";
58         F.change_action.value = "gozila_cgi";
59         F.submit();
60 }
61 function init()
62 {
63         
64 }
65 function ShowAlert(M)
66 {
67         var str = "";
68         var mode = "";
69         var wan_ip = "10.146.57.36";
70         var wan_proto = "dhcp";
71         var ac_name = "";
72         var srv_name = "";
73
74         if(document.status.wan_proto.value == "pppoe")
75                 mode = "PPPoE";
76         else if(document.status.wan_proto.value == "l2tp")
77                 mode = "L2TP";
78         else if(document.status.wan_proto.value == "heartbeat")
79                 mode = "HBS";
80         else
81                 mode = "PPTP";
82
83         if(M == "AUTH_FAIL" || M == "PAP_AUTH_FAIL" || M == "CHAP_AUTH_FAIL")
84                 str = mode + hstatrouter2.authfail;
85 //              str = mode + " authentication fail";
86         else if(M == "IP_FAIL" || (M == "TIMEOUT" && wan_ip == "0.0.0.0"))
87                 str = hstatrouter2.noip + mode + hstatrouter2.server;
88 //              str = "Can not get a IP address from " + mode + " server";
89         else if(M == "NEG_FAIL")
90                 str = mode + hstatrouter2.negfail;
91 //              str = mode + " negotication fail";
92         else if(M == "LCP_FAIL")
93                 str = mode + hstatrouter2.lcpfail;
94 //              str = mode + " LCP negotication fail";
95         else if(M == "TCP_FAIL" || (M == "TIMEOUT" && wan_ip != "0.0.0.0" && wan_proto == "heartbeat"))
96                 str = hstatrouter2.tcpfail + mode + hstatrouter2.server;
97 //              str = "Can not build a TCP connection to " + mode + " server";
98         else 
99                 str = hstatrouter2.noconn + mode + hstatrouter2.server;
100 //              str = "Can not connect to " + mode + " server";
101
102         alert(str);
103
104         Refresh();
105 }
106 var value=0;
107 function Refresh()
108 {
109         var refresh_time = "";
110         if(refresh_time == "")  refresh_time = 60000;
111         if (value>=1)
112         {
113                 window.location.replace("Status_Router.asp");
114         }
115         value++;
116         timerID=setTimeout("Refresh()",refresh_time);
117 }
118 function ViewDHCP()
119 {
120         dhcp_win = self.open('DHCPTable.asp','inLogTable','alwaysRaised,resizable,scrollbars,width=720,height=600');
121         dhcp_win.focus();
122 }
123 function localtime()
124 {
125         tmp = "Thu, 16 Dec 2010 23:19:55";
126         if( tmp == "Not Available")
127                 document.write(satusroute.localtime);
128         else
129                 document.write(tmp);
130 }
131 </SCRIPT>
132
133 <BODY onload=init()>
134 <DIV align=center>
135 <FORM name=status method=post action=apply.cgi>
136 <input type=hidden name=submit_button>
137 <input type=hidden name=submit_type>
138 <input type=hidden name=change_action>
139 <input type=hidden name=wan_proto value='dhcp'>
140
141 <TABLE cellSpacing=0 cellPadding=0 width=809 border=0>
142   <TBODY>
143   <TR>
144     <TD width=165><IMG src="image/UI_Linksys.gif" border=0 width="165" height="57"></TD>
145     <TD vAlign=bottom align=left width=540 bgColor=#6666cc><FONT style="FONT-SIZE: 7pt" color=#ffffff><FONT face=Arial><script>Capture(share.firmwarever)</script>&nbsp;:&nbsp;v2.01.03-EM&nbsp;&nbsp;&nbsp;</FONT></FONT></TD>
146     <TD vAlign=bottom align=right width=104 bgColor=#6666cc><IMG src="image/UI_VODAFONE.gif" border=0 width="104" height="57"</TD></TR>
147   <TR>
148     <TD width=808 bgColor=#6666cc colSpan=3><IMG height=11 
149       src="image/UI_10.gif" width=809 
150 border=0></TD></TR></TBODY></TABLE>
151 <TABLE height=77 cellSpacing=0 cellPadding=0 width=809 bgColor=black border=0>
152   <TBODY>
153   <TR>
154     <TD 
155     style="FONT-WEIGHT: normal; FONT-SIZE: 10pt; COLOR: black; FONT-STYLE: normal; FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-VARIANT: normal" 
156     borderColor=#000000 align=middle width=163 height=49>
157       <H3 style="MARGIN-TOP: 1px; MARGIN-BOTTOM: 1px"><FONT 
158       style="FONT-SIZE: 15pt" face=Arial color=#ffffff><script>Capture(bmenu.statu)</script></FONT></H3></TD>
159     <TD 
160     style="FONT-WEIGHT: normal; FONT-SIZE: 10pt; COLOR: black; FONT-STYLE: normal; FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-VARIANT: normal" 
161     vAlign=center borderColor=#000000 width=646 bgColor=#000000 height=49>
162       <TABLE 
163       style="FONT-WEIGHT: normal; FONT-SIZE: 10pt; COLOR: black; FONT-STYLE: normal; FONT-FAMILY: Arial, Helvetica, sans-serif; BORDER-COLLAPSE: collapse; FONT-VARIANT: normal" 
164       height=33 cellSpacing=0 cellPadding=0 bgColor=#6666cc border=0>
165         <TBODY>
166         <TR>
167           <TD style="FONT-WEIGHT: bolder; FONT-SIZE: 10pt" align=right 
168           bgColor=#6666cc height=33><FONT color=#ffffff><script>productname()</script>&nbsp;&nbsp;</FONT></TD>
169           <TD borderColor=#000000 borderColorLight=#000000 align=middle 
170           width=109 bgColor=#000000 borderColorDark=#000000 height=12 
171             rowSpan=2><FONT color=#ffffff><SPAN 
172             style="FONT-SIZE: 8pt"><B>umro</B></SPAN></FONT></TD></TR>
173         <TR>
174           <TD 
175           style="FONT-WEIGHT: normal; FONT-SIZE: 1pt; COLOR: black; FONT-STYLE: normal; FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-VARIANT: normal" 
176           width=537 bgColor=#000000 height=1>&nbsp;</TD></TR>
177         <TR>
178           <TD width=646 bgColor=#000000 colSpan=2 height=32>
179             <TABLE id=AutoNumber1 
180             style="FONT-WEIGHT: normal; FONT-SIZE: 10pt; COLOR: black; FONT-STYLE: normal; FONT-FAMILY: Arial, Helvetica, sans-serif; BORDER-COLLAPSE: collapse; FONT-VARIANT: normal" 
181             height=6 cellSpacing=0 cellPadding=0 width=646 border=0>
182               <TBODY>
183               <TR 
184               style="BORDER-RIGHT: medium none; BORDER-TOP: medium none; FONT-WEIGHT: normal; FONT-SIZE: 1pt; BORDER-LEFT: medium none; COLOR: black; BORDER-BOTTOM: medium none; FONT-STYLE: normal; FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-VARIANT: normal" align=middle bgColor=#6666cc>
185
186 <!--
187                 <TD width=83 height=1><IMG height=10 src="image/UI_06.gif" width=83 border=0></TD>
188                 <TD width=73 height=1><IMG height=10 src="image/UI_06.gif" width=83 border=0></TD>
189                 <TD width=113 height=1><IMG height=10 src="image/UI_06.gif" width=83 border=0></TD>
190                 <TD width=103 height=1><IMG height=10 src="image/UI_06.gif" width=103 border=0></TD>
191                 <TD width=85 height=1><IMG height=10 src="image/UI_06.gif" width=100 border=0></TD>
192                 <TD width=115 height=1><IMG height=10 src="image/UI_06.gif" width=115 border=0></TD>
193                 <TD width=74 height=1><IMG height=10 src="image/UI_07.gif" width=79 border=0></TD>
194 -->
195                 <script>document.write("<TD width=" + ui_06.w1 + " height=8 background=image/UI_06.gif></TD>")</script>
196                 <script>document.write("<TD width=" + ui_06.w2 + " height=8 background=image/UI_06.gif></TD>")</script>
197                 <script>document.write("<TD width=" + ui_06.w3 + " height=8 background=image/UI_06.gif></TD>")</script>
198                 <script>document.write("<TD width=" + ui_06.w4 + " height=8 background=image/UI_06.gif></TD>")</script>
199                 <script>document.write("<TD width=" + ui_06.w5 + " height=8 background=image/UI_06.gif></TD>")</script>
200                 <script>document.write("<TD width=" + ui_06.w6 + " height=8 background=image/UI_06.gif></TD>")</script>
201                 <script>document.write("<TD width=" + ui_06.w7 + " height=8 background=image/UI_07.gif></TD>")</script>
202
203               </TR>
204               <TR>
205                 <TD align=middle bgColor=#000000 height=20><FONT 
206                   style="FONT-WEIGHT: 700" color=#ffffff><A 
207                   style="TEXT-DECORATION: none" 
208                   href="index.asp"><script>Capture(bmenu.setup)</script></A></FONT></TD>
209                 <TD align=middle bgColor=#000000 height=20><FONT 
210                   style="FONT-WEIGHT: 700" color=#ffffff>
211                 <a style="TEXT-DECORATION: none" href="Wireless_Basic.asp"><script>Capture(bmenu.wireless)</script></a></FONT></TD>
212                 <TD align=middle bgColor=#000000 height=20><FONT 
213                   style="FONT-WEIGHT: 700" color=#ffffff>
214                 <a style="TEXT-DECORATION: none" href="Firewall.asp"><script>Capture(bmenu.security)</script></a></FONT></TD>
215                 <TD align=middle bgColor=#000000 height=20><FONT 
216                   style="FONT-WEIGHT: 700" color=#ffffff>
217                 <a style="TEXT-DECORATION: none" href="Filters.asp"><script>Capture(bmenu.accrestriction)</script></a></FONT></TD>
218                 <TD align=middle bgColor=#000000 height=20>
219                   <P style="MARGIN-BOTTOM: 4px"><FONT style="FONT-WEIGHT: 700" 
220                   color=#ffffff>
221                   <a style="TEXT-DECORATION: none" href="Forward.asp"><script>Capture(bmenu.applications)</script> <BR>&amp; <script>Capture(bmenu.gaming)</script></a>&nbsp;&nbsp;&nbsp;&nbsp;</FONT></P></TD>
222                 <TD align=middle bgColor=#000000 height=20>
223                   <P style="MARGIN-BOTTOM: 4px"><FONT style="FONT-WEIGHT: 700" 
224                   color=#ffffff>
225                   <a style="TEXT-DECORATION: none" href="Management.asp"><script>Capture(bmenu.admin)</script></a>&nbsp;&nbsp;&nbsp;&nbsp;</FONT></P></TD>
226                 <TD align=middle bgColor=#6666cc height=20>
227                   <P style="MARGIN-BOTTOM: 4px"><FONT style="FONT-WEIGHT: 700" 
228                   color=#ffffff><script>Capture(bmenu.statu)</script>&nbsp;&nbsp;&nbsp;&nbsp;</FONT></P></TD>
229               </TR>
230               <TR>
231                 <TD width=643 bgColor=#6666cc colSpan=7 height=21>
232                   <TABLE borderColor=black height=21 cellSpacing=0 cellPadding=0 width=643>
233                     <TBODY>
234                     <TR align=left>
235
236                       <script>document.write("<TD width=" + sta_width.w7 + "></TD>")</script>
237                       <script>document.write("<TD class=small width=" + sta_width.w8 + ">")</script>
238                       <!-- A href="Status_Wwan.asp"><script>Capture(GPRS_MSG.WWAN)</script></A></TD -->
239                       <A href="Status_Wwan.asp">3G/UMTS</A></TD>
240                       <TD width=1 align=center><P class=bar><font color='white'><b>|</b></font></P></TD>
241
242                       <!-- TD width=25></TD -->
243                       <script>document.write("<TD width=" + sta_width.w1 + "></TD>")</script>
244
245                       <!-- TD class=small width=65 -->
246                       <script>document.write("<TD class=small width=" + sta_width.w2 + ">")</script>
247                       <FONT style="COLOR: white"><script>Capture(share.router)</script></FONT></TD>
248
249                       <TD width=1 align=center><P class=bar><font color='white'><b>|</b></font></P></TD>
250
251                       <!-- TD width=25></TD -->
252                       <script>document.write("<TD width=" + sta_width.w3 + "></TD>")</script>
253
254                       <!-- TD width=100 -->
255                       <script>document.write("<TD class=small width=" + sta_width.w4 + ">")</script>
256                       <A href="Status_Lan.asp"><script>Capture(statopmenu.localnet)</script></A></TD>
257
258                       <TD width=1 align=center><P class=bar><font color='white'><b>|</b></font></P></TD>
259
260                       <!-- TD width=25></TD -->
261                       <script>document.write("<TD width=" + sta_width.w5 + "></TD>")</script> 
262
263                       <!-- TD class=small width=100 -->
264                       <script>document.write("<TD class=small width=" + sta_width.w6 + ">")</script>
265                       <span>&nbsp;</span><A href="Status_Wireless.asp"><script>Capture(bmenu.wireless)</script></A></TD>
266
267 <!--
268                       <TD width=1 align=center><P class=bar><font color='white'><b>|</b></font></P></TD>
269
270                       <script>document.write("<TD width=" + sta_width.w7 + "></TD>")</script>  
271
272                       <script>document.write("<TD class=small width=" + sta_width.w8 + ">")</script>  
273                       <A href="Status_Performance.asp">System Performance</A></TD>
274 -->
275                       <TD>&nbsp;</TD>
276                     </TR>
277                     </TBODY>
278                   </TABLE>
279                 </TD>
280               </TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
281 <TABLE height=5 cellSpacing=0 cellPadding=0 width=806 bgColor=black border=0>
282   <TBODY>
283   <TR bgColor=black>
284     <TD 
285     style="FONT-WEIGHT: normal; FONT-SIZE: 10pt; COLOR: black; FONT-STYLE: normal; FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-VARIANT: normal" 
286     borderColor=#e7e7e7 width=163 bgColor=#e7e7e7 height=1><IMG height=15 
287       src="image/UI_03.gif" width=164 border=0></TD>
288     <TD 
289     style="FONT-WEIGHT: normal; FONT-SIZE: 10pt; COLOR: black; FONT-STYLE: normal; FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-VARIANT: normal" 
290     width=646 height=1><IMG height=15 src="image/UI_02.gif" 
291       width=645 border=0></TD></TR></TBODY></TABLE>
292 <TABLE id=AutoNumber9 style="BORDER-COLLAPSE: collapse" borderColor=#111111 
293 height=23 cellSpacing=0 cellPadding=0 width=809 border=0>
294   <TBODY>
295   <TR>
296     <TD width=633>
297       <TABLE height=100% cellSpacing=0 cellPadding=0 border=0>
298         <TBODY>
299         <TR>
300           <TD width=156 bgColor=#000000 height=25>
301             <P align=right><B><FONT style="FONT-SIZE: 9pt" face=Arial 
302             color=#ffffff><script>Capture(staleftmenu.routerinfo)</script></B></P></TD>
303           <TD width=8 bgColor=#000000 height=25>&nbsp;</TD>
304           <TD width=14 height=25>&nbsp;</TD>
305           <TD width=17 height=25>&nbsp;</TD>
306           <TD width=13 height=25>&nbsp;</TD>
307           <TD width=101 height=25>&nbsp;</TD>
308           <TD width=296 height=25>&nbsp;</TD>
309           <TD width=13 height=25>&nbsp;</TD>
310           <TD width=15 background=image/UI_05.gif height=25>&nbsp;</TD></TR>
311         <TR>
312           <TD width=156 bgColor=#e7e7e7 height=25>&nbsp;</TD>
313           <TD width=8 background=image/UI_04.gif height=25>&nbsp;</TD>
314           <TD colSpan=3 height=25>&nbsp;</TD>
315           <TD width=101 height=25><script>Capture(share.firmwarever)</script>&nbsp;:&nbsp;</TD>
316           <TD><B>v2.01.03-EM, Jan. 11, 2008</B></TD>
317           <TD width=13 height=25>&nbsp;</TD>
318           <TD width=15 background=image/UI_05.gif height=25>&nbsp;</TD></TR>
319         <TR>
320           <TD width=156 bgColor=#e7e7e7 height=25>&nbsp;</TD>
321           <TD width=8 background=image/UI_04.gif height=25>&nbsp;</TD>
322           <TD colSpan=3 height=25>&nbsp;</TD>
323           <TD width=101 height=25><script>Capture(stacontent.curtime)</script>&nbsp;:&nbsp;</TD>
324           <!-- TD><b>Thu, 16 Dec 2010 23:19:55</b></TD -->
325           <TD><b><script>localtime();</script></b></TD>
326           <TD width=13 height=25>&nbsp;</TD>
327           <TD width=15 background=image/UI_05.gif height=25>&nbsp;</TD></TR>
328         <TR>
329           <TD width=156 bgColor=#e7e7e7 height=25>&nbsp;</TD>
330           <TD width=8 background=image/UI_04.gif height=25>&nbsp;</TD>
331           <TD colSpan=3 height=25>&nbsp;</TD>
332           <TD width=101 height=25><script>Capture(share.macaddr)</script>&nbsp;:&nbsp;</TD>
333           <TD><b>00:23:17:42:2A:00</b></TD>
334           <TD width=13 height=25>&nbsp;</TD>
335           <TD width=15 background=image/UI_05.gif height=25>&nbsp;</TD></TR>
336         <TR>
337           <TD width=156 bgColor=#e7e7e7 height=25>&nbsp;</TD>
338           <TD width=8 background=image/UI_04.gif height=25>&nbsp;</TD>
339           <TD colSpan=3 height=25>&nbsp;</TD>
340           <TD width=101 height=25><script>Capture(share.routename)</script>&nbsp;:&nbsp;</TD>
341           <TD><b>umro&nbsp;</b></TD>
342           <TD width=13 height=25>&nbsp;</TD>
343           <TD width=15 background=image/UI_05.gif height=25>&nbsp;</TD></TR>
344         <TR>
345           <TD width=156 bgColor=#e7e7e7 height=25>&nbsp;</TD>
346           <TD width=8 background=image/UI_04.gif height=25>&nbsp;</TD>
347           <TD colSpan=3 height=25>&nbsp;</TD>
348           <TD width=101 height=25><script>Capture(share.hostname)</script>&nbsp;:&nbsp;</TD>
349           <TD><b>umro&nbsp;</b></TD>
350           <TD width=13 height=25>&nbsp;</TD>
351           <TD width=15 background=image/UI_05.gif height=25>&nbsp;</TD></TR>
352
353         <TR>
354           <TD width=156 bgColor=#e7e7e7 height=25>&nbsp;</TD>
355           <TD width=8 background=image/UI_04.gif height=25>&nbsp;</TD>
356           <TD colSpan=3 height=25>&nbsp;</TD>
357           <TD width=101 height=25><script>Capture(share.domainname)</script>&nbsp;:&nbsp;</TD>
358           <TD><b>
359 <script language=javascript>
360 if("" != "") {
361         document.write("");
362 }
363 else {
364         document.write("");
365 }
366 </script>
367 </b></TD>
368           <TD width=13 height=25>&nbsp;</TD>
369           <TD width=15 background=image/UI_05.gif height=25>&nbsp;</TD></TR>
370         <TR>
371           <TD width=156 bgColor=#000000 height=25>
372             <P align=right><B><FONT style="FONT-SIZE: 9pt" 
373             color=#ffffff><span ><script>Capture(share.internet)</script></span></FONT></B></P></TD>
374           <TD width=8 bgColor=#000000 height=25>&nbsp;</TD>
375           <TD colSpan=6>&nbsp;</TD>
376           <TD width=15 background=image/UI_05.gif 
377           height=25>&nbsp;</TD></TR>
378
379 <!--
380
381         <TR>
382           <TD width=156 bgColor=#e7e7e7 height=25>
383           <p align="right"><FONT 
384 style='FONT-WEIGHT: 700'><span ><script>Capture(share.cfgtype)</script></span></FONT></TD>
385           <TD width=8 background=image/UI_04.gif 
386           height=25>&nbsp;</TD>
387           <TD colSpan=3 height=25>&nbsp;</TD>
388           <TD width=101 height=25><span><script>Capture(stacontent.logtype)</script></span>&nbsp;:&nbsp;</TD>
389           <TD><b><script>Capture(setupcontent.dhcp)</script></b></TD>
390           <TD width=13 height=25>&nbsp;</TD>
391           <TD width=15 background=image/UI_05.gif height=25>&nbsp;</TD></TR>
392
393 -->
394
395
396
397         <TR>
398           <TD width=156 bgColor=#e7e7e7 height=25>
399           <p align="right"><FONT 
400 style='FONT-WEIGHT: 700'><span ><script>Capture(share.cfgtype)</script></span></FONT></TD>
401           <TD width=8 background=image/UI_04.gif 
402           height=25>&nbsp;</TD>
403           <TD colSpan=3 height=25>&nbsp;</TD>
404           <TD width=101 height=25><span><script>Capture(stacontent.logtype)</script></span>&nbsp;:&nbsp;</TD>
405           <TD><b><script>Capture(GPRS_MSG.UMTSGPRS)</script></b></TD>
406           <TD width=13 height=25>&nbsp;</TD>
407           <TD width=15 background=image/UI_05.gif height=25>&nbsp;</TD></TR>
408
409
410
411
412 <!--
413 *********************************************************
414 *   Copyright 2003, CyberTAN  Inc.  All Rights Reserved *
415 *********************************************************
416
417 This is UNPUBLISHED PROPRIETARY SOURCE CODE of CyberTAN Inc.
418 the contents of this file may not be disclosed to third parties,
419 copied or duplicated in any form without the prior written
420 permission of CyberTAN Inc.
421
422 This software should be used as a reference only, and it not
423 intended for production use!
424
425
426 THIS SOFTWARE IS OFFERED "AS IS", AND CYBERTAN GRANTS NO WARRANTIES OF ANY
427 KIND, EXPRESS OR IMPLIED, BY STATUTE, COMMUNICATION OR OTHERWISE.  CYBERTAN
428 SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS
429 FOR A SPECIFIC PURPOSE OR NONINFRINGEMENT CONCERNING THIS SOFTWARE
430 -->
431
432 <!--
433         <TR>
434           <TD width=156 bgColor=#e7e7e7 height=25>&nbsp;</TD>
435           <TD width=8 background=image/UI_04.gif height=25>&nbsp;</TD>
436           <TD colSpan=3 height=25>&nbsp;</TD>
437           <TD><FONT style="FONT-SIZE: 8pt"><script>Capture(stacontent.logsta)</script>&nbsp;:&nbsp;</FONT></TD>
438           <TD><FONT style="FONT-SIZE: 8pt"><B>
439 <script language=javascript>
440         var status1 = "Disable";
441         var status2 = "&nbsp;";
442         if(status1 == "Status")         status1 = bmenu.statu;
443         if(status2 == "Connecting")     status2 = hstatrouter2.connecting;
444         else    if(status2 == "Disconnected")   status2 = hstatrouter2.disconnected;
445         else    if(status2 == "Connected")      status2 = stacontent.conn;
446         document.write(status2);
447         document.write("&nbsp;&nbsp;");
448
449         var but_arg = "";
450         var wan_proto = "dhcp";
451         var but_type = "";
452         if(but_arg == "Connect")        but_value = stacontent.connect;
453         else if(but_arg == "Disconnect")        but_value = hstatrouter2.disconnect;
454         but_type = but_arg +"_" + wan_proto;
455         document.write("<INPUT type=button value='"+but_value+"' onClick=Connect(this.form,'"+but_type+"')>");
456 </script>
457 </B></FONT></TD>
458           <TD width=13 height=25>&nbsp;</TD>
459           <TD width=15 background=image/UI_05.gif height=25>&nbsp;</TD></TR>
460 -->        
461         <TR>
462           <TD width=156 bgColor=#e7e7e7 height=25>&nbsp;</TD>
463           <TD width=8 background=image/UI_04.gif height=25>&nbsp;</TD>
464           <TD colSpan=3 height=25>&nbsp;</TD>
465           <TD><FONT style="FONT-SIZE: 8pt"><script>Capture(share.ipaddr)</script>&nbsp;:&nbsp;</FONT></TD>
466           <TD><FONT style="FONT-SIZE: 8pt"><B>
467                                            <script>
468                                                         if( '' == 'LINK_OFF' )
469                                                         {
470                                                                 document.write("0.0.0.0");
471                                                         }
472                                                         else
473                                                         {
474                                                                 document.write('10.146.57.36');
475                                                         }
476                                            </script>
477                                            </B></FONT></TD>
478           <TD width=13 height=25>&nbsp;</TD>
479           <TD width=15 background=image/UI_05.gif height=25>&nbsp;</TD></TR>
480         <TR>
481           <TD width=156 bgColor=#e7e7e7 height=25>&nbsp;</TD>
482           <TD width=8 height=25><IMG height=30 
483             src="image/UI_04.gif" width=8 border=0></TD>
484           <TD bgColor=#ffffff colSpan=3 height=25>&nbsp;</TD>
485           <TD width=101 bgColor=#ffffff height=25><FONT 
486             style="FONT-SIZE: 8pt"><script>Capture(share.submask)</script>&nbsp;:&nbsp;</FONT></TD>
487           <TD width=296 bgColor=#ffffff height=25><FONT 
488             style="FONT-SIZE: 8pt"><B>
489                                    <script>
490                                                 if( '' == 'LINK_OFF' )
491                                                 {
492                                                         document.write("0.0.0.0");
493                                                 }
494                                                 else
495                                                 {
496                                                         document.write('255.255.255.255');
497                                                 }
498                                    </script>
499                                    </B></FONT></TD>
500           <TD width=13 bgColor=#ffffff height=25>&nbsp;</TD>
501           <TD width=15 bgColor=#ffffff height=25><IMG height=30 
502             src="image/UI_05.gif" width=15 border=0></TD></TR>
503         <TR>
504           <TD width=156 bgColor=#e7e7e7 height=25>&nbsp;</TD>
505           <TD width=8 height=25><IMG height=30 
506             src="image/UI_04.gif" width=8 border=0></TD>
507           <TD bgColor=#ffffff colSpan=3 height=25>&nbsp;</TD>
508           <TD width=101 bgColor=#ffffff height=25><FONT 
509             style="FONT-SIZE: 8pt"><script>Capture(share.defgateway)</script>&nbsp;:&nbsp;</FONT></TD>
510           <TD width=296 bgColor=#ffffff height=25><FONT 
511             style="FONT-SIZE: 8pt"><B>
512                                    <script>
513                                                 if( '' == 'LINK_OFF' )
514                                                 {
515                                                         document.write("0.0.0.0");
516                                                 }
517                                                 else
518                                                 {
519                                                         document.write('10.64.64.64');
520                                                 }
521                                    </script>
522                                    </B></FONT></TD>
523           <TD width=13 bgColor=#ffffff height=25>&nbsp;</TD>
524           <TD width=15 bgColor=#ffffff height=25><IMG height=30 
525             src="image/UI_05.gif" width=15 border=0></TD></TR>
526         <TR>
527           <TD width=156 bgColor=#e7e7e7 height=25>&nbsp;</TD>
528           <TD width=8 background=image/UI_04.gif 
529           height=25>&nbsp;</TD>
530           <TD colSpan=3 height=25>&nbsp;</TD>
531           <TD><FONT style="FONT-SIZE: 8pt"><script>Capture(share.dns)</script> 1&nbsp;:&nbsp;</FONT></TD>
532           <TD><FONT style="FONT-SIZE: 8pt"><B>
533                                            <script>
534                                                         if( '' == 'LINK_OFF' )
535                                                         {
536                                                                 document.write("0.0.0.0");
537                                                         }
538                                                         else
539                                                         {
540                                                                 document.write('212.23.97.2');
541                                                         }
542                                            </script>
543                                            </B></FONT></TD>
544           <TD width=13 height=25>&nbsp;</TD>
545           <TD width=15 background=image/UI_05.gif 
546           height=25>&nbsp;</TD></TR>
547         <TR>
548           <TD width=156 bgColor=#e7e7e7 height=25>&nbsp;</TD>
549           <TD width=8 background=image/UI_04.gif 
550           height=25>&nbsp;</TD>
551           <TD colSpan=3 height=25>&nbsp;</TD>
552           <TD height=25><FONT style="FONT-SIZE: 8pt"><script>Capture(share.dns)</script> 2&nbsp;:&nbsp;</FONT></TD>
553           <TD height=25><FONT style="FONT-SIZE: 8pt"><B>
554                                                      <script>
555                                                                 if( '' == 'LINK_OFF' )
556                                                                 {
557                                                                         document.write("0.0.0.0");
558                                                                 }
559                                                                 else
560                                                                 {
561                                                                         document.write('212.23.97.3');
562                                                                 }
563                                                      </script>
564                                                      </B></FONT></TD>
565           <TD width=13 height=25>&nbsp;</TD>
566           <TD width=15 background=image/UI_05.gif 
567           height=25>&nbsp;</TD></TR>
568         <TR>
569           <TD width=156 bgColor=#e7e7e7 height=25>&nbsp;</TD>
570           <TD width=8 background=image/UI_04.gif 
571           height=25>&nbsp;</TD>
572           <TD colSpan=3 height=25>&nbsp;</TD>
573           <TD height=25><FONT style="FONT-SIZE: 8pt"><script>Capture(share.dns)</script> 3&nbsp;:&nbsp;</FONT></TD>
574           <TD height=25><FONT style="FONT-SIZE: 8pt"><B>
575                                                      <script>
576                                                                 if( '' == 'LINK_OFF' )
577                                                                 {
578                                                                         document.write("0.0.0.0");
579                                                                 }
580                                                                 else
581                                                                 {
582                                                                         document.write('');
583                                                                 }
584                                                      </script>
585                                                      </B></FONT></TD>
586           <TD width=13 height=25>&nbsp;</TD>
587           <TD width=15 background=image/UI_05.gif height=25>&nbsp;</TD></TR>        
588         <TR>
589           <TD width=156 bgColor=#e7e7e7 height=25>&nbsp;</TD>
590           <TD width=8 background=image/UI_04.gif 
591           height=25>&nbsp;</TD>
592           <TD colSpan=3 height=25>&nbsp;</TD>
593           <TD height=25><FONT style="FONT-SIZE: 8pt"><script>Capture(share.mtu)</script>&nbsp;:&nbsp;</FONT></TD>
594           <TD height=25><FONT style="FONT-SIZE: 8pt"><B>
595                                                      <script>
596                                                                 if( '' == 'LINK_OFF' )
597                                                                 {
598                                                                         document.write("0");
599                                                                 }
600                                                                 else
601                                                                 {
602                                                                         document.write('1500');
603                                                                 }
604                                                      </script>
605                                                      </B></FONT></TD>
606           <TD width=13 height=25>&nbsp;</TD>
607           <TD width=15 background=image/UI_05.gif height=25>&nbsp;</TD></TR>        
608
609 <!--
610         <TR>
611           <TD width=156 bgColor=#e7e7e7 height=25>&nbsp;</TD>
612           <TD width=8 background=image/UI_04.gif height=25>&nbsp;</TD>
613           <TD colSpan=3 height=25>&nbsp;</TD>
614           <TD height=25><FONT style="FONT-SIZE: 8pt"><script>Capture(GPRS_MSG.CTIME)</script>&nbsp;:&nbsp;</FONT></TD>
615           <TD height=25><FONT style="FONT-SIZE: 8pt"><B>0 <script>Capture(GPRS_MSG.HOURS)</script> 3 <script>Capture(GPRS_MSG.MINUTE)</script> 15 <script>Capture(GPRS_MSG.SECOND)</script></B></FONT></TD>
616           <TD width=13 height=25>&nbsp;</TD>
617           <TD width=15 background=image/UI_05.gif height=25>&nbsp;</TD></TR>        
618 -->
619
620
621         <TR>
622           <TD width=156 bgColor=#e7e7e7 height=25>&nbsp;</TD>
623           <TD width=8 background=image/UI_04.gif height=25>&nbsp;</TD>
624           <TD width=14 height=25></TD>
625           <TD colSpan=4 height=25><HR color=#b5b5e6 SIZE=1></TD>
626           <TD width=13 height=25>&nbsp;</TD>
627           <TD width=15 background=image/UI_05.gif height=25>&nbsp;</TD></TR>                
628
629         <TR>
630           <TD width=156 bgColor=#e7e7e7 height=25>&nbsp;</TD>
631           <TD width=8 background=image/UI_04.gif height=25>&nbsp;</TD>
632           <TD colSpan=3 height=25>&nbsp;</TD>
633           <TD colSpan=2 height=25>
634
635 <!-- % nvram_match("wan_proto", "dhcp", "<INPUT onclick=DHCPAction(this.form,'release') type=button value='DHCP Release'>&nbsp;&nbsp;&nbsp;&nbsp;<INPUT onclick=DHCPAction(this.form,'renew') type=button value='DHCP Renew'>"); % -->
636
637 <!-- % nvram_invmatch("wan_proto", "dhcp", "<!- -"); %  --> 
638
639 <script>
640         if ( ('1' == '1') || ('dhcp' != 'dhcp') ) {
641                 document.write("<!--");
642         }
643
644 document.write("<INPUT onclick=DHCPAction(this.form,\'release\') type=button name=dhcp_release value=\"" + stabutton.dhcprelease + "\">");
645
646 document.write("<INPUT onclick=DHCPAction(this.form,\'renew\') type=button name=dhcp_renew value=\"" + stabutton.dhcprenew + "\">");
647
648         if ( ('1' == '1') || ('dhcp' != 'dhcp') ) {
649                 document.write("-->");
650         }
651 </script>
652
653 <!-- % nvram_invmatch("wan_proto", "dhcp", "- ->"); % --> 
654
655     &nbsp;</TD>
656           <TD width=13 height=25>&nbsp;</TD>
657           <TD width=15 background=image/UI_05.gif height=25>&nbsp;</TD></TR>  
658         <TR>
659           <TD width=156 bgColor=#e7e7e7>&nbsp;</TD>
660           <TD width=8 background=image/UI_04.gif>&nbsp;</TD>
661           <TD colSpan=6>&nbsp;</TD>
662           <TD width=15 background=image/UI_05.gif>&nbsp;</TD></TR></TBODY></TABLE></TD>
663
664     <TD vAlign=top width=176 bgColor=#6666cc>
665       <TABLE cellSpacing=0 cellPadding=0 width=176 border=0>
666         <TBODY>
667         <TR>
668           <TD width=11 bgColor=#6666cc height=25>&nbsp;</TD>
669           <TD width=156 bgColor=#6666cc height=25><font color="#FFFFFF"><span ><br>
670 <script>Capture(hstatrouter2.right1)</script><br><br>
671 <script>Capture(hstatrouter2.right2)</script><br><br>
672 <script>Capture(hstatrouter2.right3)</script><br><br>
673 <script>Capture(hstatrouter2.right4)</script><br>
674 <b><a target="_blank" href="help/HStatus.asp"><script>Capture(share.more)</script></a></b></span><br><br>
675 <script>Capture(hstatrouter2.right5)</script><br>
676 <b><a target="_blank" href="help/HStatus.asp"><script>Capture(share.more)</script></a></b></span></font></TD>
677           <TD width=9 bgColor=#6666cc 
678   height=25>&nbsp;</TD></TR></TBODY></TABLE></TD></TR>
679   <TR>
680     <TD width=809 colSpan=2>
681       <TABLE cellSpacing=0 cellPadding=0 border=0>
682         <TBODY>
683         <TR>
684           <TD width=156 bgColor=#e7e7e7 height=30>&nbsp;</TD>
685           <TD width=8 background=image/UI_04.gif>&nbsp;</TD>
686           <TD width=454>&nbsp;</TD>
687           <!--TD width=15 background=image/UI_05.gif>&nbsp;</TD-->
688           <TD width=176 bgColor=#6666cc rowSpan=2 colspan=2>
689           <IMG src="image/rh_cisco.gif" border=0 width="191" height="64"></TD></TR>
690         <TR>
691           <TD width=156 bgColor=#000000>&nbsp;</TD>
692           <TD width=8 bgColor=#000000>&nbsp;</TD>
693           <TD width=454 bgColor=#6666cc align="right">
694
695 <!-- INPUT onclick="window.location.replace('Status_Router.asp')" type=button name="refresh_button" -->
696 <script>document.write("<INPUT onclick=window.location.replace('Status_Router.asp') type=button name=refresh_button value=\"" + sbutton.refresh + "\">");</script>&nbsp;&nbsp;
697
698           </TD>
699           <!--TD width=15 bgColor=#000000 height=33>&nbsp;</TD-->
700 </TR></TBODY></TABLE></TD></TR></TBODY></TABLE></FORM></DIV></BODY></HTML>