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