ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/reports/php/shared/title.inc.php
(Generate patch)

Comparing projects/cms/source/reports/php/shared/title.inc.php (file contents):
Revision 1.10 by pjm2, Thu Mar 22 17:41:41 2001 UTC vs.
Revision 1.18 by tdb, Sun Oct 13 19:17:08 2002 UTC

# Line 8 | Line 8
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?>">
11 >  <meta http-equiv="refresh" content="<?=$refresh?>;url=<?=$PHP_SELF.'?'.$QUERY_STRING?>">
12   <? } ?>
13  <meta name="htdig-noindex" content="noindex,nofollow">
14  <meta name="robots" content="noindex,nofollow">
13  
14 < <? if ($scroll == "on") { ?>
14 > <? if (preg_match("/^[1-9]$/", $scroll)) { ?>
15    <script language="javascript"><!--
16    function pScroll(){
17 <    window.scrollBy(0,1);
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 <    setTimeout("location.reload();", 2000);
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>
# Line 38 | Line 41
41      }
42   ?>
43  
44 + <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   </head>
67  
68 < <body bgcolor="#ffffff" text="#000000"<? if ($scroll == "on") echo ' onload="javascript:pScroll();"'; ?>>
68 > <body bgcolor="#ffffff" text="#000000"<? if (preg_match("/^[1-9]$/", $scroll)) echo ' onload="javascript:pScroll();"'; ?>>
69   <basefont size="<?=$fontsize?>" face="arial,sans-serif" color="#000000">
70  
71  
72   <!--
73 <    title.inc
73 >    title.inc.php
74      Created by pjm2 14/10/2000
75      Last edited 14/10/2000
76   -->
# Line 58 | Line 83
83       <td valign="top">
84        <font size="1" color="#999999">
85         <? echo date("D jS M Y, g:i:sa"); ?>
86 +       <br>
87 +       <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        </font>
89       </td>
90       <td align="right">

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines