Commit e56339ce authored by mpomery's avatar mpomery

Woeking on the main feed page

parent 2737ab5d
<?php header( "HTTP/1.0 410 Gone" ); ?>
<HTML><HEAD><TITLE>The UCC Webcam archive is no longer available</TITLE></HEAD>
<BODY BGCOLOR=white>
<P>The UCC webcam archive is no longer available.</P>
</BODY></HTML>
<?php exit(); ?>
<?php if ( !isset( $broken ) ) { $broken = 0; if ( filemtime("../webcam.jpg")<(time()-5*60) ) $broken = 1; }
$count = 0;
$WEBCAM = "/home/ucc/devenish/webcam/archives/today";
$count = (integer)exec( "cat $WEBCAM/count" );
$requested = (integer)$QUERY_STRING;
if ( $requested < 1 ) $requested = $count;
<?php
// Need to update this script to make it work. Working on the live feed
// first
$camera = ($_GET['camera']?$_GET['camera']:'nocamera');
$imagelocation="archive/";
$file = $imagelocation.strtolower($camera).".jpg";
header("Expires: ".gmdate("D, d M Y H:i:s", time())." GMT");
if (!is_readable($file)) {
$file="nocamera.jpg";
}
header("Content-Type: image/jpeg");
header("Content-Length: ".filesize($file));
header("Last-Modified: ".gmdate("D, d M Y H:i:s", filectime($file))." GMT");
passthru("cat $file");
?>
<?php header("Expires: ".gmdate("D, d M Y H:i:s", time())." GMT"); ?>
<HTML><HEAD><META HTTP-EQUIV=REFRESH CONTENT="<?php if ( $broken ) echo "300"; else echo "60"; ?>;URL=./"><TITLE>UCC Webcam</TITLE></HEAD>
<BODY BGCOLOR=white>
<P>The UCC webcam is a colour camera running off our G3 known as <A HREF=http://www.ucc.asn.au/machines/nautilus.ucc>nautilus.</A></P>
<P>The UCC also has a <A HREF='./bw-archive'>black-and-white camera</A>.</P>
<?php if ( $broken ): ?>
<P><FONT COLOR='fushia'><EM>The webcam is currently off-line so no new images are being created.</EM></FONT></P>
<?php endif; ?>
<?php if ( $count ): ?>
<P>
<FONT COLOR='navy'><EM>The most recent picture is number <a href='archive?<?echo $count?>'><?echo $count?></a>.</EM></FONT>
</P>
<?php endif; ?>
<?php if ( $requested ): ?>
<h2>Image <?echo $requested?> of <?echo $count?></h2>
<P>
[ <A <?php echo ( $requested > 1 && $count > 0)?"href":"name"; echo "='archive?".($requested-1); ?>'>Previous</A> |
<A <?php echo ( $requested < $count && $count > 0 )?"href":"name"; echo "='archive?".($requested+1); ?>'>Next</A> ]
</P>
<img src='webcam.php?<?echo $requested?>' alt='Image <?echo $requested?>' />
<?php else: ?>
There are no images to display.
<?php endif; ?>
<P>Back to the latest <A HREF="/">webcam images</A>.</P>
<P>Check out the <A HREF="http://www.ucc.gu.uwa.edu.au/">UCC web page</A>.</P>
<?php if ( $broken ) : ?>
<P><FONT SIZE='-1'>This page generated at <?php echo date( "g:i A D d M Y", filemtime("../webcam.jpg") ); ?>.</FONT></P>
<?php endif; ?>
</BODY>
<HTML>
<?php header( "HTTP/1.0 410 Gone" ); ?>
<HTML><HEAD><TITLE>The UCC Webcam archive is no longer available</TITLE></HEAD>
<BODY BGCOLOR=white>
<P>The UCC webcam archive is no longer available.</P>
</BODY></HTML>
<?php exit(); ?>
<?php if ( !isset( $broken ) ) { $broken = 0; if ( filemtime("../bw-webcam.jpg")<(time()-5*60) ) $broken = 1; }
$count = 0;
$WEBCAM = "/home/ucc/devenish/webcam/bw-archives/today";
$count = (integer)exec( "cat $WEBCAM/bw-count" );
$requested = (integer)$QUERY_STRING;
if ( $requested < 1 ) $requested = $count;
?>
<?php header("Expires: ".gmdate("D, d M Y H:i:s", time())." GMT"); ?>
<HTML><HEAD><META HTTP-EQUIV=REFRESH CONTENT="<?php if ( $broken ) echo "300"; else echo "60"; ?>;URL=./"><TITLE>UCC B&amp;W Webcam</TITLE></HEAD>
<BODY BGCOLOR=white>
<P>The UCC B&amp;W webcam is a monochrome camera running off a Quadra 660/AV known as kormoran.</A></P>
<P>The UCC also has a <A HREF='./archive'>colour camera</A>.</P>
<?php if ( $broken ): ?>
<P><FONT COLOR='fushia'><EM>The webcam is currently off-line so no new images are being created.</EM></FONT></P>
<?php endif; ?>
<?php if ( $count ): ?>
<P>
<FONT COLOR='navy'><EM>The most recent picture is number <a href='bw-archive?<?echo $count?>'><?echo $count?></a>.</EM></FONT>
</P>
<?php endif; ?>
<?php if ( $requested ): ?>
<h2>Image <?echo $requested?> of <?echo $count?></h2>
<P>
[ <A <?php echo ( $requested > 1 && $count > 0)?"href":"name"; echo "='bw-archive?1"; ?>'>First</A> |
<A <?php echo ( $requested > 1 && $count > 0)?"href":"name"; echo "='bw-archive?".($requested-1); ?>'>Previous</A> |
<A <?php echo ( $requested < $count && $count > 0 )?"href":"name"; echo "='bw-archive?".($requested+1); ?>'>Next</A> |
<A <?php echo ( $requested < $count && $count > 0 )?"href":"name"; echo "='bw-archive?".($count); ?>'>Last</A> ]
</P>
<img src='bw-webcam.php?<?echo $requested?>' alt='Image <?echo $requested?>' />
<?php else: ?>
There are no images to display.
<?php endif; ?>
<P>Back to the latest <A HREF="/">webcam images</A>.</P>
<P>Check out the <A HREF="http://www.ucc.gu.uwa.edu.au/">UCC web page</A>.</P>
<?php if ( $broken ) : ?>
<P><FONT SIZE='-1'>This page generated at <?php echo date( "g:i A D d M Y", filemtime("../bw-webcam.jpg") ); ?>.</FONT></P>
<?php endif; ?>
</BODY>
<HTML>
<?php
$file="./bw-webcam-overlay.svg";
if ( (integer)($QUERY_STRING) ):
$WEBCAM = "/home/ucc/devenish/webcam/bw-archives/today";
$file = "$WEBCAM/bw-webcam.jpg.".(integer)($QUERY_STRING);
endif;
header("Expires: ".gmdate("D, d M Y H:i:s", time())." GMT");
if ( is_readable( $file ) ) {
header("Content-Type: image/jpeg");
header("Content-Length: ".filesize($file));
header("Last-Modified: ".gmdate("D, d M Y H:i:s", filectime($file))." GMT"); # NB. use PHP's 'date' function, not 'strftime' as we do NOT want to be locale-specific
passthru("cat $file");
}
else {
header("HTTP/1.0 404 Not found or not accessible");
# 2001: Apache is nice enough to form an HTML body for us.
# 2002: someone broke the above-mentioned feature, so now we do it ourselves:
echo "<html><head><title>404 Not Found</title></head><body>Image $QUERY_STRING could not be found in today's archive.</body></html>";
}
?>
<?php
$file="./bw-webcam.jpg";
if ( (integer)($QUERY_STRING) ):
$WEBCAM = "/home/ucc/devenish/webcam/bw-archives/today";
$file = "$WEBCAM/bw-webcam.jpg.".(integer)($QUERY_STRING);
endif;
header("Expires: ".gmdate("D, d M Y H:i:s", time())." GMT");
if ( is_readable( $file ) ) {
header("Content-Type: image/jpeg");
header("Content-Length: ".filesize($file));
header("Last-Modified: ".gmdate("D, d M Y H:i:s", filectime($file))." GMT"); # NB. use PHP's 'date' function, not 'strftime' as we do NOT want to be locale-specific
passthru("cat $file");
}
else {
header("HTTP/1.0 404 Not found or not accessible");
# 2001: Apache is nice enough to form an HTML body for us.
# 2002: someone broke the above-mentioned feature, so now we do it ourselves:
echo "<html><head><title>404 Not Found</title></head><body>Image $QUERY_STRING could not be found in today's archive.</body></html>";
}
?>
<?php
$camera = ($_GET['camera']?$_GET['camera']:'nocamera');
$imagelocation="../";
$file = $imagelocation.strtolower($camera).".jpg";
header("Expires: ".gmdate("D, d M Y H:i:s", time())." GMT");
if (!is_readable($file)) {
$file="nocamera.jpg";
}
header("Content-Type: image/jpeg");
header("Content-Length: ".filesize($file));
header("Last-Modified: ".gmdate("D, d M Y H:i:s", filectime($file))." GMT");
$fp = fopen($file, 'rb');
fpassthru($fp);
fclose($fp);
?>
......@@ -10,148 +10,12 @@
</noscript>
<link rel="stylesheet" href="https://secure.ucc.asn.au/~planet/planet.css" type="text/css" media="screen" />
<link rel="stylesheet" href="webcam-overrides.css" type="text/css" media="screen" />
<link rel="icon" type="image/png" href="//planet.ucc.asn.au/icon.png" />
<link rel="SHORTCUT ICON" type="image/png" href="//planet.ucc.asn.au/icon.png" />
<script type="text/javascript">
var iambob = false;
function bobbify()
{
iambob = !iambob;
if (iambob)
{
document.getElementById("iambob").innerHTML = "I Am Not Bob";
var selects = document.getElementsByClassName('camera');
for(var i = 0, il = selects.length;i < il; i++)
{
selects[i].style.width = "600px";
}
}
else
{
document.getElementById("iambob").innerHTML = "I Am Bob";
var selects = document.getElementsByClassName('camera');
for(var i = 0, il = selects.length;i < il; i++)
{
selects[i].style.width = "";
}
}
updateTime();
}
function windowOnload()
{
updateTime();
setInterval("updateTime()",15000);
}
function updateWebcam (webcamid, webcamurl)
{
var date = new Date ();
var fullwebcamurl = webcamurl + "?t" + date.getTime ();
var img = document.getElementById (webcamid);
// get an XML HTTP Request object
var req = false;
try
{
req = new XMLHttpRequest ();
}
catch (e)
{
try
{
req = new ActiveXObject ("Microsoft.XMLHTTP");
}
catch (e)
{
}
}
if (req)
{
req.onreadystatechange = function ()
{
if (req.readyState == 4)
{
if (req.status == 200 || req.status == 304)
{
var imgdate = new Date (Date.parse (req.getResponseHeader ("Last-Modified")));
var servdate = new Date (Date.parse (req.getResponseHeader ("Date")));
if (Math.abs (imgdate.getTime () - servdate.getTime ()) > 1000 * 60 * 2)
{
// this image is out of date
img.style.opacity = 0.75;
if (iambob)
{
img.style.border = "0px solid red";
}
else
{
img.style.border = "4px solid red";
}
}
else
{
img.style.opacity = 1.0;
if (iambob)
{
img.style.border = "0px solid transparent";
}
else
{
img.style.border = "4px solid transparent";
}
}
}
}
};
req.open ("HEAD", fullwebcamurl, true);
req.send ("");
}
// set the image
//img.src = "http://www.ucc.asn.au/~webcam/" + fullwebcamurl;
img.src = fullwebcamurl;
}
function updateTime()
{
var date = new Date ();
//updateWebcam ("webcam3", "webcam3.jpg");
//updateWebcam ("webcam4", "bw-webcam.jpg");
//updateWebcam ("webcam1", "webcam.jpg");
//updateWebcam ("webcam2", "webcam1.jpg");
//updateWebcam ("uvc1", "uvc1.jpg");
updateWebcam ("ipcamera1", "ipcamera1.jpg");
updateWebcam ("ipcamera2", "ipcamera2.jpg");
updateWebcam ("ipcamera3", "ipcamera3.jpg");
updateWebcam ("ipcamera4", "ipcamera4.jpg");
updateWebcam ("ipcamera5", "ipcamera5.jpg");
updateWebcam ("ipcamera6", "ipcamera6.jpg");
}
</script>
<style>
.camera {
margin: 4px;
/*padding: 20px;*/
margin-left: auto;
margin-right: auto;
display: inline-block;
font-size: 0;
}
.header {
background: none;
}
</style>
<script type="text/javascript" src="webcams.js"></script>
</head>
<body onload="windowOnload()">
<div class="header">
<img alt="Planet UCC" id="pucc_logo"
src="//www.ucc.asn.au/images/ucc_logo.gif" />
src="https://www.ucc.asn.au/images/ucc_logo.gif" />
<div id="globalnav-wrapper">
<ul id="portal-globalnav">
......@@ -187,31 +51,22 @@ function updateTime()
<div class="navMenu">
<a href="archive.html">Archive</a>
<a href="http://webcam.ucc.asn.au/clubroom-schematic.png">Map</a>
<a href="index-nojs.php" title="Non-Javascript Webcam Page">Web0 Version</a>
</div>
</div>
<div class=camSection>
<div style="margin-left: auto;margin-right: auto;"><small><a href="javascript:bobbify();" id="iambob">I Am Bob</a></small></div>
<!--<div style="margin-left: auto;margin-right: auto;"><small>UCC webcams running off <a href="http://www.ucc.gu.uwa.edu.au/machines/">Camwhore</a></small></div>-->
<!--<div class="camera"><a href="bw-webcam.php"><img id="webcam4" alt="BW Webcam" /></a></div>
<div class="camera"><a href="webcam3.php"><img id="webcam3" alt="Webcam 3" /></a></div>
<div class="camera"><a href="webcam1.php"><img id="webcam2" alt="Webcam 1" /></a></div>
<div class="camera"><a href="uvc1.php"><img id="uvc1" alt="UVC 1" /></a></div>
<div class="camera"><a href="webcam.php"><img id="webcam1" alt="Webcam 2" /></a></div>-->
<div class="camera"><a href="ipcamera1.php"><img id="ipcamera1" alt="IPCamera1" /></a></div>
<div class="camera"><a href="ipcamera2.php"><img id="ipcamera2" alt="IPCamera2" /></a></div>
<div class="camera"><a href="ipcamera3.php"><img id="ipcamera3" alt="IPCamera3" /></a></div>
<div class="camera"><a href="ipcamera4.php"><img id="ipcamera4" alt="IPCamera4" /></a></div>
<div class="camera"><a href="ipcamera5.php"><img id="ipcamera5" alt="IPCamera5" /></a></div>
<div class="camera"><a href="ipcamera6.php"><img id="ipcamera6" alt="IPCamera6" /></a></div>
<div class="camera"><a href="camera.php?camera=ipcamera1"><img id="ipcamera1" alt="IPCamera1" src="nocamera.jpg"/></a></div>
<div class="camera"><a href="camera.php?camera=ipcamera2"><img id="ipcamera2" alt="IPCamera2" src="nocamera.jpg"/></a></div>
<div class="camera"><a href="camera.php?camera=ipcamera3"><img id="ipcamera3" alt="IPCamera3" src="nocamera.jpg"/></a></div>
<div class="camera"><a href="camera.php?camera=ipcamera4"><img id="ipcamera4" alt="IPCamera4" src="nocamera.jpg"/></a></div>
<div class="camera"><a href="camera.php?camera=ipcamera5"><img id="ipcamera5" alt="IPCamera5" src="nocamera.jpg"/></a></div>
<div class="camera"><a href="camera.php?camera=ipcamera6"><img id="ipcamera6" alt="IPCamera6" src="nocamera.jpg"/></a></div>
</div>
<div class="clear"></div>
<div class="footer">
<p><small>Copyright 1993-<span id="copyright">2014</span>, The University Computer Club Inc.
&lt;<a href="mailto:[email protected]">[email protected]</a>&gt;<br />
Written to be <a href="http://www.w3c.org/">specifications compliant</a>.
</small></p>
<p class="logos" style="text-align: center;">
<!--<p class="logos" style="text-align: center;">
<a href="http://www.ucc.asn.au">
<img style="padding-bottom:1ex;" src="//www.ucc.asn.au/images/ucc-sun-logo-black.png" alt="UCC" title="University Computer Club" />
</a>
......@@ -221,21 +76,19 @@ function updateTime()
<a href="http://www.uwa.edu.au">
<img alt="University of Western Australia" title="University of Western Australia" src="//www.ucc.asn.au/images/uwa_crest.png" />
</a>
</p>
</p>-->
</div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-11604699-1");
pageTracker._setDomainName("none");
pageTracker._setAllowLinker(true);
pageTracker._trackPageview();
} catch(err) {}</script>
<script type="text/javascript">
document.getElementById("copyright").innerhtml = new Date().getFullYear();
</script>
</body>
<script type="text/javascript">
/*var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));*/
</script>
<script type="text/javascript">
/*try {
var pageTracker = _gat._getTracker("UA-11604699-1");
pageTracker._setDomainName("none");
pageTracker._setAllowLinker(true);
pageTracker._trackPageview();
} catch(err) {}*/
</script>
</body>
</html>
<?php
$file="./ipcamera1.jpg";
if ( (integer)($QUERY_STRING) ):
$WEBCAM = "/home/ucc/devenish/ipcamera1/archives/today";
$file = "$WEBCAM/ipcamera1.jpg.".(integer)($QUERY_STRING);
endif;
header("Expires: ".gmdate("D, d M Y H:i:s", time())." GMT");
if ( is_readable( $file ) ) {
header("Content-Type: image/jpeg");
header("Content-Length: ".filesize($file));
header("Last-Modified: ".gmdate("D, d M Y H:i:s", filectime($file))." GMT"); # NB. use PHP's 'date' function, not 'strftime' as we do NOT want to be locale-specific
passthru("cat $file");
}
else {
header("HTTP/1.0 404 Not found or not accessible");
# 2001: Apache is nice enough to form an HTML body for us.
# 2002: someone broke the above-mentioned feature, so now we do it ourselves:
echo "<html><head><title>404 Not Found</title></head><body>Image $QUERY_STRING could not be found in today's archive.</body></html>";
}
?>
<?php
$file="./ipcamera2.jpg";
if ( (integer)($QUERY_STRING) ):
$WEBCAM = "/home/ucc/devenish/ipcamera2/archives/today";
$file = "$WEBCAM/ipcamera2.jpg.".(integer)($QUERY_STRING);
endif;
header("Expires: ".gmdate("D, d M Y H:i:s", time())." GMT");
if ( is_readable( $file ) ) {
header("Content-Type: image/jpeg");
header("Content-Length: ".filesize($file));
header("Last-Modified: ".gmdate("D, d M Y H:i:s", filectime($file))." GMT"); # NB. use PHP's 'date' function, not 'strftime' as we do NOT want to be locale-specific
passthru("cat $file");
}
else {
header("HTTP/1.0 404 Not found or not accessible");
# 2001: Apache is nice enough to form an HTML body for us.
# 2002: someone broke the above-mentioned feature, so now we do it ourselves:
echo "<html><head><title>404 Not Found</title></head><body>Image $QUERY_STRING could not be found in today's archive.</body></html>";
}
?>
<?php
$file="./ipcamera3.jpg";
if ( (integer)($QUERY_STRING) ):
$WEBCAM = "/home/ucc/devenish/ipcamera3/archives/today";
$file = "$WEBCAM/ipcamera3.jpg.".(integer)($QUERY_STRING);
endif;
header("Expires: ".gmdate("D, d M Y H:i:s", time())." GMT");
if ( is_readable( $file ) ) {
header("Content-Type: image/jpeg");
header("Content-Length: ".filesize($file));
header("Last-Modified: ".gmdate("D, d M Y H:i:s", filectime($file))." GMT"); # NB. use PHP's 'date' function, not 'strftime' as we do NOT want to be locale-specific
passthru("cat $file");
}
else {
header("HTTP/1.0 404 Not found or not accessible");
# 2001: Apache is nice enough to form an HTML body for us.
# 2002: someone broke the above-mentioned feature, so now we do it ourselves:
echo "<html><head><title>404 Not Found</title></head><body>Image $QUERY_STRING could not be found in today's archive.</body></html>";
}
?>
<?php
$file="./ipcamera4.jpg";
if ( (integer)($QUERY_STRING) ):
$WEBCAM = "/home/ucc/devenish/ipcamera4/archives/today";
$file = "$WEBCAM/ipcamera4.jpg.".(integer)($QUERY_STRING);
endif;
header("Expires: ".gmdate("D, d M Y H:i:s", time())." GMT");
if ( is_readable( $file ) ) {
header("Content-Type: image/jpeg");
header("Content-Length: ".filesize($file));
header("Last-Modified: ".gmdate("D, d M Y H:i:s", filectime($file))." GMT"); # NB. use PHP's 'date' function, not 'strftime' as we do NOT want to be locale-specific
passthru("cat $file");
}
else {
header("HTTP/1.0 404 Not found or not accessible");
# 2001: Apache is nice enough to form an HTML body for us.
# 2002: someone broke the above-mentioned feature, so now we do it ourselves:
echo "<html><head><title>404 Not Found</title></head><body>Image $QUERY_STRING could not be found in today's archive.</body></html>";
}
?>
<?php
$file="./ipcamera5.jpg";
if ( (integer)($QUERY_STRING) ):
$WEBCAM = "/home/ucc/devenish/ipcamera5/archives/today";
$file = "$WEBCAM/ipcamera5.jpg.".(integer)($QUERY_STRING);
endif;
header("Expires: ".gmdate("D, d M Y H:i:s", time())." GMT");
if ( is_readable( $file ) ) {
header("Content-Type: image/jpeg");
header("Content-Length: ".filesize($file));
header("Last-Modified: ".gmdate("D, d M Y H:i:s", filectime($file))." GMT"); # NB. use PHP's 'date' function, not 'strftime' as we do NOT want to be locale-specific
passthru("cat $file");
}
else {
header("HTTP/1.0 404 Not found or not accessible");
# 2001: Apache is nice enough to form an HTML body for us.
# 2002: someone broke the above-mentioned feature, so now we do it ourselves:
echo "<html><head><title>404 Not Found</title></head><body>Image $QUERY_STRING could not be found in today's archive.</body></html>";
}
?>
<?php
$file="./ipcamera6.jpg";
if ( (integer)($QUERY_STRING) ):
$WEBCAM = "/home/ucc/devenish/ipcamera6/archives/today";
$file = "$WEBCAM/ipcamera6.jpg.".(integer)($QUERY_STRING);
endif;
header("Expires: ".gmdate("D, d M Y H:i:s", time())." GMT");
if ( is_readable( $file ) ) {
header("Content-Type: image/jpeg");
header("Content-Length: ".filesize($file));
header("Last-Modified: ".gmdate("D, d M Y H:i:s", filectime($file))." GMT"); # NB. use PHP's 'date' function, not 'strftime' as we do NOT want to be locale-specific
passthru("cat $file");
}
else {
header("HTTP/1.0 404 Not found or not accessible");
# 2001: Apache is nice enough to form an HTML body for us.
# 2002: someone broke the above-mentioned feature, so now we do it ourselves:
echo "<html><head><title>404 Not Found</title></head><body>Image $QUERY_STRING could not be found in today's archive.</body></html>";
}
?>
<?php
$file="./uvc1.jpg";
if ( (integer)($QUERY_STRING) ):
$WEBCAM = "/home/ucc/devenish/webcam/archives/today";
$file = "$WEBCAM/webcam.jpg.".(integer)($QUERY_STRING);
endif;
header("Expires: ".gmdate("D, d M Y H:i:s", time())." GMT");
if ( is_readable( $file ) ) {
header("Content-Type: image/jpeg");
header("Content-Length: ".filesize($file));
header("Last-Modified: ".gmdate("D, d M Y H:i:s", filectime($file))." GMT"); # NB. use PHP's 'date' function, not 'strftime' as we do NOT want to be locale-specific
passthru("cat $file");
}
else {
header("HTTP/1.0 404 Not found or not accessible");
# 2001: Apache is nice enough to form an HTML body for us.
# 2002: someone broke the above-mentioned feature, so now we do it ourselves:
echo "<html><head><title>404 Not Found</title></head><body>Image $QUERY_STRING could not be found in today's archive.</body></html>";
}
?>
/*this page should override some of the older/shittier stuff in planet.ucc's css */
/*[BOB]'s first css mangling*/
.camsection{
font-size: 0;
}
.camera {
width: 620px;
height: 465px;
margin: 0px;
overflow: hidden;
/*padding: 20px;*/
margin-left: auto;
margin-right: auto;
display: inline-block;
font-size: 0;
}
table {
border-width: 1px;
border-style: none;
padding: 1ex;
margin-left: auto;
margin-right: auto;
}
td {
border-style: none;
text-align: center;
padding: 0;
margin: 0;
}
th {
border-style: none;
font-style: italic;
font-weight: normal;
font-size: 75%;
}
img {
border-style: none;
margin: 0;
padding: 0;
}
.camera img {
display: block;
max-width: 100%
}
/* hack for browser-side compositing - MSH+SJH */
#webcambox {
position:relative;
width: 384px;
height: 288px;
padding: 0;
margin: 0;
.header {
background: none;
}
#datetime {
position:absolute;
max-width: 192px;
max-height: 11px;
left: 0;
top: 0;
z-index: 2;