"Mrk421", "2" => "Mrk501", "5" => "Crab", "7" => "1ES 1959+650", "11" => "IC 310", ); $ranges=array( "005min" => " 5 min", "010min" => "10 min", "020min" => "20 min", "040min" => "40 min", "080min" => "80 min", "160min" => "160 min", "320min" => "320 min", "0001nights" => "1 night", "0002nights" => "2 nights", "0004nights" => "4 nights", "0008nights" => "8 nights", "0016nights" => "16 nights", ); echo ""; echo "
\n"; echo " excess rates for "; echo "source "; echo " for "; echo "
"; $numplots=7; if (file_exists($path."/lc.root")) { printf("more files", $path); echo ""; for ($i=1; $i<$numplots+1; $i++) { if (strpos($_GET["bin"], "night")) printf("", $path, $i, $i); else printf("", $path, $i, $i, $path, $i+$numplots, $i+$numplots); } echo "
%d
%d%d
"; } else echo "
No files yet for " . $sources[$_GET["source"]] . " with " . $ranges[$_GET["bin"]]. ".
"; echo ""; echo ""; ?>