Last change
on this file since 18206 was 18206, checked in by Daniela Dorner, 9 years ago |
website for ratescan quality plots
|
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 |
|
---|
10 | include ("dates.php");
|
---|
11 |
|
---|
12 | echo "<body>\n";
|
---|
13 | echo "<form name='formular' action='ratescans.php' METHOD='GET'>\n";
|
---|
14 | echo "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 |
|
---|
20 | echo "</form>\n";
|
---|
21 | echo "Ratescans including patch rates for all ratescans of the night ".date("Y/m/d", strtotime($date)).": <br>\n";
|
---|
22 |
|
---|
23 | if (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 | }
|
---|
38 | else
|
---|
39 | echo "No files available for ".$date.".\n";
|
---|
40 |
|
---|
41 | echo "<br>\n";
|
---|
42 | echo "Blue: Rate vs threshold<br>\n";
|
---|
43 | echo "Black: Patch rates vs threshold<br>\n";
|
---|
44 | echo "Gray: Ratescan with good conditions (1.1.2014, id=1388617563)<br>\n";
|
---|
45 | echo "</body>\n";
|
---|
46 | echo "</html>\n";
|
---|
47 | ?>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.