source: trunk/www/dch/scheduling.php@ 15658

Last change on this file since 15658 was 15403, checked in by Daniela Dorner, 12 years ago
moved date menu to include file
File size: 2.0 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='scheduling.php' METHOD='GET'>\n";
14echo "scheduling plots for ";
15
16$date=GetDates($_GET["date"], "scheduling");
17$date2=date("Ymd", strtotime($date));
18$path="../scheduling/".date("Y/m/d", strtotime($date));
19
20echo "</form>\n";
21
22if (is_dir($path))
23{
24 printf("<a href='%s'>more files</a>\n",$path);
25 echo "<table>\n";
26 echo "<tr>\n";
27 //printf("<td><img src='%s/visibility%s.png' alt='visibility'></td>", $path, $date);
28 //printf("<td valign='top'><img src='%s/legend%s.png' alt='legend'></td>", $path, $date);
29 printf("<td><img src='%s/%s-ZenithDistance.png' alt='visibility'></td>\n", $path, $date2);
30 printf("<td valign='top'><img src='%s/%s-Legend.png' alt='legend'></td>\n", $path, $date2);
31 echo "</tr>\n";
32 echo "<tr>\n";
33 //printf("<td><img src='%s/currents%s.png' alt='currents'></td>", $path, $date);
34 //printf("<td valign='top'><img src='%s/legend%s.png' alt='legend'></td>", $path, $date);
35 printf("<td><img src='%s/%s-PredictedCurrent.png' alt='currents'></td>\n", $path, $date2);
36 printf("<td valign='top'><img src='%s/%s-Legend.png' alt='legend'></td>\n", $path, $date2);
37 echo "</tr>\n";
38 echo "<tr>\n";
39 printf("<td><img src='%s/%s-MoonDist.png' alt='moondist'></td>\n", $path, $date2);
40 printf("<td valign='top'><img src='%s/%s-Legend.png' alt='legend'></td>\n", $path, $date2);
41 echo "</tr>\n";
42 echo "<tr>\n";
43 printf("<td><img src='%s/%s-RelativeThreshold.png' alt='threshold'></td>\n", $path, $date2);
44 printf("<td valign='top'><img src='%s/%s-Legend.png' alt='legend'></td>\n", $path, $date2);
45 echo "</tr>\n";
46 echo "</table>\n";
47}
48else
49 echo "No files available for ".$date.".\n";
50
51
52echo "</body>\n";
53echo "</html>\n";
54?>
Note: See TracBrowser for help on using the repository browser.