Changeset 9498 for trunk/MagicSoft/Mars/datacenter/db/menu.php
- Timestamp:
- 08/20/09 14:43:59 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/db/menu.php
r9486 r9498 698 698 $starmax = $_GET["fStarStop"]; 699 699 700 printf("<p>StarDone (yyyy-mm-dd ) from <input name=\"fStarStart\" type=\"text\" size=\"10\" maxlength=\"10\" value=\"%s\">\n", $starmin);701 printf("to <input name=\"fStarStop\" type=\"text\" size=\"1 0\" maxlength=\"10\" value=\"%s\"> \n", $starmax);700 printf("<p>StarDone (yyyy-mm-dd hh:mm:ss) from <input name=\"fStarStart\" type=\"text\" size=\"19\" maxlength=\"19\" value=\"%s\">\n", $starmin); 701 printf("to <input name=\"fStarStop\" type=\"text\" size=\"19\" maxlength=\"19\" value=\"%s\"> \n", $starmax); 702 702 } 703 703 … … 766 766 } 767 767 768 function InitFailInfo($ _GET, $first)768 function InitFailInfo($first) 769 769 { 770 770 if (empty($_GET["fStartTime"])) … … 781 781 } 782 782 783 function InitInfo($ _GET, $first)783 function InitInfo($first) 784 784 { 785 785 if (empty($_GET["fNumResults"])) … … 838 838 839 839 if (empty($_GET["fProposalName"])) 840 $_GET["fProp salName"]="Off";841 } 842 843 function InitRunStatus($ _GET, $first)840 $_GET["fProposalName"]="Off"; 841 } 842 843 function InitRunStatus($first) 844 844 { 845 845 if (empty($_GET["fDataCheckDone"])) … … 880 880 } 881 881 882 function InitRunInfo($ _GET, $first)883 { 884 InitRunStatus($ _GET, $first);885 InitInfo($ _GET, $first);886 InitFailInfo($ _GET, $first);882 function InitRunInfo($first) 883 { 884 InitRunStatus($first); 885 InitInfo($first); 886 InitFailInfo($first); 887 887 888 888 if (empty($_GET["fLinks"])) … … 950 950 } 951 951 952 function InitSequStatus($ _GET, $first)952 function InitSequStatus($first) 953 953 { 954 954 if (empty($_GET["fSequenceFileWritten"])) … … 989 989 } 990 990 991 function InitStarInfo($ _GET, $first)991 function InitStarInfo($first) 992 992 { 993 993 if (empty($_GET["fMeanNumberIslands"])) … … 1061 1061 } 1062 1062 1063 function InitCalInfo($ _GET, $first)1063 function InitCalInfo($first) 1064 1064 { 1065 1065 if (empty($_GET["fUnreliableInner"])) … … 1157 1157 } 1158 1158 1159 function InitSequInfo($ _GET, $first)1160 { 1161 InitInfo($ _GET, $first);1162 InitSequStatus($ _GET, $first);1163 InitFailInfo($ _GET, $first);1164 InitCalInfo($ _GET, $first);1165 InitStarInfo($ _GET, $first);1159 function InitSequInfo($first) 1160 { 1161 InitInfo($first); 1162 InitSequStatus($first); 1163 InitFailInfo($first); 1164 InitCalInfo($first); 1165 InitStarInfo($first); 1166 1166 1167 1167 if (empty($_GET["fRunTime/60"])) … … 1189 1189 $_GET["fSumTriggerFlagName"]="Off"; 1190 1190 1191 if (empty($_GET["fOnlySum"])) 1192 $_GET["fOnlySum"]="Off"; 1193 1191 1194 // if (empty($_GET["fManuallyChangedName"])) 1192 1195 // $_GET["fManuallyChangedName"]="Off"; 1193 1196 } 1194 1197 1195 function InitDataSetStatus($ _GET, $first)1198 function InitDataSetStatus($first) 1196 1199 { 1197 1200 if (empty($_GET["fDataSetInserted"])) … … 1226 1229 } 1227 1230 1228 function InitDataSetInfo($ _GET, $first)1229 { 1230 InitDataSetStatus($ _GET, $first);1231 InitFailInfo($ _GET, $first);1231 function InitDataSetInfo($first) 1232 { 1233 InitDataSetStatus($first); 1234 InitFailInfo($first); 1232 1235 1233 1236 if (empty($_GET["fNumResults"])) … … 1299 1302 } 1300 1303 1301 function InitFindOffData($ _GET, $first)1302 { 1303 InitSequInfo($ _GET, $first);1304 function InitFindOffData($first) 1305 { 1306 InitSequInfo($first); 1304 1307 1305 1308 //init for limits … … 1441 1444 } 1442 1445 1443 function InitCTAMCRunStatus($_GET, $first) 1446 function InitBuildDataSets($first) 1447 { 1448 if (empty($_GET["fNumResults"])) 1449 // $_GET["fNumResults"]="50"; 1450 $_GET["fNumResults"]="10"; 1451 1452 if (empty($_GET["fRunStart"])) 1453 $_GET["fRunStart"]=$first?"On":""; 1454 1455 if (empty($_GET["fRunTime/60"])) 1456 $_GET["fRunTime/60"]=$first?"On":""; 1457 1458 if (empty($_GET["fZenithDistanceMin"])) 1459 $_GET["fZenithDistanceMin"]=$first?"On":""; 1460 1461 if (empty($_GET["fZenithDistanceMax"])) 1462 $_GET["fZenithDistanceMax"]=$first?"On":""; 1463 1464 if (empty($_GET["fSourceName"])) 1465 $_GET["fSourceName"]=$first?"On":""; 1466 1467 if (empty($_GET["fObservationModeName"])) 1468 $_GET["fObservationModeName"]=$first?"On":""; 1469 1470 if (empty($_GET["fUnsuitableInner"])) 1471 $_GET["fUnsuitableInner"]=$first?"On":""; 1472 1473 if (empty($_GET["fUnreliableInner"])) 1474 $_GET["fUnreliableInner"]=$first?"On":""; 1475 1476 if (empty($_GET["fIsolatedInner"])) 1477 $_GET["fIsolatedInner"]=$first?"On":""; 1478 1479 if (empty($_GET["fIsolatedMaxCluster"])) 1480 $_GET["fIsolatedMaxCluster"]=$first?"On":""; 1481 1482 if (empty($_GET["fArrTimeRmsInner"])) 1483 $_GET["fArrTimeRmsInner"]=$first?"On":""; 1484 1485 if (empty($_GET["fMeanPedRmsInner"])) 1486 $_GET["fMeanPedRmsInner"]=$first?"On":""; 1487 1488 if (empty($_GET["fPulsePosMean"])) 1489 $_GET["fPulsePosMean"]=$first?"On":""; 1490 1491 if (empty($_GET["fConvFactorInner"])) 1492 $_GET["fConvFactorInner"]=$first?"On":""; 1493 1494 if (empty($_GET["fInhomogeneity"])) 1495 $_GET["fInhomogeneity"]=$first?"On":""; 1496 1497 if (empty($_GET["fPSF"])) 1498 $_GET["fPSF"]=$first?"On":""; 1499 1500 if (empty($_GET["fMuonNumber"])) 1501 $_GET["fMuonNumber"]=$first?"On":""; 1502 1503 if (empty($_GET["fEffOnTime/fRunTime"])) 1504 $_GET["fEffOnTime/fRunTime"]=$first?"On":""; 1505 1506 if (empty($_GET["fMuonRate"])) 1507 $_GET["fMuonRate"]=$first?"On":""; 1508 1509 if (empty($_GET["fDataRate"])) 1510 $_GET["fDataRate"]=$first?"On":""; 1511 1512 if (empty($_GET["fAvgCloudiness"])) 1513 $_GET["fAvgCloudiness"]=$first?"On":""; 1514 1515 if (empty($_GET["fNumStarsMed"])) 1516 $_GET["fNumStarsMed"]=$first?"On":""; 1517 1518 if (empty($_GET["fNumStarsCorMed"])) 1519 $_GET["fNumStarsCorMed"]=$first?"On":""; 1520 1521 if (empty($_GET["fOff"])) 1522 $_GET["fOff"]=$first?"On":""; 1523 1524 if (empty($_GET["fLinks"])) 1525 $_GET["fLinks"]=$first?"On":""; 1526 1527 if (empty($_GET["fOnlyOff"])) 1528 $_GET["fOnlyOff"]=$first?"Off":""; 1529 1530 InitFindOffData($first); 1531 } 1532 1533 function InitCTAMCRunStatus($first) 1444 1534 { 1445 1535 if (empty($_GET["fCorsikaSimTelarray"])) … … 1481 1571 } 1482 1572 1483 function InitCTAMCRunInfo($ _GET, $first)1573 function InitCTAMCRunInfo($first) 1484 1574 { 1485 1575 if (empty($_GET["fNumResults"])) 1486 1576 $_GET["fNumResults"]="50"; 1487 1577 1488 InitCTAMCRunStatus($ _GET, $first);1489 InitInfo($ _GET, $first);1490 InitFailInfo($ _GET, $first);1578 InitCTAMCRunStatus($first); 1579 InitInfo($first); 1580 InitFailInfo($first); 1491 1581 1492 1582 if (empty($_GET["fNumEvents"]))
Note:
See TracChangeset
for help on using the changeset viewer.