Ignore:
Timestamp:
12/21/07 17:15:19 (17 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/datacenter/db/runinfo-aio.php

    r8768 r8797  
    5050                $query0 .= " RunData.fRunNumber as 'Run#' ";
    5151
     52                if (empty($_GET["fSendTxt"]) && !empty($_GET["fLinks"]))
     53                {
     54                    $query0 .= ", CONCAT('<A&ws;HREF=\"queryrbk.php?fNight=', date_format(adddate(fRunStart, interval +13 HOUR), '%Y-%m-%d') , '&amp;fDate=2\">rbk</A>') ";
     55                    $query0 .= " as 'Links'";
     56                }
     57
    5258                foreach ($_GET as $key => $element)
    53                     if ($_GET[$key]=="On" && $key!="fTest")
     59                    if ($key!="fLinks" && $_GET[$key]=="On" && $key!="fTest")
    5460                        if (empty($checkwhere[$key]) || $checkwhere[$key]==0)
    5561                            $query0 .= ", " . $key . " as '" . $alias[$key] . "' ";
     
    177183                $query0 .= "DESC";
    178184        }
     185        else
     186            $query0 .=" ORDER BY RunData.fRunNumber DESC";
    179187
    180188        if (empty($_GET["fNumStart"]))
Note: See TracChangeset for help on using the changeset viewer.