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='scheduling.php' METHOD='GET'>\n";
|
---|
14 | echo "scheduling plots for ";
|
---|
15 |
|
---|
16 |
|
---|
17 | $d = isset($_GET['date']) ? $_GET['date'] : '';
|
---|
18 |
|
---|
19 | $date=GetDates($d, "scheduling");
|
---|
20 | $date2=date("Ymd", strtotime($date));
|
---|
21 | $path="../scheduling/".date("Y/m/d", strtotime($date));
|
---|
22 |
|
---|
23 | echo "</form>\n";
|
---|
24 |
|
---|
25 | if (is_dir($path))
|
---|
26 | {
|
---|
27 | printf("<a href='%s'>more files</a>\n",$path);
|
---|
28 | echo "<table>\n";
|
---|
29 | echo "<tr>\n";
|
---|
30 | //printf("<td><img src='%s/visibility%s.png' alt='visibility'></td>", $path, $date);
|
---|
31 | //printf("<td valign='top'><img src='%s/legend%s.png' alt='legend'></td>", $path, $date);
|
---|
32 | printf("<td><img src='%s/%s-ZenithDistance.png' alt='visibility'></td>\n", $path, $date2);
|
---|
33 | printf("<td valign='top'><img src='%s/%s-Legend.png' alt='legend'></td>\n", $path, $date2);
|
---|
34 | echo "</tr>\n";
|
---|
35 | echo "<tr>\n";
|
---|
36 | //printf("<td><img src='%s/currents%s.png' alt='currents'></td>", $path, $date);
|
---|
37 | //printf("<td valign='top'><img src='%s/legend%s.png' alt='legend'></td>", $path, $date);
|
---|
38 | printf("<td><img src='%s/%s-PredictedCurrent.png' alt='currents'></td>\n", $path, $date2);
|
---|
39 | printf("<td valign='top'><img src='%s/%s-Legend.png' alt='legend'></td>\n", $path, $date2);
|
---|
40 | echo "</tr>\n";
|
---|
41 | echo "<tr>\n";
|
---|
42 | printf("<td><img src='%s/%s-MoonDist.png' alt='moondist'></td>\n", $path, $date2);
|
---|
43 | printf("<td valign='top'><img src='%s/%s-Legend.png' alt='legend'></td>\n", $path, $date2);
|
---|
44 | echo "</tr>\n";
|
---|
45 | echo "<tr>\n";
|
---|
46 | printf("<td><img src='%s/%s-RelativeThreshold.png' alt='threshold'></td>\n", $path, $date2);
|
---|
47 | printf("<td valign='top'><img src='%s/%s-Legend.png' alt='legend'></td>\n", $path, $date2);
|
---|
48 | echo "</tr>\n";
|
---|
49 | echo "</table>\n";
|
---|
50 | }
|
---|
51 | else
|
---|
52 | echo "No files available for ".$date.".\n";
|
---|
53 |
|
---|
54 |
|
---|
55 | echo "</body>\n";
|
---|
56 | echo "</html>\n";
|
---|
57 | ?>
|
---|