3 <meta HTTP-EQUIV='Pragma' CONTENT='no-cache'>
\r
4 <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'>
\r
5 <style type="text/css">
\r
8 margin-left: 12px; margin-top: 0px; FONT-SIZE: 12px ;FONT-FAMILY: Arial, Helvetica, Geneva, Swiss, SunSans-Regular, sans-serif; COLOR: #000000; BACKGROUND-COLOR:#FFFFFF
\r
12 <script language="javascript">
\r
15 var randomNum = '<%ejGet(CheckNum)%>';
\r
17 var msg = new Array();
\r
18 msg[0] = 'New firmware is being programmed to the flash memory. The ADSL Router will reboot upon completion. This process will take about 2 minutes.';
\r
19 msg[1] = 'The firmware upgrade is failed. The system is out of memory.';
\r
20 msg[2] = 'The firmware upgrade is failed. No image file was selected.';
\r
21 msg[3] = 'The firmware upgrade is failed. The selected file contains an illegal image.';
\r
22 msg[4] = 'The firmware upgrade is failed. The selected file contains an illegal image.';
\r
23 msg[5] = 'The firmware upgrade is failed. The selected file contains an illegal image.';
\r
24 msg[6] = 'The firmware upgrade is failed. The selected file contains checksum error.';
\r
25 msg[7] = 'The firmware upgrade is failed. The selected file contains an illegal image.';
\r
27 var idxStr = '<%ejGetOther(sysInfo, upldSts)%>';
\r
29 function getMsgIndex() {
\r
30 var idxNum = parseInt(idxStr);
\r
31 if ( isNaN(idxNum) || idxNum < 0 || idxNum > 7 )
\r
37 var loc = 'index.html';
\r
39 var code = 'window.top.location.href="/';
\r
44 function frmLoad() {
\r
45 setTimeout('reboot()', 130000);
\r
48 function btnBack() {
\r
49 var code = 'window.location.href="/upload.cgi';
\r
50 code += '?checkNum=' + randomNum + '"';
\r
58 <body onLoad='frmLoad()' bgcolor=#ffffff style="padding-top: 10px">
\r
60 <span style="font-size: 10pt; FONT-FAMILY: Arial, Helvetica, Geneva, Swiss, SunSans-Regular, sans-serif;">
\r
61 <b><font style="font-size: 12pt; color: #0099cc">Firmware Upgrade</font></b><br>
\r
63 <hr color="#0099cc" width="98%" align="left">
\r
64 <script language="javascript">
\r
66 var temp=getMsgIndex();
\r
67 document.writeln("<table border='0' cellpadding='0' cellspacing='3' width='98%'>");
\r
69 document.write("<tr><td width='100%'>");
\r
70 document.writeln("<span style='font-size: 10pt; FONT-FAMILY: Arial, Helvetica, Geneva, Swiss, SunSans-Regular, sans-serif;'>");
\r
71 document.write(msg[temp]);
\r
72 document.write("</td></tr>");
\r
73 document.write("</span>");
\r
75 document.write("<tr><td width='100%'>");
\r
76 document.writeln("<span style='font-size: 10pt; color:#ff0000 ;FONT-FAMILY: Arial, Helvetica, Geneva, Swiss, SunSans-Regular, sans-serif;'>");
\r
77 document.write("<b>Warning: DO NOT turn off your router during firmware upgrades.</b>");
\r
78 document.write("</span>");
\r
79 document.write("</td></tr>");
\r
80 document.write("<tr height='40' valign='bottom'><td>");
\r
81 document.write("<span style='font-size: 10pt; FONT-FAMILY: Arial, Helvetica, Geneva, Swiss, SunSans-Regular, sans-serif;'>");
\r
82 document.write("New firmware is received correctly.");
\r
83 document.write("</span>");
\r
84 document.write("</td></tr>");
\r
85 document.write("<tr height='25' valign='bottom'><td>");
\r
86 document.write("<span style='font-size: 10pt; FONT-FAMILY: Arial, Helvetica, Geneva, Swiss, SunSans-Regular, sans-serif;'>");
\r
87 document.write("Saving firmware and then rebooting the router in progress...");
\r
88 document.write("</span>");
\r
89 document.write("</td></tr>");
\r
91 document.writeln("</td></tr></table>");
\r
93 document.writeln("<br>");
\r
94 document.writeln("<hr color='#0099cc' width='98%' align='left'>");
\r
95 document.writeln("<table width='98%'>");
\r
96 document.writeln("<tr><td align='right'>");
\r
97 document.writeln("<input type='button' onClick='btnBack()' value='< Back'>");
\r
98 document.writeln("</td></tr>");
\r
99 document.writeln("</table>");
\r