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.2 by pjm2, Sat Mar 17 17:23:40 2001 UTC vs.
Revision 1.7 by pjm2, Thu Mar 22 14:43:27 2001 UTC

# Line 7 | Line 7
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 ($scroll == "true") { ?>
17 +  <script language="javascript"><!--
18 +  function pScroll(){
19 +    window.scrollBy(0,1);
20 +    if (document.body.scrollTop >= document.body.scrollHeight - document.body.clientHeight - 1) {
21 +        waitThenReload();
22 +    }
23 +    setTimeout("pScroll();", 50);
24 +  }
25 +  function waitThenReload() {
26 +    setTimeout("location.reload();", 2000);
27 +  }
28 +  //-->
29 +  </script>
30 + <? } ?>
31 +
32   </head>
33  
34 < <body bgcolor="#ffffff" text="#000000">
34 > <body bgcolor="#ffffff" text="#000000"<? if ($scroll == "true") echo ' onload="javascript:pScroll();"'; ?>>
35   <basefont size="2" face="arial,sans-serif" color="#000000">
36  
37  
# Line 26 | Line 46
46    <td>
47     <table width="100%" border="0" cellspacing="0" cellpadding="0">
48      <tr>
49 <     <td>
50 <      <font size="1">
51 <       <? echo date("D jS M Y, G:ia"); ?>
49 >     <td valign="top">
50 >      <font size="1" color="#999999">
51 >       <? echo date("D jS M Y, g:i:sa"); ?>
52        </font>
53       </td>
54 <     <td>
54 >     <td align="right">
55        <a href="index.php"><img alt="i-scream" src="title.gif" width="370" height="69" border="0"></a>
56       </td>
57      </tr>

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines