Changeset 30559 for trunk/ippMonitor/raw/czartool_exposures.php
- Timestamp:
- Feb 10, 2011, 2:45:28 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/ippMonitor/raw/czartool_exposures.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippMonitor/raw/czartool_exposures.php
r30558 r30559 24 24 25 25 $date = $_POST['date']; 26 $survey = $_POST['survey']; 26 27 27 28 // if no date chosen, use today 28 29 if ($date == "") $date = date("Y-m-d"); 30 if ($survey == "") $survey = ""; 29 31 30 32 … … 37 39 38 40 39 echo "<form method=post action=czartool_exposures.php?pass=$pass&proj=$proj&date=$date >";40 echo "<p align=\"center\"> Current status of all exposures taken on (UTC) ";41 echo " <input type=text name=date value='$date'>";41 echo "<form method=post action=czartool_exposures.php?pass=$pass&proj=$proj&date=$date&survey=$survey>"; 42 echo "<p align=\"center\"> Current status of all exposures taken on (UTC) <input type=text name=date value='$date'>"; 43 echo " for survey <input type=text name=survey value='$survey'> (leave blank for all surveys)"; 42 44 echo "<input type=submit value=Submit>"; 43 45 echo "</p>"; … … 45 47 echo "</form>\n"; 46 48 47 createTableForThisSurvey($gpc1db, $date, "");49 createTableForThisSurvey($gpc1db, $date, $survey); 48 50 49 51 menu_end(); … … 75 77 $qry->fetchInto($count); 76 78 77 if ($surveyStr == "") $surveyText = "all surveys"; 79 if ($surveyStr == "") $surveyText = "all surveys"; 78 80 else $surveyText = "$surveyStr survey"; 79 81 … … 100 102 $ssDiffProduced = array(); getSSDiffProduced($db, $date, $surveyStr, &$ssDiffProduced); 101 103 102 $class = "list";103 //echo "<table class=$class>\n";104 echo "<table border=\"1\" cellspacing=\"0\" cellpadding=\"4\" >\n"; 105 104 // create table 105 echo "<table border=\"1\" cellspacing=\"0\" cellpadding=\"4\" style=\"font-size:80%\">\n"; 106 107 // table headers 106 108 echo "<tr><td></td>\n"; 107 109 echo "<th></th>";
Note:
See TracChangeset
for help on using the changeset viewer.
