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