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

Last change on this file since 8420 was 8334, checked in by hoehne, 18 years ago
*** empty log message ***
  • Property svn:executable set to *
File size: 36.6 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("fSparkRate", "SparkRate");
331
332 printf(" </tr><tr>\n");
333
334 CheckBox("fEffOnTime", "EffOnTime");
335 CheckBox("fEffOnTime/fRunTime", "RelOnTime");
336 CheckBox("fBrightnessMed", "SkyBrightnessMed");
337 CheckBox("fBrightnessRMS", "SkyBrightnessRMS");
338
339 printf(" </tr><tr>\n");
340
341 CheckBox("fNumStarsMed", "# id. Stars");
342 CheckBox("fNumStarsRMS", "RMS id. Stars");
343 CheckBox("fNumStarsCorMed", "# cor. Stars");
344 CheckBox("fNumStarsCorRMS", "RMS cor. Stars");
345
346 printf(" </tr>\n");
347 printf(" </table>\n");
348 printf(" </div><p>\n");
349}
350
351function PrintDataSetInfoMenu($host,$user,$pw,$db)
352{
353 printf(" <div id=\"info\" style='display:none'>");
354 printf(" <table>\n");
355 printf(" <tr>\n");
356
357 CheckBox("fDataSetName", "Name");
358 CheckBox("fComment", "Comment");
359 CheckBox("fRunTime", "Uptime");
360 CheckBox("fRunStart", "Start");
361 CheckBox("fRunStop", "Stop");
362
363 printf(" </tr><tr>\n");
364
365 CheckBox("fZenithDistanceMin", "ZdMin");
366 CheckBox("fZenithDistanceMax", "ZdMax");
367 CheckBox("fLinks", "Links");
368
369 printf(" </tr><tr>\n");
370
371 CheckBox("fEffOnTime/3600", "EffOnTime");
372 CheckBox("fExcessEvents", "ExcEvts");
373 CheckBox("fBackgroundEvents", "BgEvts");
374 CheckBox("fSignalEvents", "SignEvts");
375 CheckBox("fSignificance", "Sign");
376
377 printf(" </tr><tr>\n");
378
379 CheckBox("fScaleFactor", "Scale");
380 CheckBox("fExcessEvents*60/fEffOnTime", "ExcRate");
381 CheckBox("fBackgroundEvents*60/fEffOnTime", "BgRate");
382 CheckBox("fSignalEvents*60/fEffOnTime", "SignRate");
383 CheckBox("Round(fSignificance/Sqrt(fEffOnTime/3600),2)", "SignfRate");
384
385 printf(" </tr>\n");
386 printf(" </table>\n");
387 printf(" </div><p>\n");
388}
389
390function PrintDataSetInfoMenu2($host,$user,$pw,$db)
391{
392 printf(" <div id='info2' style='display:none'>");
393 printf(" <table><tr><td>\n");
394 PrintPullDown($host, $user, $pw, $db, "Source", "fSourceName", "fSourceKEY", "Source Name");
395 printf(" </td><td>\n");
396 PrintPullDown($host, $user, $pw, $db, "ObservationMode", "fObservationModeName", "fObservationModeKEY", "Observation Mode");
397 printf(" </td><td>\n");
398 PrintPullDown($host, $user, $pw, $db, "User", "fUserName", "fUserKEY", "User");
399 printf(" </td></tr>\n");
400 printf(" </table>\n");
401 printf("</div>");
402}
403
404function PrintDataSetStatMenu($host,$user,$pw,$db)
405{
406 printf(" <div id=\"stat\" style='display:none'>\n");
407 printf(" <table>\n");
408 printf(" <tr>\n");
409
410 printf(" <td>\n");
411 PrintStatusMenu("fDataSetInserted", "DataSet Inserted");
412 printf(" </td><td>\n");
413 PrintStatusMenu("fDataSetFileWritten", "DataSetFile");
414 printf(" </td><td>\n");
415 PrintStatusMenu("fStarFilesAvail", "FilesAvail");
416 printf(" </td><td>\n");
417 PrintStatusMenu("fGanymed", "Ganymed");
418 printf(" </td><td>\n");
419 PrintStatusMenu("fFillGanymed", "FillGanymed");
420 printf(" </tr>\n");
421 printf(" </table>\n");
422 printf(" </div><p>\n");
423}
424
425function PrintRunRangeMenu($host,$user,$pw,$db)
426{
427 if (empty($_GET["fRunMin"]))
428 $min = GetMin("fRunNumber", "RunData", $host, $user, $pw, $db);
429 else
430 $min = $_GET["fRunMin"];
431
432 if (empty($_GET["fRunMax"]))
433 $max = GetMax("fRunNumber", "RunData", $host, $user, $pw, $db);
434 else
435 $max = $_GET["fRunMax"];
436
437 printf("Runs&nbsp;from&nbsp;<input name=\"fRunMin\" type=\"text\" size=\"6\" maxlength=\"6\" value=\"%s\">\n", $min);
438 printf("to&nbsp;<input name=\"fRunMax\" type=\"text\" size=\"6\" maxlength=\"6\" value=\"%s\">&nbsp;&nbsp;&nbsp;\n", $max);
439}
440
441function PrintSequRangeMenu($host,$user,$pw,$db)
442{
443 if (empty($_GET["fRunMin"]))
444 $min = GetMin("fSequenceFirst", "Sequences", $host, $user, $pw, $db);
445 else
446 $min = $_GET["fRunMin"];
447
448 if (empty($_GET["fRunMax"]))
449 $max = GetMax("fSequenceFirst", "Sequences", $host, $user, $pw, $db);
450 else
451 $max = $_GET["fRunMax"];
452
453 printf("Sequences&nbsp;from&nbsp;<input name=\"fRunMin\" type=\"text\" size=\"6\" maxlength=\"6\" value=\"%s\">\n", $min);
454 printf("to&nbsp;<input name=\"fRunMax\" type=\"text\" size=\"6\" maxlength=\"6\" value=\"%s\">&nbsp;&nbsp;&nbsp;\n", $max);
455}
456
457function PrintDataSetRangeMenu($host,$user,$pw,$db)
458{
459 if (empty($_GET["fRunMin"]))
460 $min = GetMin("fDataSetNumber", "DataSets", $host, $user, $pw, $db);
461 else
462 $min = $_GET["fRunMin"];
463
464 if (empty($_GET["fRunMax"]))
465 $max = GetMax("fDataSetNumber", "DataSets", $host, $user, $pw, $db);
466 else
467 $max = $_GET["fRunMax"];
468
469 printf("DataSets&nbsp;from&nbsp;<input name=\"fRunMin\" type=\"text\" size=\"6\" maxlength=\"6\" value=\"%s\">\n", $min);
470 printf("to&nbsp;<input name=\"fRunMax\" type=\"text\" size=\"6\" maxlength=\"6\" value=\"%s\">&nbsp;&nbsp;&nbsp;\n", $max);
471}
472
473function PrintZdRangeMenu($host,$user,$pw,$db)
474{
475 if (empty($_GET["fZDMin"]))
476 $zdmin = GetMin("fZenithDistanceMin", "Sequences", $host, $user, $pw, $db);
477 else
478 $zdmin = $_GET["fZDMin"];
479
480 if (empty($_GET["fZDMax"]))
481 $zdmax = GetMax("fZenithDistanceMax", "Sequences", $host, $user, $pw, $db);
482 else
483 $zdmax = $_GET["fZDMax"];
484
485 printf("ZenithDistance&nbsp;from&nbsp;<input name=\"fZDMin\" type=\"text\" size=\"2\" maxlength=\"2\" value=\"%s\">\n", $zdmin);
486 printf("to&nbsp;<input name=\"fZDMax\" type=\"text\" size=\"2\" maxlength=\"2\" value=\"%s\">&nbsp;&nbsp;&nbsp;\n", $zdmax);
487}
488
489function PrintNightRangeMenu($host,$user,$pw,$db, $table)
490{
491 if (empty($_GET["fStartDate"]))
492 $timemin = GetMin("fRunStart", $table, $host, $user, $pw, $db);
493 else
494 $timemin = $_GET["fStartDate"];
495
496 if (empty($_GET["fStopDate"]))
497 $timemax = GetMaxDate("fRunStart", $table, $host, $user, $pw, $db);
498 else
499 $timemax = $_GET["fStopDate"];
500
501 printf("Night&nbsp;(yyyy-mm-dd)&nbsp;from&nbsp;<input name=\"fStartDate\" type=\"text\" size=\"10\" maxlength=\"10\" value=\"%s\">\n", $timemin);
502 printf("to&nbsp;<input name=\"fStopDate\" type=\"text\" size=\"10\" maxlength=\"10\" value=\"%s\">&nbsp;&nbsp;&nbsp;&nbsp;\n", $timemax);
503}
504
505function PrintStarRangeMenu($host,$user,$pw,$db)
506{
507 if (empty($_GET["fStarStart"]))
508 $starmin = GetMin("fStar", "SequenceProcessStatus", $host, $user, $pw, $db);
509 else
510 $starmin = $_GET["fStarStart"];
511
512 if (empty($_GET["fStarStop"]))
513 $starmax = GetMax("fStar", "SequenceProcessStatus", $host, $user, $pw, $db);
514 else
515 $starmax = $_GET["fStarStop"];
516
517 printf("<p>StarDone&nbsp;(yyyy-mm-dd)&nbsp;from&nbsp;<input name=\"fStarStart\" type=\"text\" size=\"10\" maxlength=\"10\" value=\"%s\">\n", $starmin);
518 printf("to&nbsp;<input name=\"fStarStop\" type=\"text\" size=\"10\" maxlength=\"10\" value=\"%s\">&nbsp;&nbsp;&nbsp;&nbsp;\n", $starmax);
519}
520
521function PrintSourceMenu($host,$user,$pw,$db)
522{
523 printf("Source&nbsp;(<A HREF=\"regexp.html\">regexp</A>)&nbsp;<input name=\"fSourceN\" type=\"text\" size=\"15\" maxlength=\"15\" value=\"");
524 if (!empty($_GET["fSourceN"]))
525 printf("%s", $_GET["fSourceN"]);
526 printf("\">&nbsp;&nbsp;&nbsp;\n");
527}
528function PrintSequMenu($host,$user,$pw,$db)
529{
530 printf("Sequ#&nbsp;<input name=\"fSequenceNo\" type=\"text\" size=\"6\" maxlength=\"6\" value=\"");
531 if (!empty($_GET["fSequenceNo"]))
532 printf("%s", $_GET["fSequenceNo"]);
533 printf("\">&nbsp;&nbsp;&nbsp;\n");
534}
535
536function PrintNumResPullDown()
537{
538 printf(" Results:\n");
539 printf(" <select name=\"fNumResults\">\n");
540
541 $numres = array("10", "20", "50", "100", "200", "500", "1000", "2000");
542 foreach ($numres as $element)
543 {
544 if ($element==$_GET["fNumResults"])
545 printf("<option value=\"%s\" selected>%3s</option>\n", $element, $element);
546 else
547 printf("<option value=\"%s\">%3s</option>\n", $element, $element);
548 }
549 printf(" </select>\n");
550 printf(" &nbsp;&nbsp;&nbsp;\n");
551}
552
553function PrintButtons($page)
554{
555 printf("<input class='Width' type='submit' value='Query Table'>&nbsp;&nbsp;&nbsp;\n");
556 printf("<input class='Width' type='button' value='Reset' onClick='self.location.href=\"%s\"'>&nbsp;&nbsp;&nbsp;\n", $page);
557// printf("<p>");
558 if (strchr($_SERVER["REQUEST_URI"], '?')!=FALSE)
559 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"]));
560 if (strchr($_SERVER["REQUEST_URI"], '?')!=FALSE)
561 {
562 printf("<input class='Width' type='button' value='Print' onClick='self.location.href=\"%s&amp;fPrintTable=1\"'>&nbsp;&nbsp;&nbsp;\n", htmlspecialchars($_SERVER["REQUEST_URI"]));
563 printf("MySqlQuery: <img id='showquerybutton' src='../plus.png' alt='+' onClick='showhide(\"showquery\")'>\n");
564 }
565}
566
567function InitFailInfo($_GET, $first)
568{
569 if (empty($_GET["fStartTime"]))
570 $_GET["fStartTime"]="Off";
571
572 if (empty($_GET["fFailedTime"]))
573 $_GET["fFailedTime"]="Off";
574
575 if (empty($_GET["fReturnCode"]))
576 $_GET["fReturnCode"]="Off";
577
578 if (empty($_GET["fFailedCode"]))
579 $_GET["fFailedCode"]="Off";
580
581 if (empty($_GET["fFailedCodeAdd"]))
582 $_GET["fFailedCodeAdd"]="Off";
583}
584
585function InitInfo($_GET, $first)
586{
587 if (empty($_GET["fNumResults"]))
588 $_GET["fNumResults"]="20";
589
590 if (empty($_GET["fNumEvents"]))
591 $_GET["fNumEvents"]="Off";
592
593 if (empty($_GET["fRunStart"]))
594 $_GET["fRunStart"]="Off";
595
596 if (empty($_GET["fRunStop"]))
597 $_GET["fRunStop"]="Off";
598
599 if (empty($_GET["fTest"]))
600 $_GET["fTest"]="Off";
601
602 if (empty($_GET["fSourceName"]))
603 $_GET["fSourceName"]="Off";
604
605 if (empty($_GET["fProjectName"]))
606 $_GET["fProjectName"]="Off";
607
608 if (empty($_GET["fL1TriggerTableName"]))
609 $_GET["fL1TriggerTableName"]="Off";
610
611 if (empty($_GET["fL2TriggerTableName"]))
612 $_GET["fL2TriggerTableName"]="Off";
613
614 if (empty($_GET["fHvSettingsName"]))
615 $_GET["fHvSettingsName"]="Off";
616
617 if (empty($_GET["fDiscriminatorThresholdTableName"]))
618 $_GET["fDiscriminatorThresholdTableName"]="Off";
619
620 if (empty($_GET["fTriggerDelayTableName"]))
621 $_GET["fTriggerDelayTableName"]="Off";
622
623 if (empty($_GET["fLightConditionsName"]))
624 $_GET["fLightConditionsName"]="Off";
625
626 if (empty($_GET["fTestFlagName"]))
627 $_GET["fTestFlagName"]="Off";
628}
629
630function InitRunStatus($_GET, $first)
631{
632 if (empty($_GET["fDataCheckDone"]))
633 $_GET["fDataCheckDone"]="Off";
634
635 if (empty($_GET["fDataCheckDoneStatus"]))
636 $_GET["fDataCheckDoneStatus"]="0";
637
638 if (empty($_GET["fCCFileAvail"]))
639 $_GET["fCCFileAvail"]="Off";
640
641 if (empty($_GET["fCCFileAvailStatus"]))
642 $_GET["fCCFileAvailStatus"]="0";
643
644 if (empty($_GET["fCaCoFileAvail"]))
645 $_GET["fCaCoFileAvail"]=$first?"On":"";
646
647 if (empty($_GET["fCaCoFileAvailStatus"]))
648 $_GET["fCaCoFileAvailStatus"]="0";
649
650 if (empty($_GET["fCaCoFileFound"]))
651 $_GET["fCaCoFileFound"]="Off";
652
653 if (empty($_GET["fCaCoFileFoundStatus"]))
654 $_GET["fCaCoFileFoundStatus"]="0";
655
656 if (empty($_GET["fRawFileAvail"]))
657 $_GET["fRawFileAvail"]="Off";
658
659 if (empty($_GET["fRawFileAvailStatus"]))
660 $_GET["fRawFileAvailStatus"]="0";
661
662 if (empty($_GET["fTimingCorrection"]))
663 $_GET["fTimingCorrection"]="Off";
664
665 if (empty($_GET["fTimingCorrectionStatus"]))
666 $_GET["fTimingCorrectionStatus"]="0";
667}
668
669function InitRunInfo($_GET, $first)
670{
671 InitRunStatus($_GET, $first);
672 InitInfo($_GET, $first);
673 InitFailInfo($_GET, $first);
674
675 if (empty($_GET["fFormatVersion"]))
676 $_GET["fFormatVersion"]="Off";
677
678 if (empty($_GET["fAzimuth"]))
679 $_GET["fAzimuth"]="Off";
680
681 if (empty($_GET["fZenithDistance"]))
682 $_GET["fZenithDistance"]="Off";
683
684 if (empty($_GET["fRunTypeName"]))
685 $_GET["fRunTypeName"]="Off";
686
687 if (empty($_GET["fExcludedFDAName"]))
688 $_GET["fExcludedFDAName"]="Off";
689
690 if (empty($_GET["fMagicNumberName"]))
691 $_GET["fMagicNumberName"]="Off";
692
693 if (empty($_GET["fObservationModeName"]))
694 $_GET["fObservationModeName"]="Off";
695
696 if (empty($_GET["fMeanTriggerRate"]))
697 $_GET["fMeanTriggerRate"]="Off";
698
699 if (empty($_GET["fCalibrationScriptName"]))
700 $_GET["fCalibrationScriptName"]="Off";
701
702 if (empty($_GET["fTestFlagName"]))
703 $_GET["fTestFlagName"]="Off";
704
705 if (empty($_GET["fDaqStoreRate"]))
706 $_GET["fDaqStoreRate"]="Off";
707
708 if (empty($_GET["fDaqTriggerRate"]))
709 $_GET["fDaqTriggerRate"]="Off";
710
711 if (empty($_GET["fL2RatePresc"]))
712 $_GET["fL2RatePresc"]="Off";
713
714 if (empty($_GET["fL2RateUnpresc"]))
715 $_GET["fL2RateUnpresc"]="Off";
716
717 if (empty($_GET["fSequenceFirst"]))
718 $_GET["fSequenceFirst"]="Off";
719
720 if (empty($_GET["fSequenceNo"]))
721 $_GET["fSequenceNo"]="";
722}
723
724function InitSequStatus($_GET, $first)
725{
726 if (empty($_GET["fSequenceFileWritten"]))
727 $_GET["fSequenceFileWritten"]="Off";
728
729 if (empty($_GET["fSequenceFileWrittenStatus"]))
730 $_GET["fSequenceFileWrittenStatus"]="0";
731
732 if (empty($_GET["fAllFilesAvail"]))
733 $_GET["fAllFilesAvail"]="Off";
734
735 if (empty($_GET["fAllFilesAvailStatus"]))
736 $_GET["fAllFilesAvailStatus"]="0";
737
738 if (empty($_GET["fCallisto"]))
739 $_GET["fCallisto"]="Off";
740
741 if (empty($_GET["fCallistoStatus"]))
742 $_GET["fCallistoStatus"]="0";
743
744 if (empty($_GET["fFillCallisto"]))
745 $_GET["fFillCallisto"]="Off";
746
747 if (empty($_GET["fFillCallistoStatus"]))
748 $_GET["fFillCallistoStatus"]="0";
749
750 if (empty($_GET["fStar"]))
751 $_GET["fStar"]="Off";
752
753 if (empty($_GET["fStarStatus"]))
754 $_GET["fStarStatus"]="0";
755
756 if (empty($_GET["fFillStar"]))
757 $_GET["fFillStar"]="Off";
758
759 if (empty($_GET["fFillStarStatus"]))
760 $_GET["fFillStarStatus"]="0";
761}
762
763function InitStarInfo($_GET, $first)
764{
765 if (empty($_GET["fMeanNumberIslands"]))
766 $_GET["fMeanNumberIslands"]="Off";
767
768 if (empty($_GET["fPSF"]))
769 $_GET["fPSF"]="Off";
770
771 if (empty($_GET["fRatio"]))
772 $_GET["fRatio"]="Off";
773
774 if (empty($_GET["fMuonNumber"]))
775 $_GET["fMuonNumber"]="Off";
776
777 if (empty($_GET["fEffOnTime"]))
778 $_GET["fEffOnTime"]="Off";
779
780 if (empty($_GET["fEffOnTime/fRunTime"]))
781 $_GET["fEffOnTime/fRunTime"]="Off";
782
783 if (empty($_GET["fMuonRate"]))
784 $_GET["fMuonRate"]="Off";
785
786 if (empty($_GET["fInhomogeneity"]))
787 $_GET["fInhomogeneity"]="Off";
788
789 if (empty($_GET["fDataRate"]))
790 $_GET["fDataRate"]="Off";
791
792 if (empty($_GET["fSparkRate"]))
793 $_GET["fSparkRate"]="Off";
794
795 if (empty($_GET["fMaxHumidity"]))
796 $_GET["fMaxHumidity"]="Off";
797
798 if (empty($_GET["fBrightnessMed"]))
799 $_GET["fBrightnessMed"]="Off";
800
801 if (empty($_GET["fBrightnessRMS"]))
802 $_GET["fBrightnessRMS"]="Off";
803
804 if (empty($_GET["fNumStarsMed"]))
805 $_GET["fNumStarsMed"]="Off";
806
807 if (empty($_GET["fNumStarsRMS"]))
808 $_GET["fNumStarsRMS"]="Off";
809
810 if (empty($_GET["fNumStarsCorMed"]))
811 $_GET["fNumStarsCorMed"]="Off";
812
813 if (empty($_GET["fNumStarsCorRMS"]))
814 $_GET["fNumStarsCorRMS"]="Off";
815}
816
817function InitCalInfo($_GET, $first)
818{
819 if (empty($_GET["fUnreliableInner"]))
820 $_GET["fUnreliableInner"]="Off";
821
822 if (empty($_GET["fUnsuitableOuter"]))
823 $_GET["fUnsuitableOuter"]="Off";
824
825 if (empty($_GET["fUnreliableOuter"]))
826 $_GET["fUnreliableOuter"]="Off";
827
828 if (empty($_GET["fUnsuitableInner"]))
829 $_GET["fUnsuitableInner"]="Off";
830
831 if (empty($_GET["fIsolatedInner"]))
832 $_GET["fIsolatedInner"]="Off";
833
834 if (empty($_GET["fIsolatedOuter"]))
835 $_GET["fIsolatedOuter"]="Off";
836
837 if (empty($_GET["fMeanPedRmsInner"]))
838 $_GET["fMeanPedRmsInner"]="Off";
839
840 if (empty($_GET["fMeanPedRmsOuter"]))
841 $_GET["fMeanPedRmsOuter"]="Off";
842
843 if (empty($_GET["fIsolatedMaxCluster"]))
844 $_GET["fIsolatedMaxCluster"]="Off";
845
846 if (empty($_GET["fArrTimeMeanInner"]))
847 $_GET["fArrTimeMeanInner"]="Off";
848
849 if (empty($_GET["fArrTimeMeanOuter"]))
850 $_GET["fArrTimeMeanOuter"]="Off";
851
852 if (empty($_GET["fArrTimeRmsInner"]))
853 $_GET["fArrTimeRmsInner"]="Off";
854
855 if (empty($_GET["fArrTimeRmsOuter"]))
856 $_GET["fArrTimeRmsOuter"]="Off";
857
858 if (empty($_GET["fMeanSignalInner"]))
859 $_GET["fMeanSignalInner"]=$first?"Off":"";
860
861 if (empty($_GET["fMeanSignalOuter"]))
862 $_GET["fMeanSignalOuter"]=$first?"Off":"";
863
864 if (empty($_GET["fPulsePosMean"]))
865 $_GET["fPulsePosMean"]=$first?"Off":"";
866
867 if (empty($_GET["fConvFactorInner"]))
868 $_GET["fConvFactorInner"]="Off";
869
870 if (empty($_GET["fConvFactorOuter"]))
871 $_GET["fConvFactorOuter"]="Off";
872}
873
874function InitSequInfo($_GET, $first)
875{
876 InitInfo($_GET, $first);
877 InitSequStatus($_GET, $first);
878 InitFailInfo($_GET, $first);
879 InitCalInfo($_GET, $first);
880 InitStarInfo($_GET, $first);
881
882 if (empty($_GET["fRunTime/60"]))
883 $_GET["fRunTime/60"]="Off";
884
885 if (empty($_GET["fSequenceLast"]))
886 $_GET["fSequenceLast"]="Off";
887
888 if (empty($_GET["fAzimuthMin"]))
889 $_GET["fAzimuthMin"]="Off";
890
891 if (empty($_GET["fAzimuthMax"]))
892 $_GET["fAzimuthMax"]="Off";
893
894 if (empty($_GET["fZenithDistanceMin"]))
895 $_GET["fZenithDistanceMin"]="Off";
896
897 if (empty($_GET["fZenithDistanceMax"]))
898 $_GET["fZenithDistanceMax"]="Off";
899
900 if (empty($_GET["fObservationModeName"]))
901 $_GET["fObservationModeName"]="Off";
902
903// if (empty($_GET["fManuallyChangedName"]))
904// $_GET["fManuallyChangedName"]="Off";
905}
906
907function InitDataSetStatus($_GET, $first)
908{
909 if (empty($_GET["fDataSetInserted"]))
910 $_GET["fDataSetInserted"]="Off";
911
912 if (empty($_GET["fDataSetInsertedStatus"]))
913 $_GET["fDataSetInsertedStatus"]="0";
914
915 if (empty($_GET["fDataSetFileWritten"]))
916 $_GET["fDataSetFileWritten"]=$first?"On":"";
917
918 if (empty($_GET["fDataSetFileWrittenStatus"]))
919 $_GET["fDataSetFileWrittenStatus"]="0";
920
921 if (empty($_GET["fStarFilesAvail"]))
922 $_GET["fStarFilesAvail"]="Off";
923
924 if (empty($_GET["fStarFilesAvailStatus"]))
925 $_GET["fStarFilesAvailStatus"]="0";
926
927 if (empty($_GET["fGanymed"]))
928 $_GET["fGanymed"]=$first?"On":"";
929
930 if (empty($_GET["fGanymedStatus"]))
931 $_GET["fGanymedStatus"]="0";
932
933 if (empty($_GET["fFillGanymed"]))
934 $_GET["fFillGanymed"]="Off";
935
936 if (empty($_GET["fFillGanymedStatus"]))
937 $_GET["fFillGanymedStatus"]="0";
938}
939
940function InitDataSetInfo($_GET, $first)
941{
942 InitDataSetStatus($_GET, $first);
943 InitFailInfo($_GET, $first);
944
945 if (empty($_GET["fNumResults"]))
946 $_GET["fNumResults"]="50";
947
948 if (empty($_GET["fLinks"]))
949 $_GET["fLinks"]=$first?"On":"";
950
951 if (empty($_GET["fExcessEvents"]))
952 $_GET["fExcessEvents"]=$first?"On":"";
953
954 if (empty($_GET["fBackgroundEvents*60/fEffOnTime"]))
955 $_GET["fBackgroundEvents*60/fEffOnTime"]=$first?"On":"";
956
957 if (empty($_GET["fBackgroundEvents"]))
958 $_GET["fBackgroundEvents"]=$first?"On":"";
959
960 if (empty($_GET["fSignalEvents"]))
961 $_GET["fSignalEvents"]=$first?"On":"";
962
963 if (empty($_GET["fSignificance"]))
964 $_GET["fSignificance"]=$first?"On":"";
965
966 if (empty($_GET["fScaleFactor"]))
967 $_GET["fScaleFactor"]=$first?"On":"";
968
969 if (empty($_GET["fEffOnTime/3600"]))
970 $_GET["fEffOnTime/3600"]=$first?"On":"";
971
972 if (empty($_GET["fSourceName"]))
973 $_GET["fSourceName"]=$first?"On":"";
974
975 if (empty($_GET["fObservationModeName"]))
976 $_GET["fObservationModeName"]=$first?"On":"";
977
978 if (empty($_GET["fComment"]))
979 $_GET["fComment"]="Off";
980
981 if (empty($_GET["fUserName"]))
982 $_GET["fUserName"]="Off";
983
984 if (empty($_GET["fRunStart"]))
985 $_GET["fRunStart"]="Off";
986
987 if (empty($_GET["fRunStop"]))
988 $_GET["fRunStop"]="Off";
989
990 if (empty($_GET["fZenithDistanceMin"]))
991 $_GET["fZenithDistanceMin"]=$first?"On":"";
992
993 if (empty($_GET["fZenithDistanceMax"]))
994 $_GET["fZenithDistanceMax"]=$first?"On":"";
995
996 if (empty($_GET["fRunTime"]))
997 $_GET["fRunTime"]="Off";
998
999 if (empty($_GET["fDataSetName"]))
1000 $_GET["fDataSetName"]=$first?"On":"";
1001
1002 if (empty($_GET["fExcessEvents*60/fEffOnTime"]))
1003 $_GET["fExcessEvents*60/fEffOnTime"]="Off";
1004
1005 if (empty($_GET["fSignalEvents*60/fEffOnTime"]))
1006 $_GET["fSignalEvents*60/fEffOnTime"]="Off";
1007
1008 if (empty($_GET["Round(fSignificance/Sqrt(fEffOnTime/3600),2)"]))
1009 $_GET["Round(fSignificance/Sqrt(fEffOnTime/3600),2)"]="Off";
1010
1011}
1012
1013function InitFindOffData($_GET, $first)
1014{
1015 InitSequInfo($_GET, $first);
1016
1017 if (empty($_GET["fArrTimeLimitMean"]))
1018 $_GET["fArrTimeLimitMean"]="";
1019
1020 if (empty($_GET["fArrTimeLimitRms"]))
1021 $_GET["fArrTimeLimitRms"]="";
1022
1023 if (empty($_GET["fPedRmsInLimitMean"]))
1024 $_GET["fPedRmsInLimitMean"]="";
1025
1026 if (empty($_GET["fPedRmsInLimitRms"]))
1027 $_GET["fPedRmsInLimitRms"]="";
1028
1029 if (empty($_GET["fMuonRateLimitMean"]))
1030 $_GET["fMuonRateLimitMean"]="";
1031
1032 if (empty($_GET["fMuonRateLimitRms"]))
1033 $_GET["fMuonRateLimitRms"]="";
1034
1035 if (empty($_GET["fImgRateLimitMean"]))
1036 $_GET["fImgRateLimitMean"]="";
1037
1038 if (empty($_GET["fImgRateLimitRms"]))
1039 $_GET["fImgRateLimitRms"]="";
1040
1041 if (empty($_GET["fPSFLimitMean"]))
1042 $_GET["fPSFLimitMean"]="";
1043
1044 if (empty($_GET["fPSFLimitRms"]))
1045 $_GET["fPSFLimitRms"]="";
1046
1047 if (empty($_GET["fUnsInLimit1"]))
1048 $_GET["fUnsInLimit1"]="";
1049
1050 if (empty($_GET["fUnsInLimit2"]))
1051 $_GET["fUnsInLimit2"]="";
1052
1053 if (empty($_GET["fIsoInLimit1"]))
1054 $_GET["fIsoInLimit1"]="";
1055
1056 if (empty($_GET["fIsoInLimit2"]))
1057 $_GET["fIsoInLimit2"]="";
1058
1059 if (empty($_GET["fIMCLimit1"]))
1060 $_GET["fIMCLimit1"]="";
1061
1062 if (empty($_GET["fIMCLimit2"]))
1063 $_GET["fIMCLimit2"]="";
1064
1065 if (empty($_GET["fZdMinLimit1"]))
1066 $_GET["fZdMinLimit1"]="";
1067
1068 if (empty($_GET["fZdMinLimit2"]))
1069 $_GET["fZdMinLimit2"]="";
1070
1071 if (empty($_GET["fZdMaxLimit1"]))
1072 $_GET["fZdMaxLimit1"]="";
1073
1074 if (empty($_GET["fZdMaxLimit2"]))
1075 $_GET["fZdMaxLimit2"]="";
1076
1077 if (empty($_GET["fMuonCalLimitMean"]))
1078 $_GET["fMuonCalLimitMean"]="";
1079
1080 if (empty($_GET["fMuonCalLimitRms"]))
1081 $_GET["fMuonCalLimitRms"]="";
1082
1083 if (empty($_GET["fInhomLimitMean"]))
1084 $_GET["fInhomLimitMean"]="";
1085
1086 if (empty($_GET["fInhomLimitRms"]))
1087 $_GET["fInhomLimitRms"]="";
1088
1089 if (empty($_GET["fNumIslLimitMean"]))
1090 $_GET["fNumIslLimitMean"]="";
1091
1092 if (empty($_GET["fNumIslLimitRms"]))
1093 $_GET["fNumIslLimitRms"]="";
1094
1095 if (empty($_GET["fSkyBrightLimitMean"]))
1096 $_GET["fSkyBrightLimitMean"]="";
1097
1098 if (empty($_GET["fSkyBrightLimitRms"]))
1099 $_GET["fSkyBrightLimitRms"]="";
1100
1101 if (empty($_GET["fNumStarsLimit1"]))
1102 $_GET["fNumStarsLimit1"]="";
1103
1104 if (empty($_GET["fNumStarsLimit2"]))
1105 $_GET["fNumStarsLimit2"]="";
1106
1107 if (empty($_GET["fNumStarsCorLimit1"]))
1108 $_GET["fNumStarsCorLimit1"]="";
1109
1110 if (empty($_GET["fNumStarsCorLimit2"]))
1111 $_GET["fNumStarsCorLimit2"]="";
1112
1113 if (empty($_GET["fMuonNumLimit1"]))
1114 $_GET["fMuonNumLimit1"]="";
1115
1116 if (empty($_GET["fMuonNumLimit2"]))
1117 $_GET["fMuonNumLimit2"]="";
1118
1119 if (empty($_GET["fRelTimeMinLimit1"]))
1120 $_GET["fRelTimeMinLimit1"]="";
1121
1122 if (empty($_GET["fRelTimeMinLimit2"]))
1123 $_GET["fRelTimeMinLimit2"]="";
1124
1125 if (empty($_GET["fRelTimeMaxLimit1"]))
1126 $_GET["fRelTimeMaxLimit1"]="";
1127
1128 if (empty($_GET["fRelTimeMaxLimit2"]))
1129 $_GET["fRelTimeMaxLimit2"]="";
1130
1131 if (empty($_GET["fRunTimeLimit1"]))
1132 $_GET["fRunTimeLimit1"]="";
1133
1134 if (empty($_GET["fRunTimeLimit2"]))
1135 $_GET["fRunTimeLimit2"]="";
1136
1137 if (empty($_GET["fPulsePosLimit1"]))
1138 $_GET["fPulsePosLimit1"]="";
1139
1140 if (empty($_GET["fPulsePosLimit2"]))
1141 $_GET["fPulsePosLimit2"]="";
1142
1143 if (empty($_GET["fMaxHumLimit1"]))
1144 $_GET["fMaxHumLimit1"]="";
1145
1146 if (empty($_GET["fMaxHumLimit2"]))
1147 $_GET["fMaxHumLimit2"]="";
1148
1149}
1150
1151
1152?>
Note: See TracBrowser for help on using the repository browser.