source: trunk/MagicSoft/Mars/datacenter/db/menu.php@ 8272

Last change on this file since 8272 was 8252, checked in by Daniela Dorner, 18 years ago
*** empty log message ***
  • Property svn:executable set to *
File size: 36.4 KB
Line 
1<?php
2
3function PrintRunInfoMenu()
4{
5 printf(" <div id='info' style='display:none'>");
6 printf(" <table>\n");
7 printf(" <tr>\n");
8
9 CheckBox("fRunStart", "Run start time");
10 CheckBox("fL2RatePresc", "L2 presc Rate");
11 CheckBox("fDaqStoreRate", "DAQ Storage Rate");
12 CheckBox("fAzimuth", "Azimuth");
13
14 printf(" </tr><tr>\n");
15
16 CheckBox("fRunStop", "Run stop time");
17 CheckBox("fL2RateUnpresc", "L2 unpresc Rate");
18 CheckBox("fDaqTriggerRate", "DAQ Trigger Rate");
19 CheckBox("fZenithDistance", "Zenith distance");
20
21 printf(" </tr><tr>\n");
22
23 // CheckBox("fFormatVersion", "File format");
24 CheckBox("fNumEvents", "Num of events");
25 CheckBox("fMeanTriggerRate", "Mean Trigger rate");
26 CheckBox("fSequenceFirst", "Sequence Number");
27 CheckBox("fTest", "incl. TestSources");
28
29 printf(" </tr>\n");
30 printf(" </table>\n");
31 printf(" </div><p>\n");
32}
33
34function PrintRunStatMenu()
35{
36 printf(" <div id=\"stat\" style='display:none'>\n");
37 printf(" <table>\n");
38 printf(" <tr><td>\n");
39
40 PrintStatusMenu("fCCFileAvail", "CC File available");
41 printf(" </td><td>\n");
42 PrintStatusMenu("fCaCoFileAvail", "Caco File available");
43 printf(" </td><td>\n");
44 PrintStatusMenu("fRawFileAvail", "Rawfile available");
45
46 printf(" </td></tr><tr><td>\n");
47
48 PrintStatusMenu("fTimingCorrection", "Timing Correction");
49 printf(" </td><td>\n");
50 PrintStatusMenu("fCaCoFileFound", "Caco File");
51 printf(" </td><td>\n");
52 PrintStatusMenu("fDataCheckDone", "DataCheck");
53
54 printf(" </td></tr></table>\n");
55 printf(" <p>\n");
56 printf(" </div><p>\n");
57}
58
59function PrintRunInfo2Menu($host,$user,$pw,$db)
60{
61 printf(" <div id='info2' style='display:none'>");
62 printf(" <table>\n");
63 printf(" <tr><td>\n");
64 PrintPullDown($host, $user, $pw, $db, "RunType", "fRunTypeName", "fRunTypeKEY", "Run type");
65 printf(" </td><td>\n");
66 PrintPullDown($host, $user, $pw, $db, "Source", "fSourceName", "fSourceKEY", "Source Name");
67 printf(" </td><td>\n");
68 PrintPullDown($host, $user, $pw, $db, "HvSettings", "fHvSettingsName", "fHvSettingsKEY", "HV Settings");
69 printf(" </td><td>\n");
70 PrintPullDown($host, $user, $pw, $db, "L1TriggerTable", "fL1TriggerTableName", "fL1TriggerTableKEY", "L1 Trigger Table");
71 printf(" </td></tr><tr><td>\n");
72 PrintPullDown($host, $user, $pw, $db, "TestFlag", "fTestFlagName", "fTestFlagKEY", "Test Flag");
73 printf(" </td><td>\n");
74 PrintPullDown($host, $user, $pw, $db, "Project", "fProjectName", "fProjectKEY", "Project Name");
75 printf(" </td><td>\n");
76 PrintPullDown($host, $user, $pw, $db, "DiscriminatorThresholdTable", "fDiscriminatorThresholdTableName", "fDiscriminatorThresholdTableKEY", "DT Table");
77 printf(" </td><td>\n");
78 PrintPullDown($host, $user, $pw, $db, "L2TriggerTable", "fL2TriggerTableName", "fL2TriggerTableKEY", "L2 Trigger Table");
79 printf(" </td></tr><tr><td>\n");
80 PrintPullDown($host, $user, $pw, $db, "ExcludedFDA", "fExcludedFDAName", "fExcludedFDAKEY", "Exclusions");
81 printf(" </td><td>\n");
82 PrintPullDown($host, $user, $pw, $db, "LightConditions", "fLightConditionsName", "fLightConditionsKEY", "Light Conditions");
83 printf(" </td><td>\n");
84 PrintPullDown($host, $user, $pw, $db, "CalibrationScript", "fCalibrationScriptName", "fCalibrationScriptKEY", "Cal Script");
85 printf(" </td><td>\n");
86 PrintPullDown($host, $user, $pw, $db, "TriggerDelayTable", "fTriggerDelayTableName", "fTriggerDelayTableKEY", "Trigger Delay Table");
87 printf(" </td></tr><tr><td>\n");
88 PrintPullDown($host, $user, $pw, $db, "MagicNumber", "fMagicNumberName", "fMagicNumberKEY", "Magic Number");
89 printf(" </td><td>\n");
90 PrintPullDown($host, $user, $pw, $db, "ObservationMode", "fObservationModeName", "fObservationModeKEY", "Obs. Mode");
91 printf(" </td></tr></table>\n");
92 printf(" </div><p>\n");
93}
94
95function PrintSequInfoMenu()
96{
97 printf(" <div id='info' style='display:none'>");
98 printf(" <table>\n");
99
100 printf("<tr><td align='center'>\n");
101 printf(" <tr>\n");
102
103 CheckBox("fRunStart", "Start time");
104 CheckBox("fRunStop", "Stop time");
105 CheckBox("fNumEvents", "Num of events");
106 CheckBox("fRunTime/60", "Duration");
107
108 printf(" </tr><tr>\n");
109
110 CheckBox("fZenithDistanceMin", "Zenith distance min");
111 CheckBox("fZenithDistanceMax", "Zenith distance max");
112 CheckBox("fAzimuthMin", "Azimuth min");
113 CheckBox("fAzimuthMax", "Azimuth max");
114
115 printf(" </tr><tr>\n");
116
117 CheckBox("fSequenceLast", "Last run");
118
119 printf(" </tr><tr>\n");
120
121 CheckBox("fLinks", "Links");
122 CheckBox("fTest", "incl. TestSources");
123 CheckBox("fOff", "incl. offsources");
124 CheckBox("fOnlyOff", "only offsources");
125
126 printf(" </tr></table>\n");
127 printf(" </div><p>\n");
128}
129
130function PrintSequInfo2Menu($host,$user,$pw,$db)
131{
132 printf(" <div id='info2' style='display:none'>\n");
133 printf(" <table>\n");
134 printf(" <tr><td>\n");
135 PrintPullDown($host, $user, $pw, $db, "Source", "fSourceName", "fSourceKEY", "Source Name");
136 printf(" </td><td>\n");
137 PrintPullDown($host, $user, $pw, $db, "L1TriggerTable", "fL1TriggerTableName", "fL1TriggerTableKEY", "L1Trigger Table");
138 printf(" </td><td>\n");
139 PrintPullDown($host, $user, $pw, $db, "L2TriggerTable", "fL2TriggerTableName", "fL2TriggerTableKEY", "L2Trigger Table");
140 printf(" </td><td>\n");
141 PrintPullDown($host, $user, $pw, $db, "TriggerDelayTable", "fTriggerDelayTableName", "fTriggerDelayTableKEY", "Trigger Delay Table");
142 printf(" </td></tr><tr><td>\n");
143 PrintPullDown($host, $user, $pw, $db, "LightConditions", "fLightConditionsName", "fLightConditionsKEY", "Light Conditions");
144 printf(" </td><td>\n");
145 PrintPullDown($host, $user, $pw, $db, "Project", "fProjectName", "fProjectKEY", "Project Name");
146 printf(" </td><td>\n");
147 PrintPullDown($host, $user, $pw, $db, "HvSettings", "fHvSettingsName", "fHvSettingsKEY", "HV Settings");
148 printf(" </td><td>\n");
149 PrintPullDown($host, $user, $pw, $db, "DiscriminatorThresholdTable", "fDiscriminatorThresholdTableName", "fDiscriminatorThresholdTableKEY", "DT Table");
150 printf(" </td></tr><tr><td>\n");
151 PrintPullDown($host, $user, $pw, $db, "ObservationMode", "fObservationModeName", "fObservationModeKEY", "Obs. Mode");
152 printf(" </td><td>\n");
153// PrintPullDown($host, $user, $pw, $db, "ManuallyChanged", "fManuallyChangedName", "fManuallyChangedKEY", "Manually changed");
154// printf(" </td><td>\n");
155 PrintPullDown($host, $user, $pw, $db, "TestFlag", "fTestFlagName", "fTestFlagKEY", "Test Flag");
156 printf(" </td></tr>\n");
157 printf(" </table>\n");
158 printf(" </div><p>\n");
159}
160
161function PrintLimitsMenu($limitsmean, $limitsmin, $limitsmax, $alias, $old)
162{
163 printf("<div id='limits' style='display:none'>\n");
164 printf(" <table>\n");
165 printf(" <tr><th colspan='3'>Limits</th></tr>\n");
166 printf(" <tr><td valign='top'>\n");
167
168 printf(" <table>\n");
169 printf(" <tr><th>Name </th><th> Mean </th><th> Rms </th></tr>\n");
170
171 foreach($limitsmean as $key => $element)
172 {
173 printf("<tr><td>%s</td>\n", $alias[$key]);
174 $mean=$key . "Mean";
175 $limitmean=$_GET[$mean];
176 printf("<td><input name=\"%sMean\" type=\"text\" size=\"6\" maxlength=\"6\" value=\"%s\"></td>\n", $key, $limitmean);
177 $rms2=$key . "Rms";
178 $limitrms=$_GET[$rms2];
179 printf("<td><input name=\"%sRms\" type=\"text\" size=\"6\" maxlength=\"6\" value=\"%s\"></td>\n", $key, $limitrms);
180 printf("</tr>\n");
181 }
182
183 if (empty($old))
184 {
185 printf(" </table>\n");
186 printf(" </td>\n");
187 printf(" <td valign='top'>\n");
188 printf(" <table>\n");
189 }
190
191 printf(" <tr><th>Name </th><th> Min </th><th> Min2 </th></tr>\n");
192 foreach($limitsmin as $key => $element)
193 {
194 printf("<tr><td>%s</td>\n", $alias[$key]);
195 $level1=$key . "1";
196 $limit1=$_GET[$level1];
197 printf("<td><input name=\"%s1\" type=\"text\" size=\"6\" maxlength=\"6\" value=\"%s\"></td>\n", $key, $limit1);
198 $level2=$key . "2";
199 $limit2=$_GET[$level2];
200 printf("<td><input name=\"%s2\" type=\"text\" size=\"6\" maxlength=\"6\" value=\"%s\"></td>\n", $key, $limit2);
201 printf("</tr>\n");
202 }
203
204 if (empty($old))
205 {
206 printf(" </table>\n");
207 printf(" </td>\n");
208 printf(" <td valign='top'>\n");
209 printf(" <table>\n");
210 }
211
212 printf(" <tr><th>Name </th><th> Max </th><th> Max2 </th></tr>\n");
213 foreach($limitsmax as $key => $element)
214 {
215 printf("<tr><td>%s</td>\n", $alias[$key]);
216 $level1=$key . "1";
217 $limit1=$_GET[$level1];
218 printf("<td><input name=\"%s1\" type=\"text\" size=\"6\" maxlength=\"6\" value=\"%s\"></td>\n", $key, $limit1);
219 $level2=$key . "2";
220 $limit2=$_GET[$level2];
221 printf("<td><input name=\"%s2\" type=\"text\" size=\"6\" maxlength=\"6\" value=\"%s\"></td>\n", $key, $limit2);
222 printf("</tr>\n");
223 }
224 printf(" </table>\n");
225
226 printf(" </td></tr></table>\n");
227 printf("<p>\n");
228 printf("</div>\n");
229}
230
231function PrintSequStatMenu()
232{
233 printf(" <div id='stat' style='display:none'>\n");
234 printf(" <table><tr><td>\n");
235
236 PrintStatusMenu("fAllFilesAvail", "Files avail");
237 printf(" </td><td>\n");
238 PrintStatusMenu("fCallisto", "Callisto");
239 printf(" </td><td>\n");
240 PrintStatusMenu("fStar", "Star");
241 printf(" </td></tr><tr><td>\n");
242 PrintStatusMenu("fSequenceFileWritten", "Sequfile");
243 printf(" </td><td>\n");
244 PrintStatusMenu("fFillCallisto", "Fillcallisto");
245 printf(" </td><td>\n");
246 PrintStatusMenu("fFillStar", "Fillstar");
247
248 printf("</td></tr> </table>\n");
249 printf(" </div><p>\n");
250}
251
252function PrintFailMenu()
253{
254 printf(" <div id='fail' style='display:none'>\n");
255 printf(" <table>\n");
256 printf(" <tr>\n");
257
258 CheckBox("fStartTime", "ProcessTime");
259 CheckBox("fFailedTime", "FailTime");
260 CheckBox("fReturnCode", "RetCode");
261 CheckBox("fFailedCode", "FailCode");
262 CheckBox("fFailedCodeAdd", "FailCodeAdd");
263
264 printf(" </tr>\n");
265 printf(" </table>\n");
266 printf(" </div><p>\n");
267}
268
269function PrintCalMenu()
270{
271 printf(" <div id='cal' style='display:none'>\n");
272 printf(" <table>\n");
273 printf(" <tr>\n");
274
275 CheckBox("fUnsuitableInner", "Unsuitable inner");
276 CheckBox("fUnsuitableOuter", "Unsuitable outer");
277 CheckBox("fUnreliableInner", "Unreliable inner");
278 CheckBox("fUnreliableOuter", "Unreliable outer");
279
280 printf(" </tr><tr>\n");
281
282 CheckBox("fIsolatedInner", "Isolated inner");
283 CheckBox("fIsolatedOuter", "Isolated outer");
284 CheckBox("fIsolatedMaxCluster", "IsolatedMaxCluster");
285
286 printf(" </tr><tr>\n");
287
288 CheckBox("fArrTimeMeanInner", "ArrTimeMean inner ");
289 CheckBox("fArrTimeMeanOuter", "ArrTimeMean outer ");
290 CheckBox("fArrTimeRmsInner", "ArrTimeRms inner ");
291 CheckBox("fArrTimeRmsOuter", "ArrTimeRms outer ");
292
293 printf(" </tr><tr>\n");
294
295 CheckBox("fMeanPedRmsInner", "MeanPedRms inner");
296 CheckBox("fMeanPedRmsOuter", "MeanPedRms outer");
297 CheckBox("fMeanSignalInner", "MeanSignal inner");
298 CheckBox("fMeanSignalOuter", "MeanSignal outer");
299
300 printf(" </tr><tr>\n");
301
302 CheckBox("fConvFactorInner", "Conv inner ");
303 CheckBox("fConvFactorOuter", "Conv outer ");
304 CheckBox("fPulsePosMean", "Mean PulsePos");
305
306 printf(" </tr></table>\n");
307 printf(" </div><p>\n");
308}
309
310function PrintStarMenu()
311{
312 printf(" <div id='star' style='display:none'>\n");
313 printf(" <table>\n");
314 printf(" <tr>\n");
315
316 CheckBox("fDataRate", "CleanedEvtRate");
317 CheckBox("fMeanNumberIslands", "MeanNumIslands");
318 CheckBox("fMaxHumidity", "MaxHumidity");
319 CheckBox("fInhomogeneity", "Inhomogeneity");
320
321 printf(" </tr><tr>\n");
322
323 CheckBox("fMuonRate", "MuonRate");
324 CheckBox("fMuonNumber", "MuonNumber");
325 CheckBox("fRatio", "Ratio");
326 CheckBox("fPSF", "PSF");
327
328 printf(" </tr><tr>\n");
329
330 CheckBox("fEffOnTime", "EffOnTime");
331 CheckBox("fEffOnTime/fRunTime", "RelOnTime");
332 CheckBox("fBrightnessMed", "SkyBrightnessMed");
333 CheckBox("fBrightnessRMS", "SkyBrightnessRMS");
334
335 printf(" </tr><tr>\n");
336
337 CheckBox("fNumStarsMed", "# id. Stars");
338 CheckBox("fNumStarsRMS", "RMS id. Stars");
339 CheckBox("fNumStarsCorMed", "# cor. Stars");
340 CheckBox("fNumStarsCorRMS", "RMS cor. Stars");
341
342 printf(" </tr>\n");
343 printf(" </table>\n");
344 printf(" </div><p>\n");
345}
346
347function PrintDataSetInfoMenu($host,$user,$pw,$db)
348{
349 printf(" <div id=\"info\" style='display:none'>");
350 printf(" <table>\n");
351 printf(" <tr>\n");
352
353 CheckBox("fDataSetName", "Name");
354 CheckBox("fComment", "Comment");
355 CheckBox("fRunTime", "Uptime");
356 CheckBox("fRunStart", "Start");
357 CheckBox("fRunStop", "Stop");
358
359 printf(" </tr><tr>\n");
360
361 CheckBox("fZenithDistanceMin", "ZdMin");
362 CheckBox("fZenithDistanceMax", "ZdMax");
363 CheckBox("fLinks", "Links");
364
365 printf(" </tr><tr>\n");
366
367 CheckBox("fEffOnTime/3600", "EffOnTime");
368 CheckBox("fExcessEvents", "ExcEvts");
369 CheckBox("fBackgroundEvents", "BgEvts");
370 CheckBox("fSignalEvents", "SignEvts");
371 CheckBox("fSignificance", "Sign");
372
373 printf(" </tr><tr>\n");
374
375 CheckBox("fScaleFactor", "Scale");
376 CheckBox("fExcessEvents*60/fEffOnTime", "ExcRate");
377 CheckBox("fBackgroundEvents*60/fEffOnTime", "BgRate");
378 CheckBox("fSignalEvents*60/fEffOnTime", "SignRate");
379 CheckBox("Round(fSignificance/Sqrt(fEffOnTime/3600),2)", "SignfRate");
380
381 printf(" </tr>\n");
382 printf(" </table>\n");
383 printf(" </div><p>\n");
384}
385
386function PrintDataSetInfoMenu2($host,$user,$pw,$db)
387{
388 printf(" <div id='info2' style='display:none'>");
389 printf(" <table><tr><td>\n");
390 PrintPullDown($host, $user, $pw, $db, "Source", "fSourceName", "fSourceKEY", "Source Name");
391 printf(" </td><td>\n");
392 PrintPullDown($host, $user, $pw, $db, "ObservationMode", "fObservationModeName", "fObservationModeKEY", "Observation Mode");
393 printf(" </td><td>\n");
394 PrintPullDown($host, $user, $pw, $db, "User", "fUserName", "fUserKEY", "User");
395 printf(" </td></tr>\n");
396 printf(" </table>\n");
397 printf("</div>");
398}
399
400function PrintDataSetStatMenu($host,$user,$pw,$db)
401{
402 printf(" <div id=\"stat\" style='display:none'>\n");
403 printf(" <table>\n");
404 printf(" <tr>\n");
405
406 printf(" <td>\n");
407 PrintStatusMenu("fDataSetInserted", "DataSet Inserted");
408 printf(" </td><td>\n");
409 PrintStatusMenu("fDataSetFileWritten", "DataSetFile");
410 printf(" </td><td>\n");
411 PrintStatusMenu("fStarFilesAvail", "FilesAvail");
412 printf(" </td><td>\n");
413 PrintStatusMenu("fGanymed", "Ganymed");
414 printf(" </td><td>\n");
415 PrintStatusMenu("fFillGanymed", "FillGanymed");
416 printf(" </tr>\n");
417 printf(" </table>\n");
418 printf(" </div><p>\n");
419}
420
421function PrintRunRangeMenu($host,$user,$pw,$db)
422{
423 if (empty($_GET["fRunMin"]))
424 $min = GetMin("fRunNumber", "RunData", $host, $user, $pw, $db);
425 else
426 $min = $_GET["fRunMin"];
427
428 if (empty($_GET["fRunMax"]))
429 $max = GetMax("fRunNumber", "RunData", $host, $user, $pw, $db);
430 else
431 $max = $_GET["fRunMax"];
432
433 printf("Runs&nbsp;from&nbsp;<input name=\"fRunMin\" type=\"text\" size=\"6\" maxlength=\"6\" value=\"%s\">\n", $min);
434 printf("to&nbsp;<input name=\"fRunMax\" type=\"text\" size=\"6\" maxlength=\"6\" value=\"%s\">&nbsp;&nbsp;&nbsp;\n", $max);
435}
436
437function PrintSequRangeMenu($host,$user,$pw,$db)
438{
439 if (empty($_GET["fRunMin"]))
440 $min = GetMin("fSequenceFirst", "Sequences", $host, $user, $pw, $db);
441 else
442 $min = $_GET["fRunMin"];
443
444 if (empty($_GET["fRunMax"]))
445 $max = GetMax("fSequenceFirst", "Sequences", $host, $user, $pw, $db);
446 else
447 $max = $_GET["fRunMax"];
448
449 printf("Sequences&nbsp;from&nbsp;<input name=\"fRunMin\" type=\"text\" size=\"6\" maxlength=\"6\" value=\"%s\">\n", $min);
450 printf("to&nbsp;<input name=\"fRunMax\" type=\"text\" size=\"6\" maxlength=\"6\" value=\"%s\">&nbsp;&nbsp;&nbsp;\n", $max);
451}
452
453function PrintDataSetRangeMenu($host,$user,$pw,$db)
454{
455 if (empty($_GET["fRunMin"]))
456 $min = GetMin("fDataSetNumber", "DataSets", $host, $user, $pw, $db);
457 else
458 $min = $_GET["fRunMin"];
459
460 if (empty($_GET["fRunMax"]))
461 $max = GetMax("fDataSetNumber", "DataSets", $host, $user, $pw, $db);
462 else
463 $max = $_GET["fRunMax"];
464
465 printf("DataSets&nbsp;from&nbsp;<input name=\"fRunMin\" type=\"text\" size=\"6\" maxlength=\"6\" value=\"%s\">\n", $min);
466 printf("to&nbsp;<input name=\"fRunMax\" type=\"text\" size=\"6\" maxlength=\"6\" value=\"%s\">&nbsp;&nbsp;&nbsp;\n", $max);
467}
468
469function PrintZdRangeMenu($host,$user,$pw,$db)
470{
471 if (empty($_GET["fZDMin"]))
472 $zdmin = GetMin("fZenithDistanceMin", "Sequences", $host, $user, $pw, $db);
473 else
474 $zdmin = $_GET["fZDMin"];
475
476 if (empty($_GET["fZDMax"]))
477 $zdmax = GetMax("fZenithDistanceMax", "Sequences", $host, $user, $pw, $db);
478 else
479 $zdmax = $_GET["fZDMax"];
480
481 printf("ZenithDistance&nbsp;from&nbsp;<input name=\"fZDMin\" type=\"text\" size=\"2\" maxlength=\"2\" value=\"%s\">\n", $zdmin);
482 printf("to&nbsp;<input name=\"fZDMax\" type=\"text\" size=\"2\" maxlength=\"2\" value=\"%s\">&nbsp;&nbsp;&nbsp;\n", $zdmax);
483}
484
485function PrintNightRangeMenu($host,$user,$pw,$db)
486{
487 if (empty($_GET["fStartDate"]))
488 $timemin = GetMin("fRunStart", "Sequences", $host, $user, $pw, $db);
489 else
490 $timemin = $_GET["fStartDate"];
491
492 if (empty($_GET["fStopDate"]))
493 $timemax = GetMax("fRunStart", "Sequences", $host, $user, $pw, $db);
494 else
495 $timemax = $_GET["fStopDate"];
496
497 printf("Night&nbsp;(yyyy-mm-dd)&nbsp;from&nbsp;<input name=\"fStartDate\" type=\"text\" size=\"10\" maxlength=\"10\" value=\"%s\">\n", $timemin);
498 printf("to&nbsp;<input name=\"fStopDate\" type=\"text\" size=\"10\" maxlength=\"10\" value=\"%s\">&nbsp;&nbsp;&nbsp;&nbsp;\n", $timemax);
499}
500
501function PrintStarRangeMenu($host,$user,$pw,$db)
502{
503 if (empty($_GET["fStarStart"]))
504 $starmin = GetMin("fStar", "SequenceProcessStatus", $host, $user, $pw, $db);
505 else
506 $starmin = $_GET["fStarStart"];
507
508 if (empty($_GET["fStarStop"]))
509 $starmax = GetMax("fStar", "SequenceProcessStatus", $host, $user, $pw, $db);
510 else
511 $starmax = $_GET["fStarStop"];
512
513 printf("<p>StarDone&nbsp;(yyyy-mm-dd)&nbsp;from&nbsp;<input name=\"fStarStart\" type=\"text\" size=\"10\" maxlength=\"10\" value=\"%s\">\n", $starmin);
514 printf("to&nbsp;<input name=\"fStarStop\" type=\"text\" size=\"10\" maxlength=\"10\" value=\"%s\">&nbsp;&nbsp;&nbsp;&nbsp;\n", $starmax);
515}
516
517function PrintSourceMenu($host,$user,$pw,$db)
518{
519 printf("Source&nbsp;(<A HREF=\"regexp.html\">regexp</A>)&nbsp;<input name=\"fSourceN\" type=\"text\" size=\"15\" maxlength=\"15\" value=\"");
520 if (!empty($_GET["fSourceN"]))
521 printf("%s", $_GET["fSourceN"]);
522 printf("\">&nbsp;&nbsp;&nbsp;\n");
523}
524function PrintSequMenu($host,$user,$pw,$db)
525{
526 printf("Sequ#&nbsp;<input name=\"fSequenceNo\" type=\"text\" size=\"6\" maxlength=\"6\" value=\"");
527 if (!empty($_GET["fSequenceNo"]))
528 printf("%s", $_GET["fSequenceNo"]);
529 printf("\">&nbsp;&nbsp;&nbsp;\n");
530}
531
532function PrintNumResPullDown()
533{
534 printf(" Results:\n");
535 printf(" <select name=\"fNumResults\">\n");
536
537 $numres = array("10", "20", "50", "100", "200", "500", "1000", "2000");
538 foreach ($numres as $element)
539 {
540 if ($element==$_GET["fNumResults"])
541 printf("<option value=\"%s\" selected>%3s</option>\n", $element, $element);
542 else
543 printf("<option value=\"%s\">%3s</option>\n", $element, $element);
544 }
545 printf(" </select>\n");
546 printf(" &nbsp;&nbsp;&nbsp;\n");
547}
548
549function PrintButtons($page)
550{
551 printf("<input class='Width' type='submit' value='Query Table'>&nbsp;&nbsp;&nbsp;\n");
552 printf("<input class='Width' type='button' value='Reset' onClick='self.location.href=\"%s\"'>&nbsp;&nbsp;&nbsp;\n", $page);
553// printf("<p>");
554 if (strchr($_SERVER["REQUEST_URI"], '?')!=FALSE)
555 printf("<input class='Width' type='button' value='Get .txt' onClick='self.location.href=\"%s&amp;fSendTxt=1\"'>&nbsp;&nbsp;&nbsp;\n", htmlspecialchars($_SERVER["REQUEST_URI"]));
556 if (strchr($_SERVER["REQUEST_URI"], '?')!=FALSE)
557 {
558 printf("<input class='Width' type='button' value='Print' onClick='self.location.href=\"%s&amp;fPrintTable=1\"'>&nbsp;&nbsp;&nbsp;\n", htmlspecialchars($_SERVER["REQUEST_URI"]));
559 printf("MySqlQuery: <img id='showquerybutton' src='../plus.png' alt='+' onClick='showhide(\"showquery\")'>\n");
560 }
561}
562
563function InitFailInfo($_GET, $first)
564{
565 if (empty($_GET["fStartTime"]))
566 $_GET["fStartTime"]="Off";
567
568 if (empty($_GET["fFailedTime"]))
569 $_GET["fFailedTime"]="Off";
570
571 if (empty($_GET["fReturnCode"]))
572 $_GET["fReturnCode"]="Off";
573
574 if (empty($_GET["fFailedCode"]))
575 $_GET["fFailedCode"]="Off";
576
577 if (empty($_GET["fFailedCodeAdd"]))
578 $_GET["fFailedCodeAdd"]="Off";
579}
580
581function InitInfo($_GET, $first)
582{
583 if (empty($_GET["fNumResults"]))
584 $_GET["fNumResults"]="20";
585
586 if (empty($_GET["fNumEvents"]))
587 $_GET["fNumEvents"]="Off";
588
589 if (empty($_GET["fRunStart"]))
590 $_GET["fRunStart"]="Off";
591
592 if (empty($_GET["fRunStop"]))
593 $_GET["fRunStop"]="Off";
594
595 if (empty($_GET["fTest"]))
596 $_GET["fTest"]="Off";
597
598 if (empty($_GET["fSourceName"]))
599 $_GET["fSourceName"]="Off";
600
601 if (empty($_GET["fProjectName"]))
602 $_GET["fProjectName"]="Off";
603
604 if (empty($_GET["fL1TriggerTableName"]))
605 $_GET["fL1TriggerTableName"]="Off";
606
607 if (empty($_GET["fL2TriggerTableName"]))
608 $_GET["fL2TriggerTableName"]="Off";
609
610 if (empty($_GET["fHvSettingsName"]))
611 $_GET["fHvSettingsName"]="Off";
612
613 if (empty($_GET["fDiscriminatorThresholdTableName"]))
614 $_GET["fDiscriminatorThresholdTableName"]="Off";
615
616 if (empty($_GET["fTriggerDelayTableName"]))
617 $_GET["fTriggerDelayTableName"]="Off";
618
619 if (empty($_GET["fLightConditionsName"]))
620 $_GET["fLightConditionsName"]="Off";
621
622 if (empty($_GET["fTestFlagName"]))
623 $_GET["fTestFlagName"]="Off";
624}
625
626function InitRunStatus($_GET, $first)
627{
628 if (empty($_GET["fDataCheckDone"]))
629 $_GET["fDataCheckDone"]="Off";
630
631 if (empty($_GET["fDataCheckDoneStatus"]))
632 $_GET["fDataCheckDoneStatus"]="0";
633
634 if (empty($_GET["fCCFileAvail"]))
635 $_GET["fCCFileAvail"]="Off";
636
637 if (empty($_GET["fCCFileAvailStatus"]))
638 $_GET["fCCFileAvailStatus"]="0";
639
640 if (empty($_GET["fCaCoFileAvail"]))
641 $_GET["fCaCoFileAvail"]=$first?"On":"";
642
643 if (empty($_GET["fCaCoFileAvailStatus"]))
644 $_GET["fCaCoFileAvailStatus"]="0";
645
646 if (empty($_GET["fCaCoFileFound"]))
647 $_GET["fCaCoFileFound"]="Off";
648
649 if (empty($_GET["fCaCoFileFoundStatus"]))
650 $_GET["fCaCoFileFoundStatus"]="0";
651
652 if (empty($_GET["fRawFileAvail"]))
653 $_GET["fRawFileAvail"]="Off";
654
655 if (empty($_GET["fRawFileAvailStatus"]))
656 $_GET["fRawFileAvailStatus"]="0";
657
658 if (empty($_GET["fTimingCorrection"]))
659 $_GET["fTimingCorrection"]="Off";
660
661 if (empty($_GET["fTimingCorrectionStatus"]))
662 $_GET["fTimingCorrectionStatus"]="0";
663}
664
665function InitRunInfo($_GET, $first)
666{
667 InitRunStatus($_GET, $first);
668 InitInfo($_GET, $first);
669 InitFailInfo($_GET, $first);
670
671 if (empty($_GET["fFormatVersion"]))
672 $_GET["fFormatVersion"]="Off";
673
674 if (empty($_GET["fAzimuth"]))
675 $_GET["fAzimuth"]="Off";
676
677 if (empty($_GET["fZenithDistance"]))
678 $_GET["fZenithDistance"]="Off";
679
680 if (empty($_GET["fRunTypeName"]))
681 $_GET["fRunTypeName"]="Off";
682
683 if (empty($_GET["fExcludedFDAName"]))
684 $_GET["fExcludedFDAName"]="Off";
685
686 if (empty($_GET["fMagicNumberName"]))
687 $_GET["fMagicNumberName"]="Off";
688
689 if (empty($_GET["fObservationModeName"]))
690 $_GET["fObservationModeName"]="Off";
691
692 if (empty($_GET["fMeanTriggerRate"]))
693 $_GET["fMeanTriggerRate"]="Off";
694
695 if (empty($_GET["fCalibrationScriptName"]))
696 $_GET["fCalibrationScriptName"]="Off";
697
698 if (empty($_GET["fTestFlagName"]))
699 $_GET["fTestFlagName"]="Off";
700
701 if (empty($_GET["fDaqStoreRate"]))
702 $_GET["fDaqStoreRate"]="Off";
703
704 if (empty($_GET["fDaqTriggerRate"]))
705 $_GET["fDaqTriggerRate"]="Off";
706
707 if (empty($_GET["fL2RatePresc"]))
708 $_GET["fL2RatePresc"]="Off";
709
710 if (empty($_GET["fL2RateUnpresc"]))
711 $_GET["fL2RateUnpresc"]="Off";
712
713 if (empty($_GET["fSequenceFirst"]))
714 $_GET["fSequenceFirst"]="Off";
715
716 if (empty($_GET["fSequenceNo"]))
717 $_GET["fSequenceNo"]="";
718}
719
720function InitSequStatus($_GET, $first)
721{
722 if (empty($_GET["fSequenceFileWritten"]))
723 $_GET["fSequenceFileWritten"]="Off";
724
725 if (empty($_GET["fSequenceFileWrittenStatus"]))
726 $_GET["fSequenceFileWrittenStatus"]="0";
727
728 if (empty($_GET["fAllFilesAvail"]))
729 $_GET["fAllFilesAvail"]="Off";
730
731 if (empty($_GET["fAllFilesAvailStatus"]))
732 $_GET["fAllFilesAvailStatus"]="0";
733
734 if (empty($_GET["fCallisto"]))
735 $_GET["fCallisto"]="Off";
736
737 if (empty($_GET["fCallistoStatus"]))
738 $_GET["fCallistoStatus"]="0";
739
740 if (empty($_GET["fFillCallisto"]))
741 $_GET["fFillCallisto"]="Off";
742
743 if (empty($_GET["fFillCallistoStatus"]))
744 $_GET["fFillCallistoStatus"]="0";
745
746 if (empty($_GET["fStar"]))
747 $_GET["fStar"]="Off";
748
749 if (empty($_GET["fStarStatus"]))
750 $_GET["fStarStatus"]="0";
751
752 if (empty($_GET["fFillStar"]))
753 $_GET["fFillStar"]="Off";
754
755 if (empty($_GET["fFillStarStatus"]))
756 $_GET["fFillStarStatus"]="0";
757}
758
759function InitStarInfo($_GET, $first)
760{
761 if (empty($_GET["fMeanNumberIslands"]))
762 $_GET["fMeanNumberIslands"]="Off";
763
764 if (empty($_GET["fPSF"]))
765 $_GET["fPSF"]="Off";
766
767 if (empty($_GET["fRatio"]))
768 $_GET["fRatio"]="Off";
769
770 if (empty($_GET["fMuonNumber"]))
771 $_GET["fMuonNumber"]="Off";
772
773 if (empty($_GET["fEffOnTime"]))
774 $_GET["fEffOnTime"]="Off";
775
776 if (empty($_GET["fEffOnTime/fRunTime"]))
777 $_GET["fEffOnTime/fRunTime"]="Off";
778
779 if (empty($_GET["fMuonRate"]))
780 $_GET["fMuonRate"]="Off";
781
782 if (empty($_GET["fInhomogeneity"]))
783 $_GET["fInhomogeneity"]="Off";
784
785 if (empty($_GET["fDataRate"]))
786 $_GET["fDataRate"]="Off";
787
788 if (empty($_GET["fMaxHumidity"]))
789 $_GET["fMaxHumidity"]="Off";
790
791 if (empty($_GET["fBrightnessMed"]))
792 $_GET["fBrightnessMed"]="Off";
793
794 if (empty($_GET["fBrightnessRMS"]))
795 $_GET["fBrightnessRMS"]="Off";
796
797 if (empty($_GET["fNumStarsMed"]))
798 $_GET["fNumStarsMed"]="Off";
799
800 if (empty($_GET["fNumStarsRMS"]))
801 $_GET["fNumStarsRMS"]="Off";
802
803 if (empty($_GET["fNumStarsCorMed"]))
804 $_GET["fNumStarsCorMed"]="Off";
805
806 if (empty($_GET["fNumStarsCorRMS"]))
807 $_GET["fNumStarsCorRMS"]="Off";
808}
809
810function InitCalInfo($_GET, $first)
811{
812 if (empty($_GET["fUnreliableInner"]))
813 $_GET["fUnreliableInner"]="Off";
814
815 if (empty($_GET["fUnsuitableOuter"]))
816 $_GET["fUnsuitableOuter"]="Off";
817
818 if (empty($_GET["fUnreliableOuter"]))
819 $_GET["fUnreliableOuter"]="Off";
820
821 if (empty($_GET["fUnsuitableInner"]))
822 $_GET["fUnsuitableInner"]="Off";
823
824 if (empty($_GET["fIsolatedInner"]))
825 $_GET["fIsolatedInner"]="Off";
826
827 if (empty($_GET["fIsolatedOuter"]))
828 $_GET["fIsolatedOuter"]="Off";
829
830 if (empty($_GET["fMeanPedRmsInner"]))
831 $_GET["fMeanPedRmsInner"]="Off";
832
833 if (empty($_GET["fMeanPedRmsOuter"]))
834 $_GET["fMeanPedRmsOuter"]="Off";
835
836 if (empty($_GET["fIsolatedMaxCluster"]))
837 $_GET["fIsolatedMaxCluster"]="Off";
838
839 if (empty($_GET["fArrTimeMeanInner"]))
840 $_GET["fArrTimeMeanInner"]="Off";
841
842 if (empty($_GET["fArrTimeMeanOuter"]))
843 $_GET["fArrTimeMeanOuter"]="Off";
844
845 if (empty($_GET["fArrTimeRmsInner"]))
846 $_GET["fArrTimeRmsInner"]="Off";
847
848 if (empty($_GET["fArrTimeRmsOuter"]))
849 $_GET["fArrTimeRmsOuter"]="Off";
850
851 if (empty($_GET["fMeanSignalInner"]))
852 $_GET["fMeanSignalInner"]=$first?"Off":"";
853
854 if (empty($_GET["fMeanSignalOuter"]))
855 $_GET["fMeanSignalOuter"]=$first?"Off":"";
856
857 if (empty($_GET["fPulsePosMean"]))
858 $_GET["fPulsePosMean"]=$first?"Off":"";
859
860 if (empty($_GET["fConvFactorInner"]))
861 $_GET["fConvFactorInner"]="Off";
862
863 if (empty($_GET["fConvFactorOuter"]))
864 $_GET["fConvFactorOuter"]="Off";
865}
866
867function InitSequInfo($_GET, $first)
868{
869 InitInfo($_GET, $first);
870 InitSequStatus($_GET, $first);
871 InitFailInfo($_GET, $first);
872 InitCalInfo($_GET, $first);
873 InitStarInfo($_GET, $first);
874
875 if (empty($_GET["fRunTime/60"]))
876 $_GET["fRunTime/60"]="Off";
877
878 if (empty($_GET["fSequenceLast"]))
879 $_GET["fSequenceLast"]="Off";
880
881 if (empty($_GET["fAzimuthMin"]))
882 $_GET["fAzimuthMin"]="Off";
883
884 if (empty($_GET["fAzimuthMax"]))
885 $_GET["fAzimuthMax"]="Off";
886
887 if (empty($_GET["fZenithDistanceMin"]))
888 $_GET["fZenithDistanceMin"]="Off";
889
890 if (empty($_GET["fZenithDistanceMax"]))
891 $_GET["fZenithDistanceMax"]="Off";
892
893 if (empty($_GET["fObservationModeName"]))
894 $_GET["fObservationModeName"]="Off";
895
896// if (empty($_GET["fManuallyChangedName"]))
897// $_GET["fManuallyChangedName"]="Off";
898}
899
900function InitDataSetStatus($_GET, $first)
901{
902 if (empty($_GET["fDataSetInserted"]))
903 $_GET["fDataSetInserted"]="Off";
904
905 if (empty($_GET["fDataSetInsertedStatus"]))
906 $_GET["fDataSetInsertedStatus"]="0";
907
908 if (empty($_GET["fDataSetFileWritten"]))
909 $_GET["fDataSetFileWritten"]=$first?"On":"";
910
911 if (empty($_GET["fDataSetFileWrittenStatus"]))
912 $_GET["fDataSetFileWrittenStatus"]="0";
913
914 if (empty($_GET["fStarFilesAvail"]))
915 $_GET["fStarFilesAvail"]="Off";
916
917 if (empty($_GET["fStarFilesAvailStatus"]))
918 $_GET["fStarFilesAvailStatus"]="0";
919
920 if (empty($_GET["fGanymed"]))
921 $_GET["fGanymed"]=$first?"On":"";
922
923 if (empty($_GET["fGanymedStatus"]))
924 $_GET["fGanymedStatus"]="0";
925
926 if (empty($_GET["fFillGanymed"]))
927 $_GET["fFillGanymed"]="Off";
928
929 if (empty($_GET["fFillGanymedStatus"]))
930 $_GET["fFillGanymedStatus"]="0";
931}
932
933function InitDataSetInfo($_GET, $first)
934{
935 InitDataSetStatus($_GET, $first);
936 InitFailInfo($_GET, $first);
937
938 if (empty($_GET["fNumResults"]))
939 $_GET["fNumResults"]="50";
940
941 if (empty($_GET["fLinks"]))
942 $_GET["fLinks"]=$first?"On":"";
943
944 if (empty($_GET["fExcessEvents"]))
945 $_GET["fExcessEvents"]=$first?"On":"";
946
947 if (empty($_GET["fBackgroundEvents*60/fEffOnTime"]))
948 $_GET["fBackgroundEvents*60/fEffOnTime"]=$first?"On":"";
949
950 if (empty($_GET["fBackgroundEvents"]))
951 $_GET["fBackgroundEvents"]=$first?"On":"";
952
953 if (empty($_GET["fSignalEvents"]))
954 $_GET["fSignalEvents"]=$first?"On":"";
955
956 if (empty($_GET["fSignificance"]))
957 $_GET["fSignificance"]=$first?"On":"";
958
959 if (empty($_GET["fScaleFactor"]))
960 $_GET["fScaleFactor"]=$first?"On":"";
961
962 if (empty($_GET["fEffOnTime/3600"]))
963 $_GET["fEffOnTime/3600"]=$first?"On":"";
964
965 if (empty($_GET["fSourceName"]))
966 $_GET["fSourceName"]=$first?"On":"";
967
968 if (empty($_GET["fObservationModeName"]))
969 $_GET["fObservationModeName"]=$first?"On":"";
970
971 if (empty($_GET["fComment"]))
972 $_GET["fComment"]="Off";
973
974 if (empty($_GET["fUserName"]))
975 $_GET["fUserName"]="Off";
976
977 if (empty($_GET["fRunStart"]))
978 $_GET["fRunStart"]="Off";
979
980 if (empty($_GET["fRunStop"]))
981 $_GET["fRunStop"]="Off";
982
983 if (empty($_GET["fZenithDistanceMin"]))
984 $_GET["fZenithDistanceMin"]=$first?"On":"";
985
986 if (empty($_GET["fZenithDistanceMax"]))
987 $_GET["fZenithDistanceMax"]=$first?"On":"";
988
989 if (empty($_GET["fRunTime"]))
990 $_GET["fRunTime"]="Off";
991
992 if (empty($_GET["fDataSetName"]))
993 $_GET["fDataSetName"]=$first?"On":"";
994
995 if (empty($_GET["fExcessEvents*60/fEffOnTime"]))
996 $_GET["fExcessEvents*60/fEffOnTime"]="Off";
997
998 if (empty($_GET["fSignalEvents*60/fEffOnTime"]))
999 $_GET["fSignalEvents*60/fEffOnTime"]="Off";
1000
1001 if (empty($_GET["Round(fSignificance/Sqrt(fEffOnTime/3600),2)"]))
1002 $_GET["Round(fSignificance/Sqrt(fEffOnTime/3600),2)"]="Off";
1003
1004}
1005
1006function InitFindOffData($_GET, $first)
1007{
1008 InitSequInfo($_GET, $first);
1009
1010 if (empty($_GET["fArrTimeLimitMean"]))
1011 $_GET["fArrTimeLimitMean"]="";
1012
1013 if (empty($_GET["fArrTimeLimitRms"]))
1014 $_GET["fArrTimeLimitRms"]="";
1015
1016 if (empty($_GET["fPedRmsInLimitMean"]))
1017 $_GET["fPedRmsInLimitMean"]="";
1018
1019 if (empty($_GET["fPedRmsInLimitRms"]))
1020 $_GET["fPedRmsInLimitRms"]="";
1021
1022 if (empty($_GET["fMuonRateLimitMean"]))
1023 $_GET["fMuonRateLimitMean"]="";
1024
1025 if (empty($_GET["fMuonRateLimitRms"]))
1026 $_GET["fMuonRateLimitRms"]="";
1027
1028 if (empty($_GET["fImgRateLimitMean"]))
1029 $_GET["fImgRateLimitMean"]="";
1030
1031 if (empty($_GET["fImgRateLimitRms"]))
1032 $_GET["fImgRateLimitRms"]="";
1033
1034 if (empty($_GET["fPSFLimitMean"]))
1035 $_GET["fPSFLimitMean"]="";
1036
1037 if (empty($_GET["fPSFLimitRms"]))
1038 $_GET["fPSFLimitRms"]="";
1039
1040 if (empty($_GET["fUnsInLimit1"]))
1041 $_GET["fUnsInLimit1"]="";
1042
1043 if (empty($_GET["fUnsInLimit2"]))
1044 $_GET["fUnsInLimit2"]="";
1045
1046 if (empty($_GET["fIsoInLimit1"]))
1047 $_GET["fIsoInLimit1"]="";
1048
1049 if (empty($_GET["fIsoInLimit2"]))
1050 $_GET["fIsoInLimit2"]="";
1051
1052 if (empty($_GET["fIMCLimit1"]))
1053 $_GET["fIMCLimit1"]="";
1054
1055 if (empty($_GET["fIMCLimit2"]))
1056 $_GET["fIMCLimit2"]="";
1057
1058 if (empty($_GET["fZdMinLimit1"]))
1059 $_GET["fZdMinLimit1"]="";
1060
1061 if (empty($_GET["fZdMinLimit2"]))
1062 $_GET["fZdMinLimit2"]="";
1063
1064 if (empty($_GET["fZdMaxLimit1"]))
1065 $_GET["fZdMaxLimit1"]="";
1066
1067 if (empty($_GET["fZdMaxLimit2"]))
1068 $_GET["fZdMaxLimit2"]="";
1069
1070 if (empty($_GET["fMuonCalLimitMean"]))
1071 $_GET["fMuonCalLimitMean"]="";
1072
1073 if (empty($_GET["fMuonCalLimitRms"]))
1074 $_GET["fMuonCalLimitRms"]="";
1075
1076 if (empty($_GET["fInhomLimitMean"]))
1077 $_GET["fInhomLimitMean"]="";
1078
1079 if (empty($_GET["fInhomLimitRms"]))
1080 $_GET["fInhomLimitRms"]="";
1081
1082 if (empty($_GET["fNumIslLimitMean"]))
1083 $_GET["fNumIslLimitMean"]="";
1084
1085 if (empty($_GET["fNumIslLimitRms"]))
1086 $_GET["fNumIslLimitRms"]="";
1087
1088 if (empty($_GET["fSkyBrightLimitMean"]))
1089 $_GET["fSkyBrightLimitMean"]="";
1090
1091 if (empty($_GET["fSkyBrightLimitRms"]))
1092 $_GET["fSkyBrightLimitRms"]="";
1093
1094 if (empty($_GET["fNumStarsLimit1"]))
1095 $_GET["fNumStarsLimit1"]="";
1096
1097 if (empty($_GET["fNumStarsLimit2"]))
1098 $_GET["fNumStarsLimit2"]="";
1099
1100 if (empty($_GET["fNumStarsCorLimit1"]))
1101 $_GET["fNumStarsCorLimit1"]="";
1102
1103 if (empty($_GET["fNumStarsCorLimit2"]))
1104 $_GET["fNumStarsCorLimit2"]="";
1105
1106 if (empty($_GET["fMuonNumLimit1"]))
1107 $_GET["fMuonNumLimit1"]="";
1108
1109 if (empty($_GET["fMuonNumLimit2"]))
1110 $_GET["fMuonNumLimit2"]="";
1111
1112 if (empty($_GET["fRelTimeMinLimit1"]))
1113 $_GET["fRelTimeMinLimit1"]="";
1114
1115 if (empty($_GET["fRelTimeMinLimit2"]))
1116 $_GET["fRelTimeMinLimit2"]="";
1117
1118 if (empty($_GET["fRelTimeMaxLimit1"]))
1119 $_GET["fRelTimeMaxLimit1"]="";
1120
1121 if (empty($_GET["fRelTimeMaxLimit2"]))
1122 $_GET["fRelTimeMaxLimit2"]="";
1123
1124 if (empty($_GET["fRunTimeLimit1"]))
1125 $_GET["fRunTimeLimit1"]="";
1126
1127 if (empty($_GET["fRunTimeLimit2"]))
1128 $_GET["fRunTimeLimit2"]="";
1129
1130 if (empty($_GET["fPulsePosLimit1"]))
1131 $_GET["fPulsePosLimit1"]="";
1132
1133 if (empty($_GET["fPulsePosLimit2"]))
1134 $_GET["fPulsePosLimit2"]="";
1135
1136 if (empty($_GET["fMaxHumLimit1"]))
1137 $_GET["fMaxHumLimit1"]="";
1138
1139 if (empty($_GET["fMaxHumLimit2"]))
1140 $_GET["fMaxHumLimit2"]="";
1141
1142}
1143
1144
1145?>
Note: See TracBrowser for help on using the repository browser.