source: trunk/www/dch/ratescan_plots.php@ 18201

Last change on this file since 18201 was 18201, checked in by dneise, 9 years ago
initial commit of page, which shows ratescan plots
File size: 856 bytes
Line 
1<html>
2<head>
3 <meta name="Author" content="Dominik Neise" />
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='ratescan_plots.php' METHOD='GET'>\n";
14echo "quality plots for ";
15
16$date=GetDates($_GET["date"], "ratescan_plots");
17$date2=date("Ymd", strtotime($date));
18$path="../ratescan_plots/".date("Y/m/d", strtotime($date));
19
20echo "</form>\n";
21
22if (is_dir($path))
23{
24 echo "<table>\n";
25 echo "<tr>\n";
26 printf("<td><img src='%s/%s.png' alt='ratescan_plot'></td>\n", $path, $date2);
27 echo "</tr>\n";
28 echo "<tr>\n";
29 echo "</table>\n";
30}
31else
32 echo "No files available for ".$date.".\n";
33
34echo "</body>\n";
35echo "</html>\n";
36?>
Note: See TracBrowser for help on using the repository browser.