Changeset 9599 for trunk/MagicSoft/Mars/datacenter/db/menu.php
- Timestamp:
- 06/28/10 17:47:01 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/db/menu.php
r9546 r9599 17 17 CheckBox("fImpactMax", "Impact"); 18 18 CheckBox("fViewConeMax", "Viewcone"); 19 CheckBox("fNumReUseShower", "#Shower reuse");20 19 CheckBox("fStartingAltitude", "Starting alt."); 21 22 printf(" </tr><tr>\n");23 24 20 CheckBox("fMirrorDiameter", "Mirror diam."); 25 21 … … 35 31 PrintPullDown($host, $user, $pw, $db, "ParticleType", "fParticleTypeName", "fParticleTypeKEY", "Particle type"); 36 32 printf(" </td><td>\n"); 33 PrintPullDown($host, $user, $pw, $db, "RunType", "fRunTypeName", "fRunTypeKEY", "Run type"); 34 printf(" </td><td>\n"); 37 35 PrintPullDown($host, $user, $pw, $db, "AtmosphericModel", "fAtmosphericModelName", "fAtmosphericModelKEY", "Atm. model"); 38 36 printf(" </td>\n"); … … 49 47 printf(" <tr><td>\n"); 50 48 51 PrintStatusMenu("fCorsikaInputCreated", "Input"); 52 printf(" </td><td>\n"); 53 PrintStatusMenu("fCorsikaFileAvail", "Corsika"); 49 PrintStatusMenu("Corsika", "Corsika"); 50 printf(" </td><td>\n"); 51 PrintStatusMenu("Ceres", "Ceres"); 52 printf(" </td><td>\n"); 53 PrintStatusMenu("SequenceFile", "SequenceFile"); 54 55 printf(" </td></tr><tr><td>\n"); 56 57 PrintStatusMenu("Callisto", "Callisto"); 58 printf(" </td><td>\n"); 59 PrintStatusMenu("Star", "Star"); 54 60 55 61 printf(" </td></tr></table>\n"); … … 627 633 { 628 634 if (empty($_GET["fRunMin"])) 629 $min = GetMin("f CorsikaRunNumber", "MCCorsikaRunData", $host, $user, $pw, $db);635 $min = GetMin("fRunNumber", "CorsikaInfo", $host, $user, $pw, $db); 630 636 else 631 637 $min = $_GET["fRunMin"]; 632 638 633 639 if (empty($_GET["fRunMax"])) 634 $max = GetMax("f CorsikaRunNumber", "MCCorsikaRunData", $host, $user, $pw, $db);640 $max = GetMax("fRunNumber", "CorsikaInfo", $host, $user, $pw, $db); 635 641 else 636 642 $max = $_GET["fRunMax"]; … … 1625 1631 function InitMCRunStatus($_GET, $first) 1626 1632 { 1627 if (empty($_GET["fCorsikaFileAvail"])) 1628 $_GET["fCorsikaFileAvail"]="On"; 1629 1630 if (empty($_GET["fCorsikaFileAvailStatus"])) 1631 $_GET["fCorsikaFileAvailStatus"]="0"; 1632 1633 if (empty($_GET["fCorsikaInputCreated"])) 1634 $_GET["fCorsikaInputCreated"]="Off"; 1635 1636 if (empty($_GET["fCorsikaInputCreatedStatus"])) 1637 $_GET["fCorsikaInputCreatedStatus"]="0"; 1633 1634 if (empty($_GET["Corsika"])) 1635 $_GET["Corsika"]=$first?"On":""; 1636 1637 if (empty($_GET["CorsikaStatus"])) 1638 $_GET["CorsikaStatus"]="0"; 1639 1640 if (empty($_GET["Ceres"])) 1641 $_GET["Ceres"]=$first?"On":""; 1642 1643 if (empty($_GET["CeresStatus"])) 1644 $_GET["CeresStatus"]="0"; 1645 1646 if (empty($_GET["SequenceFile"])) 1647 $_GET["SequenceFile"]=$first?"Off":""; 1648 1649 if (empty($_GET["SequenceFileStatus"])) 1650 $_GET["SequenceFileStatus"]="0"; 1651 1652 if (empty($_GET["Callisto"])) 1653 $_GET["Callisto"]=$first?"Off":""; 1654 1655 if (empty($_GET["CallistoStatus"])) 1656 $_GET["CallistoStatus"]="0"; 1657 1658 if (empty($_GET["Star"])) 1659 $_GET["Star"]=$first?"On":""; 1660 1661 if (empty($_GET["StarStatus"])) 1662 $_GET["StarStatus"]="0"; 1638 1663 1639 1664 } … … 1649 1674 1650 1675 if (empty($_GET["fParticleTypeName"])) 1651 $_GET["fParticleTypeName"]="On"; 1676 $_GET["fParticleTypeName"]=$first?"On":""; 1677 1678 if (empty($_GET["fRunTypeName"])) 1679 $_GET["fRunTypeName"]=$first?"On":""; 1652 1680 1653 1681 if (empty($_GET["fAtmosphericModelName"])) … … 1658 1686 1659 1687 if (empty($_GET["fZenithDistanceMin"])) 1660 $_GET["fZenithDistanceMin"]= "On";1688 $_GET["fZenithDistanceMin"]=$first?"On":""; 1661 1689 1662 1690 if (empty($_GET["fZenithDistanceMax"])) 1663 $_GET["fZenithDistanceMax"]= "On";1691 $_GET["fZenithDistanceMax"]=$first?"On":""; 1664 1692 1665 1693 if (empty($_GET["fAzimuthMin"])) 1666 $_GET["fAzimuthMin"]= "On";1694 $_GET["fAzimuthMin"]=$first?"On":""; 1667 1695 1668 1696 if (empty($_GET["fAzimuthMax"])) 1669 $_GET["fAzimuthMax"]= "On";1697 $_GET["fAzimuthMax"]=$first?"On":""; 1670 1698 1671 1699 if (empty($_GET["fEnergyMin"])) 1672 $_GET["fEnergyMin"]= "On";1700 $_GET["fEnergyMin"]=$first?"On":""; 1673 1701 1674 1702 if (empty($_GET["fEnergyMax"])) 1675 $_GET["fEnergyMax"]= "On";1703 $_GET["fEnergyMax"]=$first?"On":""; 1676 1704 1677 1705 if (empty($_GET["fImpactMax"])) 1678 $_GET["fImpactMax"]= "On";1706 $_GET["fImpactMax"]=$first?"On":""; 1679 1707 1680 1708 if (empty($_GET["fViewConeMax"])) 1681 $_GET["fViewConeMax"]= "On";1709 $_GET["fViewConeMax"]=$first?"On":""; 1682 1710 1683 1711 if (empty($_GET["fEnergySlope"])) 1684 $_GET["fEnergySlope"]="On"; 1685 1686 if (empty($_GET["fNumReUseShower"])) 1687 $_GET["fNumReUseShower"]="Off"; 1712 $_GET["fEnergySlope"]=$first?"On":""; 1688 1713 1689 1714 if (empty($_GET["fStartingAltitude"])) 1690 $_GET["fStartingAltitude"]= "On";1715 $_GET["fStartingAltitude"]=$first?"On":""; 1691 1716 1692 1717 if (empty($_GET["fMirrorDiameter"])) 1693 $_GET["fMirrorDiameter"]= "On";1718 $_GET["fMirrorDiameter"]=$first?"On":""; 1694 1719 1695 1720 }
Note:
See TracChangeset
for help on using the changeset viewer.