\n"); } ?> \n"); } ?>
\n"); include('phpweather-1.60/locale_en.inc'); include('phpweather-1.60/phpweather.inc'); $metar = get_metar('KSAC'); $data = process_metar($metar); echo"$data[temp_f]° ($data[temp_c] C)"; if($data[weather]) { echo" · $data[weather]"; } } # Music data is provided by an iTunes plug-in, "Now Playing." # Current song data is exported as an XML file, which is interpreted # by the script included here. For more info, see the web site: # http://brandon.fuller.name/archives/hacks/nowplaying/itunes/mac/ if($music == "yes") { print("
\n"); include("./now_playing.php"); } if($manual == "yes") { print("
\n"); print("[manual refresh]\n"); } ?>
...little pool... »
"webcam/wombat.jpg","monkey"=>"photo/webcam.jpg"); print"
"; print"current camera: $cam
\n"; print"cam updated "; $modified = stat("$cameras[$cam]"); echo date("d M g:ia",$modified[9]); print"
\n"; # Archives are currently broken, as is everything else that's currently using CGI on my site. #print"cam archives: add·view
\n"; foreach($cameras as $name => $file) { $info = stat("$file"); $age = date("U",$info[9]); $time = date(U); $difference = $time - $age; if($cam == $name) { print"$name: "; } else { print"$name: "; } if($difference > 300) { echo("off\n"); } else { echo("on\n"); } print"
\n"; } ?>
sierracam »
    twitter »
    + darkmoon"); } else { echo("- darkmoon"); } ?>
    + tip jar"); } else { echo("- tip jar"); } ?>
    + settings"); } else { echo("- settings"); } ?>
    \n"); print("
    \n"); print("\n"); print("\n"); # Automatic Refresh Settings print("

    refresh every:\n"); print("

    \n"); # Manual Refresh Settings print("

    show refresh link?\n"); print("

    \n"); # Default view settings $views = array("none"=>"none","darkmoon"=>"darkmoon","settings"=>"settings","motd"=>"motd","other"=>"other"); #let's only do this once, eh? print("

    show by default:\n"); print("

    \n"); # Default webcam print("

    default webcam:\n"); print("

    \n"); # Weather Settings # Weather's broken until further notice. #print("

    show weather info?\n"); #print("

    \n"); # Music Settings print("

    show current music?\n"); print("

    \n"); # Random Quote Settings print("

    show random quote?\n"); print("

    \n"); # End of Settings print("

    Settings are stored as cookies in your browser.

    \n"); print("\n"); print("
    + other"); } else { echo("- other"); } ?>
    contact me »
    change.log »
    source »