-
Notifications
You must be signed in to change notification settings - Fork 1
/
webcam.php
37 lines (33 loc) · 943 Bytes
/
webcam.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
<?PHP
////////////////////////////////////////////////////
//
// WeatherOffice
//
// http://www.sourceforge.net/projects/weatheroffice
//
// Copyright (C) 04/2007 Mathias Zuckermann &
// Bernhard Heibler
//
// See COPYING for license info
//
////////////////////////////////////////////////////
echo "<html>";
echo "<head>";
echo "<meta http-equiv=\"content-type\" content=\"text/html;charset=iso-8859-1\">";
echo "<meta http-equiv=\"Refresh\" CONTENT=\"120\">";
echo "<title>Weather Webcam</title>";
echo "<link rel=\"stylesheet\" href=\"woffice.css\">";
echo "</head>";
echo "<body bgcolor=\"#d6e5ca\" marginheight=\"25\" marginwidth=\"20\" topmargin=\"25\" leftmargin=\"0\">";
include("weatherInclude.php");
if($webcamType == "image")
{
echo "<img src=\"$weatherWebcamUrl\">";
}
else
{
echo "<hr><a href=$weatherWebcamUrl target=\"main\">Webcam</a>";
}
?>
</body>
</head>