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 |
<? if (preg_match("/^[0-9]{1,3}$/", $refresh)) { ?> |
11 |
<meta http-equiv="refresh" content="<?=$refresh?>" url="<?=$PHP_SELF?>"> |
12 |
<? } ?> |
13 |
|
14 |
<? if (preg_match("/^[1-9]$/", $scroll)) { ?> |
15 |
<script language="javascript"><!-- |
16 |
function pScroll(){ |
17 |
window.scrollBy(0, <?=$scroll?>); |
18 |
if (document.body.scrollTop >= document.body.scrollHeight - document.body.clientHeight - 1) { |
19 |
waitThenReload(); |
20 |
} |
21 |
setTimeout("pScroll();", 50); |
22 |
} |
23 |
function waitThenReload() { |
24 |
if (document.body.clientHeight + 100 > document.body.scrollHeight) { |
25 |
setTimeout("location.reload();", 10000); |
26 |
} |
27 |
else { |
28 |
location.reload(); |
29 |
} |
30 |
} |
31 |
//--> |
32 |
</script> |
33 |
<? } ?> |
34 |
|
35 |
<? |
36 |
if (!preg_match("/^([0-9]{3,4})|(100%)$/", $pagewidth)) { |
37 |
$pagewidth = 600; |
38 |
} |
39 |
if (!preg_match("/^[1234567]$/", $fontsize)) { |
40 |
$fontsize="2"; |
41 |
} |
42 |
?> |
43 |
|
44 |
</head> |
45 |
|
46 |
<body bgcolor="#ffffff" text="#000000"<? if (preg_match("/^[1-9]$/", $scroll)) echo ' onload="javascript:pScroll();"'; ?>> |
47 |
<basefont size="<?=$fontsize?>" face="arial,sans-serif" color="#000000"> |
48 |
|
49 |
|
50 |
<!-- |
51 |
title.inc |
52 |
Created by pjm2 14/10/2000 |
53 |
Last edited 14/10/2000 |
54 |
--> |
55 |
|
56 |
<table border="0" width="<?=$pagewidth?>" cellspacing="0" cellpadding="0" align="center"> |
57 |
<tr> |
58 |
<td> |
59 |
<table width="100%" border="0" cellspacing="0" cellpadding="0"> |
60 |
<tr> |
61 |
<td valign="top"> |
62 |
<font size="1" color="#999999"> |
63 |
<? echo date("D jS M Y, g:i:sa"); ?> |
64 |
<br> |
65 |
<a href="http://www.i-scream.org.uk"><img alt="got i-scream?" src="i-scream-button.gif" width="88" height="31" border="0"></a> |
66 |
</font> |
67 |
</td> |
68 |
<td align="right"> |
69 |
<a href="index.php"><img alt="i-scream" src="title.gif" width="370" height="69" border="0"></a> |
70 |
</td> |
71 |
</tr> |
72 |
</table> |
73 |
</td> |
74 |
</tr> |
75 |
<tr> |
76 |
<td> |
77 |
<!--<font face="arial,sans-serif" size="2">--> |
78 |
|