source: trunk/www/dch/ratescans.php@ 19541

Last change on this file since 19541 was 18881, checked in by Daniela Dorner, 8 years ago
updates to text
File size: 1.3 KB
Line 
1<html>
2<head>
3 <meta name="Author" content="Daniela Dorner" />
4 <meta http-equiv="content-type" content="text/html; charset=utf-8" />
5 <title>FACT Project</title>
6 <link rel="StyleSheet" type="text/css" href="../style.css" />
7</head>
8<?php
9
10include ("dates.php");
11
12echo "<body>\n";
13echo "<form name='formular' action='ratescans.php' METHOD='GET'>\n";
14echo "quality plots for ";
15
16$date=GetDates($_GET["date"], "ratescans");
17$date2=date("Ymd", strtotime($date));
18$path="../ratescans/".date("Y/m/d", strtotime($date));
19
20echo "</form>\n";
21echo "Ratescans including patch rates for all ratescans of the night ".date("Y/m/d", strtotime($date)).": <br>\n";
22
23if (is_dir($path))
24{
25 echo "<table>\n";
26 if (!$handle=opendir($path))
27 {
28 printf("sorry, path %s cannot be opened", $path);
29 return;
30 }
31 while (false !== ($dir = readdir($handle)))
32 {
33 if(ereg(".png$", $dir))
34 printf("<tr>\n<td><img src='%s/%s' alt='ratescan'></td>\n</tr>\n", $path, $dir);
35 }
36 echo "</table>\n";
37}
38else
39 echo "No files available for ".$date.".\n";
40
41echo "<br>\n";
42echo "Blue: Rate vs threshold<br>\n";
43echo "Black: Patch rates vs threshold<br>\n";
44echo "Gray: Ratescan with good conditions (1.1.2014, id=1388617563)<br>\n";
45echo "&Delta;U: offset to nominal setup voltage (reference changed on 15.9.2014) <br>\n";
46echo "</body>\n";
47echo "</html>\n";
48?>
Note: See TracBrowser for help on using the repository browser.