Ignore:
Timestamp:
12/03/11 00:17:04 (13 years ago)
Author:
Daniela Dorner
Message:
added new database values
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/datacenter/db/fact_runinfo.php

    r12665 r12694  
    2525            $query0 .= " Concat(fRunNumber,'_', LPAD(fFileNumber, 3, 0)) as 'Run' ";
    2626
     27            foreach ($_GET as $key => $element)
     28                if ($_GET[$key]=="On")
     29                    if ($key!="fComments")
     30                        if (empty($checkwhere[$key]) || $checkwhere[$key]==0)
     31                            $query0 .= ", " . $key . " as '" . $alias[$key] . "' ";
     32
    2733            if (!empty($_GET["fComments"]))
    2834            {
     
    3137            }
    3238
    33             foreach ($_GET as $key => $element)
    34                 if ($_GET[$key]=="On")
    35                     if ($key!="fComments")
    36                         if (empty($checkwhere[$key]) || $checkwhere[$key]==0)
    37                             $query0 .= ", " . $key . " as '" . $alias[$key] . "' ";
    3839        }
    3940
     
    191192            $_GET["fRunTypeName"]=$first?"On":"";
    192193
     194        if (empty($_GET["fTriggerRateMedian"]))
     195            $_GET["fTriggerRateMedian"]=$first?"On":"";
     196
     197        if (empty($_GET["fThresholdMedian"]))
     198            $_GET["fThresholdMedian"]=$first?"On":"";
     199
     200        if (empty($_GET["fBiasVoltageMedian"]))
     201            $_GET["fBiasVoltageMedian"]=$first?"On":"";
     202
     203        if (empty($_GET["fRightAscension"]))
     204            $_GET["fRightAscension"]=$first?"On":"";
     205
     206        if (empty($_GET["fDeclination"]))
     207            $_GET["fDeclination"]=$first?"On":"";
     208
    193209    }
    194210
     
    241257        CheckBox("fMd5sumRaw",         "md5");
    242258        CheckBox("fMd5sumRawZip",      "md5(gz)");
     259
     260        printf("  </tr>\n");
     261        printf("  <tr>\n");
     262
     263        CheckBox("fTriggerRateMedian",    "mean rate");
     264        CheckBox("fThresholdMedian",    "mean threshold");
     265        CheckBox("fBiasVoltageMedian",    "mean voltage");
     266        CheckBox("fRightAscension",    "RA");
     267        CheckBox("fDeclination",    "Dec");
    243268
    244269        printf("  </tr>\n");
Note: See TracChangeset for help on using the changeset viewer.