1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
3 (c) 2005 U.S. Robotics Corporation
7 <title>Statistics » LAN</title>
9 <link href="usr_main.css" rel="stylesheet" type="text/css">
10 <link href="usr_menus.css" rel="stylesheet" type="text/css"><script src="usr_menus.js" type="text/javascript"></script><script src="usr_menus_build.js" type="text/javascript"></script>
11 <script src="usr_common.js" type="text/javascript"></script>
13 <meta http-equiv='Pragma' content='no-cache'>
14 <meta http-equiv="refresh" content="15">
17 <script type="text/javascript">
20 setPageTitle("<%ejGetWlJS(wlInterface)%>");
23 var updateIfc = '<%ejFncCmd(stsifcupdate)%>';
26 function resetClick() {
27 var loc = 'statsifcreset.html';
29 var code = 'location = "' + loc + '"';
36 <body onload="initMenu(); frmLoad();">
38 <script type="text/javascript">
39 writeHeader("Statistics");
44 <table border="1" cellpadding="2" cellspacing="0">
47 <th colspan="4">Received</th>
48 <th colspan="4">Transmitted</th>
61 <script type="text/javascript">
64 var numEnet = '<%ejGetJS(numEnet)%>';
65 var brdId = '<%ejGetJS(boardID)%>';
68 if ( numEnet == '2' ) {
69 dispName = getUNameByLName(brdId + '|eth1');
70 document.writeln(" <tr>");
71 document.writeln(" <th>Ethernet " + dispName + "</th>");
72 document.writeln(" <td><%ejGetOther(stsifcget, 3, 0)%></td>");
73 document.writeln(" <td><%ejGetOther(stsifcget, 3, 1)%></td>");
74 document.writeln(" <td><%ejGetOther(stsifcget, 3, 2)%></td>");
75 document.writeln(" <td><%ejGetOther(stsifcget, 3, 3)%></td>");
76 document.writeln(" <td><%ejGetOther(stsifcget, 3, 4)%></td>");
77 document.writeln(" <td><%ejGetOther(stsifcget, 3, 5)%></td>");
78 document.writeln(" <td><%ejGetOther(stsifcget, 3, 6)%></td>");
79 document.writeln(" <td><%ejGetOther(stsifcget, 3, 7)%></td>");
80 document.writeln(" </tr>");
81 dispName = getUNameByLName(brdId + '|eth0');
82 document.writeln(" <tr>");
83 document.writeln(" <th>Ethernet " + dispName + "</th>");
84 document.writeln(" <td><%ejGetOther(stsifcget, 0, 0)%></td>");
85 document.writeln(" <td><%ejGetOther(stsifcget, 0, 1)%></td>");
86 document.writeln(" <td><%ejGetOther(stsifcget, 0, 2)%></td>");
87 document.writeln(" <td><%ejGetOther(stsifcget, 0, 3)%></td>");
88 document.writeln(" <td><%ejGetOther(stsifcget, 0, 4)%></td>");
89 document.writeln(" <td><%ejGetOther(stsifcget, 0, 5)%></td>");
90 document.writeln(" <td><%ejGetOther(stsifcget, 0, 6)%></td>");
91 document.writeln(" <td><%ejGetOther(stsifcget, 0, 7)%></td>");
92 document.writeln(" </tr>");
95 document.writeln(" <tr>");
96 document.writeln(" <th>Ethernet</th>");
97 document.writeln(" <td><%ejGetOther(stsifcget, 0, 0)%></td>");
98 document.writeln(" <td><%ejGetOther(stsifcget, 0, 1)%></td>");
99 document.writeln(" <td><%ejGetOther(stsifcget, 0, 2)%></td>");
100 document.writeln(" <td><%ejGetOther(stsifcget, 0, 3)%></td>");
101 document.writeln(" <td><%ejGetOther(stsifcget, 0, 4)%></td>");
102 document.writeln(" <td><%ejGetOther(stsifcget, 0, 5)%></td>");
103 document.writeln(" <td><%ejGetOther(stsifcget, 0, 6)%></td>");
104 document.writeln(" <td><%ejGetOther(stsifcget, 0, 7)%></td>");
105 document.writeln(" </tr>");
108 var enblUsb = '<%ejGetJS(enblUsb)%>';
110 if ( enblUsb == '1' ) {
111 document.writeln(" <tr>");
112 document.writeln(" <th>USB</th>");
113 document.writeln(" <td><%ejGetOther(stsifcget, 1, 0)%></td>");
114 document.writeln(" <td><%ejGetOther(stsifcget, 1, 1)%></td>");
115 document.writeln(" <td><%ejGetOther(stsifcget, 1, 2)%></td>");
116 document.writeln(" <td><%ejGetOther(stsifcget, 1, 3)%></td>");
117 document.writeln(" <td><%ejGetOther(stsifcget, 1, 4)%></td>");
118 document.writeln(" <td><%ejGetOther(stsifcget, 1, 5)%></td>");
119 document.writeln(" <td><%ejGetOther(stsifcget, 1, 6)%></td>");
120 document.writeln(" <td><%ejGetOther(stsifcget, 1, 7)%></td>");
121 document.writeln(" </tr>");
124 var ifc = '<%ejGetWlJS(wlInterface)%>';
127 document.writeln(" <tr>");
128 document.writeln(" <th>Wireless</th>");
129 document.writeln(" <td><%ejGetOther(stsifcget, 2, 0)%></td>");
130 document.writeln(" <td><%ejGetOther(stsifcget, 2, 1)%></td>");
131 document.writeln(" <td><%ejGetOther(stsifcget, 2, 2)%></td>");
132 document.writeln(" <td><%ejGetOther(stsifcget, 2, 3)%></td>");
133 document.writeln(" <td><%ejGetOther(stsifcget, 2, 4)%></td>");
134 document.writeln(" <td><%ejGetOther(stsifcget, 2, 5)%></td>");
135 document.writeln(" <td><%ejGetOther(stsifcget, 2, 6)%></td>");
136 document.writeln(" <td><%ejGetOther(stsifcget, 2, 7)%></td>");
137 document.writeln(" </tr>");
143 <p><input type='button' onClick='resetClick()' value='Reset Statistics'></p>
145 <script type="text/javascript">