blob: 1edb2ae6380aa436d0f538809f38059aa0fa7f7a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
<html>
<head>
<meta HTTP-EQUIV='Pragma' CONTENT='no-cache'>
<script language="javascript">
<!-- hide
var msg = new Array();
msg[0] = 'New software is being programmed to the flash memory. The DSL Router will reboot upon completion. This process will take about 2 minutes.';
msg[1] = 'Image uploading failed. The system is out of memory. The DSL Router is rebooting.';
msg[2] = 'Image uploading failed. No image file was selected.';
msg[3] = 'Image uploading failed. The selected file contains an illegal image.';
msg[4] = 'Image uploading failed. The selected file contains an illegal image.';
msg[5] = 'Image uploading failed. The selected file contains an illegal image.';
msg[6] = ' ';
msg[7] = 'Image uploading failed. The selected file contains an illegal image.';
var idxStr = '<%%>';
function getMsgIndex() {
var idxNum = parseInt(idxStr);
if ( isNaN(idxNum) || idxNum < 0 || idxNum > 7 )
idxNum = 7;
return idxNum;
}
function reboot() {
var loc = 'upload.html';
var code = 'location.assign("' + loc + '")';
eval(code);
}
function frmLoad() {
setTimeout('reboot()', 40000);
}
function btnBack() {
var code = 'location.assign("' + 'upload.html' + '")';
eval(code);
}
// done hiding -->
</script>
</head>
<body onLoad='frmLoad()'>
<blockquote> <b>DSL Router Software Upgrade</b><br>
<br>
<script language="javascript">
<!-- hide
document.write(msg[getMsgIndex()]);
// done hiding -->
</script>
<br>
<br>
<center>
<input type='button' onClick='btnBack()' value='Back'>
</center>
</blockquote>
</body>
</html>
|