Ignore:
Timestamp:
07/28/10 14:38:30 (14 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/datacenter/db/menu.php

    r9599 r9617  
    99
    1010    CheckBox("fNumEvents",        "Num of events");
    11     CheckBox("fEnergyMin",        "Emin");
    12     CheckBox("fEnergyMax",        "Emax");
    13     CheckBox("fEnergySlope",      "Slope");
     11    CheckBox("fSequenceNumber",   "Sequ#");
    1412
    1513    printf("  </tr><tr>\n");
     
    2220    printf("  </tr><tr>\n");
    2321
    24     CheckBox("fZenithDistanceMin", "Zenith distance min");
    25     CheckBox("fZenithDistanceMax", "Zenith distance max");
     22    CheckBox("fZenithDistanceMin", "Zenith dist. min");
     23    CheckBox("fZenithDistanceMax", "Zenith dist. max");
    2624    CheckBox("fAzimuthMin",        "Azimuth min");
    2725    CheckBox("fAzimuthMax",        "Azimuth max");
     26
     27    printf("  </tr><tr>\n");
     28
     29    CheckBox("fEnergyMin",        "Emin");
     30    CheckBox("fEnergyMax",        "Emax");
     31    CheckBox("fEnergySlope",      "Slope");
    2832
    2933    printf("  </tr><tr>\n");
     
    633637{
    634638    if (empty($_GET["fRunMin"]))
    635         $min = GetMin("fRunNumber", "CorsikaInfo", $host, $user, $pw, $db);
     639        $min = GetMin("fRunNumber", "CeresInfo", $host, $user, $pw, $db);
    636640    else
    637641        $min = $_GET["fRunMin"];
    638642
    639643    if (empty($_GET["fRunMax"]))
    640         $max = GetMax("fRunNumber", "CorsikaInfo", $host, $user, $pw, $db);
     644        $max = GetMax("fRunNumber", "CeresInfo", $host, $user, $pw, $db);
    641645    else
    642646        $max = $_GET["fRunMax"];
     
    790794}
    791795
    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 
    807796function InitInfo($first)
    808797{
     
    810799        $_GET["fNumResults"]="20";
    811800
    812     if (empty($_GET["fNumEvents"]))
    813         $_GET["fNumEvents"]="Off";
    814 
    815801    if (empty($_GET["fRunStart"]))
    816802        $_GET["fRunStart"]="Off";
     
    908894    InitRunStatus($first);
    909895    InitInfo($first);
    910     InitFailInfo($first);
     896
     897    if (empty($_GET["fNumEvents"]))
     898        $_GET["fNumEvents"]=$first?"Off":"";
    911899
    912900    if (empty($_GET["fLinks"]))
     
    11851173    InitInfo($first);
    11861174    InitSequStatus($first);
    1187     InitFailInfo($first);
    11881175    InitCalInfo($first);
    11891176    InitStarInfo($first);
    11901177
     1178    if (empty($_GET["fNumEvents"]))
     1179        $_GET["fNumEvents"]=$first?"Off":"";
     1180
    11911181    if (empty($_GET["fRunTime/60"]))
    11921182        $_GET["fRunTime/60"]="Off";
     
    12561246{
    12571247    InitDataSetStatus($first);
    1258     InitFailInfo($first);
    12591248
    12601249    if (empty($_GET["fNumResults"]))
     
    16121601    InitCTAMCRunStatus($first);
    16131602    InitInfo($first);
    1614     InitFailInfo($first);
     1603
     1604    if (empty($_GET["fNumEvents"]))
     1605        $_GET["fNumEvents"]=$first?"Off":"";
    16151606
    16161607    if (empty($_GET["fObsLevel"]))
     
    16711662    InitMCRunStatus($_GET, $first);
    16721663    InitInfo($_GET, $first);
    1673     InitFailInfo($_GET, $first);
    16741664
    16751665    if (empty($_GET["fParticleTypeName"]))
     
    16851675        $_GET["fNumEvents"]=$first?"On":"";
    16861676
     1677    if (empty($_GET["fSequenceNumber"]))
     1678        $_GET["fSequenceNumber"]=$first?"On":"";
     1679
    16871680    if (empty($_GET["fZenithDistanceMin"]))
    1688         $_GET["fZenithDistanceMin"]=$first?"On":"";
     1681        $_GET["fZenithDistanceMin"]=$first?"Off":"";
    16891682
    16901683    if (empty($_GET["fZenithDistanceMax"]))
    1691         $_GET["fZenithDistanceMax"]=$first?"On":"";
     1684        $_GET["fZenithDistanceMax"]=$first?"Off":"";
    16921685
    16931686    if (empty($_GET["fAzimuthMin"]))
    1694         $_GET["fAzimuthMin"]=$first?"On":"";
     1687        $_GET["fAzimuthMin"]=$first?"Off":"";
    16951688
    16961689    if (empty($_GET["fAzimuthMax"]))
    1697         $_GET["fAzimuthMax"]=$first?"On":"";
     1690        $_GET["fAzimuthMax"]=$first?"Off":"";
    16981691
    16991692    if (empty($_GET["fEnergyMin"]))
Note: See TracChangeset for help on using the changeset viewer.