1 |
pjm2 |
1.1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
2 |
|
|
|
3 |
tdb |
1.21 |
<? |
4 |
|
|
$refresh = isset($_REQUEST['refresh']) ? $_REQUEST['refresh'] : ""; |
5 |
|
|
$pagewidth = isset($_REQUEST['pagewidth']) ? $_REQUEST['pagewidth'] : ""; |
6 |
|
|
$fontsize = isset($_REQUEST['fontsize']) ? $_REQUEST['fontsize'] : ""; |
7 |
|
|
?> |
8 |
|
|
|
9 |
pjm2 |
1.1 |
<html> |
10 |
|
|
|
11 |
|
|
<head> |
12 |
|
|
<title>i-scream Distributed Central Monitoring System Reports</title> |
13 |
|
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
14 |
|
|
<meta http-equiv="pragma" content="no-cache"> |
15 |
|
|
<meta http-equiv="cache-control" content="no-cache"> |
16 |
tdb |
1.20 |
<? if (preg_match("/^[0-9]{1,3}$/", $refresh)) { |
17 |
|
|
$PHP_SELF = $_SERVER['PHP_SELF']; |
18 |
|
|
$QUERY_STRING = $_SERVER['QUERY_STRING']; |
19 |
|
|
?> |
20 |
tdb |
1.18 |
<meta http-equiv="refresh" content="<?=$refresh?>;url=<?=$PHP_SELF.'?'.$QUERY_STRING?>"> |
21 |
pjm2 |
1.6 |
<? } ?> |
22 |
pjm2 |
1.7 |
|
23 |
tdb |
1.21 |
<? /* This no longer works |
24 |
|
|
if (preg_match("/^[1-9]$/", $scroll)) { ?> |
25 |
pjm2 |
1.7 |
<script language="javascript"><!-- |
26 |
|
|
function pScroll(){ |
27 |
pjm2 |
1.13 |
window.scrollBy(0, <?=$scroll?>); |
28 |
pjm2 |
1.7 |
if (document.body.scrollTop >= document.body.scrollHeight - document.body.clientHeight - 1) { |
29 |
|
|
waitThenReload(); |
30 |
|
|
} |
31 |
|
|
setTimeout("pScroll();", 50); |
32 |
|
|
} |
33 |
|
|
function waitThenReload() { |
34 |
pjm2 |
1.11 |
if (document.body.clientHeight + 100 > document.body.scrollHeight) { |
35 |
|
|
setTimeout("location.reload();", 10000); |
36 |
|
|
} |
37 |
|
|
else { |
38 |
|
|
location.reload(); |
39 |
|
|
} |
40 |
pjm2 |
1.7 |
} |
41 |
|
|
//--> |
42 |
|
|
</script> |
43 |
tdb |
1.21 |
<? } */?> |
44 |
pjm2 |
1.7 |
|
45 |
pjm2 |
1.8 |
<? |
46 |
pjm2 |
1.9 |
if (!preg_match("/^([0-9]{3,4})|(100%)$/", $pagewidth)) { |
47 |
|
|
$pagewidth = 600; |
48 |
|
|
} |
49 |
pjm2 |
1.8 |
if (!preg_match("/^[1234567]$/", $fontsize)) { |
50 |
|
|
$fontsize="2"; |
51 |
|
|
} |
52 |
|
|
?> |
53 |
|
|
|
54 |
pjm2 |
1.17 |
<style type="text/css"> |
55 |
|
|
<!-- |
56 |
|
|
body { |
57 |
|
|
scrollbar-face-color: #9999ff; |
58 |
|
|
scrollbar-highlight-color: #eeeeff; |
59 |
|
|
scrollbar-shadow-color: #333366; |
60 |
|
|
scrollbar-arrow-color: #000033; |
61 |
|
|
scrollbar-base-color: #eeeeff; |
62 |
|
|
scrollbar-3d-light-color: #ccccff; |
63 |
|
|
scrollbar-dark-shadow-color: #333333; |
64 |
|
|
} |
65 |
|
|
input { |
66 |
|
|
color: #ff0000; |
67 |
|
|
font-weight: bold; |
68 |
|
|
font-family: Arial, Helvetica, sans-serif; |
69 |
|
|
} |
70 |
|
|
a:hover { |
71 |
|
|
color: #ff0000; |
72 |
|
|
} |
73 |
|
|
--> |
74 |
|
|
</style> |
75 |
|
|
|
76 |
pjm2 |
1.1 |
</head> |
77 |
|
|
|
78 |
tdb |
1.21 |
<body bgcolor="#ffffff" text="#000000"<? /* if (preg_match("/^[1-9]$/", $scroll)) echo ' onload="javascript:pScroll();"'; */ ?>> |
79 |
pjm2 |
1.8 |
<basefont size="<?=$fontsize?>" face="arial,sans-serif" color="#000000"> |
80 |
pjm2 |
1.1 |
|
81 |
|
|
|
82 |
pjm2 |
1.9 |
<table border="0" width="<?=$pagewidth?>" cellspacing="0" cellpadding="0" align="center"> |
83 |
pjm2 |
1.1 |
<tr> |
84 |
pjm2 |
1.2 |
<td> |
85 |
|
|
<table width="100%" border="0" cellspacing="0" cellpadding="0"> |
86 |
|
|
<tr> |
87 |
pjm2 |
1.3 |
<td valign="top"> |
88 |
pjm2 |
1.4 |
<font size="1" color="#999999"> |
89 |
pjm2 |
1.5 |
<? echo date("D jS M Y, g:i:sa"); ?> |
90 |
pjm2 |
1.14 |
<br> |
91 |
tdb |
1.20 |
<a href="http://www.i-scream.org/"><img alt="got i-scream?" src="i-scream-button-anim.gif" width="88" height="31" border="0"></a> |
92 |
pjm2 |
1.2 |
</font> |
93 |
|
|
</td> |
94 |
pjm2 |
1.3 |
<td align="right"> |
95 |
pjm2 |
1.2 |
<a href="index.php"><img alt="i-scream" src="title.gif" width="370" height="69" border="0"></a> |
96 |
|
|
</td> |
97 |
|
|
</tr> |
98 |
|
|
</table> |
99 |
pjm2 |
1.1 |
</td> |
100 |
|
|
</tr> |
101 |
|
|
<tr> |
102 |
|
|
<td> |
103 |
|
|
<!--<font face="arial,sans-serif" size="2">--> |
104 |
|
|
|