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.21 by tdb, Fri Mar 11 12:23:34 2005 UTC vs.
Revision 1.22 by tdb, Sat Jun 30 11:24:42 2007 UTC

# Line 1 | Line 1
1   <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2  
3 < <?
3 > <?php
4   $refresh = isset($_REQUEST['refresh']) ? $_REQUEST['refresh'] : "";
5   $pagewidth = isset($_REQUEST['pagewidth']) ? $_REQUEST['pagewidth'] : "";
6   $fontsize = isset($_REQUEST['fontsize']) ? $_REQUEST['fontsize'] : "";
# Line 13 | Line 13 | $fontsize = isset($_REQUEST['fontsize']) ? $_REQUEST['
13    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
14    <meta http-equiv="pragma" content="no-cache">
15    <meta http-equiv="cache-control" content="no-cache">
16 < <? if (preg_match("/^[0-9]{1,3}$/", $refresh)) {
16 > <?php if (preg_match("/^[0-9]{1,3}$/", $refresh)) {
17   $PHP_SELF = $_SERVER['PHP_SELF'];
18   $QUERY_STRING = $_SERVER['QUERY_STRING'];
19   ?>
20 <  <meta http-equiv="refresh" content="<?=$refresh?>;url=<?=$PHP_SELF.'?'.$QUERY_STRING?>">
21 < <? } ?>
20 >  <meta http-equiv="refresh" content="<?php=$refresh?>;url=<?php=$PHP_SELF.'?'.$QUERY_STRING?>">
21 > <?php } ?>
22  
23 < <? /* This no longer works
23 > <?php /* This no longer works
24   if (preg_match("/^[1-9]$/", $scroll)) { ?>
25    <script language="javascript"><!--
26    function pScroll(){
27 <    window.scrollBy(0, <?=$scroll?>);
27 >    window.scrollBy(0, <?php=$scroll?>);
28      if (document.body.scrollTop >= document.body.scrollHeight - document.body.clientHeight - 1) {
29          waitThenReload();
30      }
# Line 40 | Line 40 | if (preg_match("/^[1-9]$/", $scroll)) { ?>
40    }
41    //-->
42    </script>
43 < <? } */?>
43 > <?php } */?>
44  
45 < <?
45 > <?php
46      if (!preg_match("/^([0-9]{3,4})|(100%)$/", $pagewidth)) {
47          $pagewidth = 600;
48      }
# Line 75 | Line 75 | a:hover {
75  
76   </head>
77  
78 < <body bgcolor="#ffffff" text="#000000"<? /* if (preg_match("/^[1-9]$/", $scroll)) echo ' onload="javascript:pScroll();"'; */ ?>>
79 < <basefont size="<?=$fontsize?>" face="arial,sans-serif" color="#000000">
78 > <body bgcolor="#ffffff" text="#000000"<?php /* if (preg_match("/^[1-9]$/", $scroll)) echo ' onload="javascript:pScroll();"'; */ ?>>
79 > <basefont size="<?php=$fontsize?>" face="arial,sans-serif" color="#000000">
80  
81  
82 < <table border="0" width="<?=$pagewidth?>" cellspacing="0" cellpadding="0" align="center">
82 > <table border="0" width="<?php=$pagewidth?>" cellspacing="0" cellpadding="0" align="center">
83   <tr>
84    <td>
85     <table width="100%" border="0" cellspacing="0" cellpadding="0">
86      <tr>
87       <td valign="top">
88        <font size="1" color="#999999">
89 <       <? echo date("D jS M Y, g:i:sa"); ?>
89 >       <?php echo date("D jS M Y, g:i:sa"); ?>
90         <br>
91         <a href="http://www.i-scream.org/"><img alt="got i-scream?" src="i-scream-button-anim.gif" width="88" height="31" border="0"></a>
92        </font>

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines