Changeset 9617 for trunk/MagicSoft/Mars/datacenter/db/menu.php
- Timestamp:
- 07/28/10 14:38:30 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/db/menu.php
r9599 r9617 9 9 10 10 CheckBox("fNumEvents", "Num of events"); 11 CheckBox("fEnergyMin", "Emin"); 12 CheckBox("fEnergyMax", "Emax"); 13 CheckBox("fEnergySlope", "Slope"); 11 CheckBox("fSequenceNumber", "Sequ#"); 14 12 15 13 printf(" </tr><tr>\n"); … … 22 20 printf(" </tr><tr>\n"); 23 21 24 CheckBox("fZenithDistanceMin", "Zenith dist ancemin");25 CheckBox("fZenithDistanceMax", "Zenith dist ancemax");22 CheckBox("fZenithDistanceMin", "Zenith dist. min"); 23 CheckBox("fZenithDistanceMax", "Zenith dist. max"); 26 24 CheckBox("fAzimuthMin", "Azimuth min"); 27 25 CheckBox("fAzimuthMax", "Azimuth max"); 26 27 printf(" </tr><tr>\n"); 28 29 CheckBox("fEnergyMin", "Emin"); 30 CheckBox("fEnergyMax", "Emax"); 31 CheckBox("fEnergySlope", "Slope"); 28 32 29 33 printf(" </tr><tr>\n"); … … 633 637 { 634 638 if (empty($_GET["fRunMin"])) 635 $min = GetMin("fRunNumber", "C orsikaInfo", $host, $user, $pw, $db);639 $min = GetMin("fRunNumber", "CeresInfo", $host, $user, $pw, $db); 636 640 else 637 641 $min = $_GET["fRunMin"]; 638 642 639 643 if (empty($_GET["fRunMax"])) 640 $max = GetMax("fRunNumber", "C orsikaInfo", $host, $user, $pw, $db);644 $max = GetMax("fRunNumber", "CeresInfo", $host, $user, $pw, $db); 641 645 else 642 646 $max = $_GET["fRunMax"]; … … 790 794 } 791 795 792 function InitFailInfo($first)793 {794 if (empty($_GET["fStartTime"]))795 $_GET["fStartTime"]="Off";796 797 if (empty($_GET["fFailedTime"]))798 $_GET["fFailedTime"]="Off";799 800 if (empty($_GET["fReturnCode"]))801 $_GET["fReturnCode"]="Off";802 803 if (empty($_GET["fProgramId"]))804 $_GET["fProgramId"]="Off";805 }806 807 796 function InitInfo($first) 808 797 { … … 810 799 $_GET["fNumResults"]="20"; 811 800 812 if (empty($_GET["fNumEvents"]))813 $_GET["fNumEvents"]="Off";814 815 801 if (empty($_GET["fRunStart"])) 816 802 $_GET["fRunStart"]="Off"; … … 908 894 InitRunStatus($first); 909 895 InitInfo($first); 910 InitFailInfo($first); 896 897 if (empty($_GET["fNumEvents"])) 898 $_GET["fNumEvents"]=$first?"Off":""; 911 899 912 900 if (empty($_GET["fLinks"])) … … 1185 1173 InitInfo($first); 1186 1174 InitSequStatus($first); 1187 InitFailInfo($first);1188 1175 InitCalInfo($first); 1189 1176 InitStarInfo($first); 1190 1177 1178 if (empty($_GET["fNumEvents"])) 1179 $_GET["fNumEvents"]=$first?"Off":""; 1180 1191 1181 if (empty($_GET["fRunTime/60"])) 1192 1182 $_GET["fRunTime/60"]="Off"; … … 1256 1246 { 1257 1247 InitDataSetStatus($first); 1258 InitFailInfo($first);1259 1248 1260 1249 if (empty($_GET["fNumResults"])) … … 1612 1601 InitCTAMCRunStatus($first); 1613 1602 InitInfo($first); 1614 InitFailInfo($first); 1603 1604 if (empty($_GET["fNumEvents"])) 1605 $_GET["fNumEvents"]=$first?"Off":""; 1615 1606 1616 1607 if (empty($_GET["fObsLevel"])) … … 1671 1662 InitMCRunStatus($_GET, $first); 1672 1663 InitInfo($_GET, $first); 1673 InitFailInfo($_GET, $first);1674 1664 1675 1665 if (empty($_GET["fParticleTypeName"])) … … 1685 1675 $_GET["fNumEvents"]=$first?"On":""; 1686 1676 1677 if (empty($_GET["fSequenceNumber"])) 1678 $_GET["fSequenceNumber"]=$first?"On":""; 1679 1687 1680 if (empty($_GET["fZenithDistanceMin"])) 1688 $_GET["fZenithDistanceMin"]=$first?"O n":"";1681 $_GET["fZenithDistanceMin"]=$first?"Off":""; 1689 1682 1690 1683 if (empty($_GET["fZenithDistanceMax"])) 1691 $_GET["fZenithDistanceMax"]=$first?"O n":"";1684 $_GET["fZenithDistanceMax"]=$first?"Off":""; 1692 1685 1693 1686 if (empty($_GET["fAzimuthMin"])) 1694 $_GET["fAzimuthMin"]=$first?"O n":"";1687 $_GET["fAzimuthMin"]=$first?"Off":""; 1695 1688 1696 1689 if (empty($_GET["fAzimuthMax"])) 1697 $_GET["fAzimuthMax"]=$first?"O n":"";1690 $_GET["fAzimuthMax"]=$first?"Off":""; 1698 1691 1699 1692 if (empty($_GET["fEnergyMin"]))
Note:
See TracChangeset
for help on using the changeset viewer.