ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/reports/php/shared/title.inc.php
Revision: 1.10
Committed: Thu Mar 22 17:41:41 2001 UTC (23 years, 8 months ago) by pjm2
Branch: MAIN
Changes since 1.9: +2 -2 lines
Log Message:
Changed true to "on" so that forms may submit these values from a checkbox

File Contents

# Content
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 <meta name="htdig-noindex" content="noindex,nofollow">
14 <meta name="robots" content="noindex,nofollow">
15
16 <? if ($scroll == "on") { ?>
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 <?
33 if (!preg_match("/^([0-9]{3,4})|(100%)$/", $pagewidth)) {
34 $pagewidth = 600;
35 }
36 if (!preg_match("/^[1234567]$/", $fontsize)) {
37 $fontsize="2";
38 }
39 ?>
40
41 </head>
42
43 <body bgcolor="#ffffff" text="#000000"<? if ($scroll == "on") echo ' onload="javascript:pScroll();"'; ?>>
44 <basefont size="<?=$fontsize?>" face="arial,sans-serif" color="#000000">
45
46
47 <!--
48 title.inc
49 Created by pjm2 14/10/2000
50 Last edited 14/10/2000
51 -->
52
53 <table border="0" width="<?=$pagewidth?>" cellspacing="0" cellpadding="0" align="center">
54 <tr>
55 <td>
56 <table width="100%" border="0" cellspacing="0" cellpadding="0">
57 <tr>
58 <td valign="top">
59 <font size="1" color="#999999">
60 <? echo date("D jS M Y, g:i:sa"); ?>
61 </font>
62 </td>
63 <td align="right">
64 <a href="index.php"><img alt="i-scream" src="title.gif" width="370" height="69" border="0"></a>
65 </td>
66 </tr>
67 </table>
68 </td>
69 </tr>
70 <tr>
71 <td>
72 <!--<font face="arial,sans-serif" size="2">-->
73