C:\Program Files (x86)\Apache Software Foundation\Apache2.2\htdocs\gridtip\gridtip-ng\header.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<!DOCTYPE html>
<html>
<head>
<title>GRID TIP Header</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<style type="text/css">

body {
margin:0;
}

table{
padding:0;
border:none;
border-spacing:0;
border-collapse:collapse;
border-radius:20px;
}

td{
top-margin:0px;
bottom-margin:0px;
margin-top:0px;
margin-bottom:0px;
}

</style>

</head>

<body bgcolor="#FFFFFF" text="#000000" link='#000000' alink='#000000' vlink='#000000'>

<table width="100%" border="0" cellspacing="10" cellpadding="0">
  <tr><td align="center" width="100%" height="70px" bgcolor=#1c7cd6><br><font face="Arial, sans-serif" size="15" color="#FFFFFF"><b>GRID TIP</b></font>
      <br><br>
      <font face="Arial, sans-serif" size="2" color="#FFFFFF">
      
<?PHP 

// Original Script melbdate.php3 copyright (c) 2000 by Dean Kennedy, Terrabyte Communications
// Version 1.03 04 June 2006
// Free to use, modify and copy. You can safely delete all other commented lines and just leave the four line script
// Distributed under the terms of the GNU General Public License (GPL). There is NO WARRANTY, it is provided AS IS. Use it at your own risk.
// http://www.gnu.org/copyleft/gpl.html

$hourdiff "0"// hours difference between server time and local time

$serverdate date("l, d F Y - H:i:s \h");
echo 
"<div align='center'>";
echo 
"Server Time: &nbsp;";
print (
"$serverdate");
print (
"<BR>");

$timeadjust = ($hourdiff 60 60);

$melbdate date("l, d F Y - H:i:s \h",time() + $timeadjust);

?>

      </font><br><br></td></tr>
</table>

</body>
</html>