END_OF_DISCLAIMER; } ?>
";
print "$title\n";
print "
($msg)\n";
if (! $imgfile) {
print "Sorry, camera temporarily off-line\n";
} else {
print "
Hold down the \"Shift\" key while pressing \"Refresh\" ";
print "\"Reload\" for the latest image.\n";
print "
It's updated every 2 minutes.\n";
print "
\n";
print "
\n";
}
}
function print_panorama($title, $subtitle, $image_name0, $image_name1,
$left_mar) {
print "
$title\n";
print "
$subtitle\n";
print "
(Hold down the \"Shift\" key while pressing \"Refresh\" \n";
print "\"Reload\"
for the latest image. It's refreshed every \n";
print "30 minutes between 7AM and 5PM.)\n";
print "
Click on the image to see the high res. panorama.\n";
print "
\n"; print "\n"; print "\n"; print "\n"; } // BEGIN main program print_header(); print "
\n";
print "Camera Views San Carlos and Half Moon Bay Airports\n";
$fn = getimage("sql", "cam1", "big", "rotate");
print_image("San Carlos Airport Camera 1", "SQL Approach End RWY 12", $fn);
$fn = getimage("sql", "cam2", "big", "rotate");
print_image("San Carlos Airport Camera 2", "SQL Approach End RWY 30", $fn);
$fns = getpanorama("../sql", "smbridge", "1", "med", "rotate", 0, 2);
if ($fns) {
print_panorama("San Mateo Bridge Panorama", "viewed from SQL Tower",
$fns[1], $fns[3], "20pt");
}
$fn = getimage("haf", "cam1", "big", "no rotate");
print_image("Half Moon Bay Airport", "HAF Near Approach End RWY 30", $fn);
$fns = getpanorama("../haf", "pan0", "1", "med", "no rotate", 1, 4);
$subtitle = "from approach end of RWY 30 on left
to approach end ";
$subtitle .= "of RWY 12 on the right";
if ($fns) {
print_panorama("Panorama of Half Moon Bay Airport", $subtitle,
$fns[1], $fns[3], "-46pt");
}
print_suntimes("60pt");
print_disclaimer();
// END main program
function print_header() {
print <<
END_OF_DISCLAIMER;
}
?>