"Mrk421", "2" => "Mrk501", "5" => "Crab", "7" => "1ES 1959+650", "11" => "IC 310", ); $ranges=array( "5min" => " 5 min", "10min" => "10 min", "20min" => "20 min", "30min" => "30 min", "40min" => "40 min", "60min" => "60 min", "80min" => "80 min", "120min" => "120 min", "180min" => "180 min", "240min" => "240 min", "300min" => "300 min", // "0001nights" => "1 night", // "0002nights" => "2 nights", // "0004nights" => "4 nights", // "0008nights" => "8 nights", // "0016nights" => "16 nights", ); echo "
\n"; echo "\n"; $numplots=8; $filename="lightcurve".$_GET["source"]."_".$_GET["bin"]."_all.root"; $filename2="lightcurve".$_GET["source"]."_".$_GET["bin"]."_week.root"; $filename3="lightcurve".$_GET["source"]."_".$_GET["bin"]."_".$date2.".root"; $rootfile=$path."/".$filename2; //echo $filename; if (file_exists($rootfile)) { printf("more files", $path); echo "Night %s | Last Week | All Nights |
---|---|---|
\n", $path, $filename3, $i, $i); printf(" | \n", $path, $filename2, $i, $i); printf(" | \n", $path, $filename, $i, $i); printf(" |