Ignore:
Timestamp:
02/28/06 20:23:38 (19 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r7527 r7546  
    110110    }
    111111
    112     function PrintForm($_GET, $db)
     112    function PrintForm($_GET, $host, $user, $pw, $db)
    113113    {
    114114        printf("<center>\n");
     
    135135
    136136        if (empty($_GET["fRunMin"]))
    137             $min = GetMin("fSequenceFirst", "SequenceProcessStatus", $db);
     137            $min = GetMin("fSequenceFirst", "SequenceProcessStatus", $host, $user, $pw, $db);
    138138        else
    139139            $min = $_GET["fRunMin"];
    140140
    141141        if (empty($_GET["fRunMax"]))
    142             $max = GetMax("fSequenceFirst", "SequenceProcessStatus", $db);
     142            $max = GetMax("fSequenceFirst", "SequenceProcessStatus", $host, $user, $pw, $db);
    143143        else
    144144            $max = $_GET["fRunMax"];
     
    179179    }
    180180
    181     function PrintPage($html, $db, $alias, $rightalign, $checkstatusgroup, $checkwhere, $needs)
    182     {
    183         $db_id = mysql_connect("hercules.astro.uni-wuerzburg.de", "MAGIC", "d99swMT!");
     181    function PrintPage($html, $host, $user, $pw, $db, $alias, $rightalign, $checkstatusgroup, $checkwhere, $needs)
     182    {
     183        $db_id = mysql_connect($host, $user, $pw);
    184184        if ($db_id==FALSE)
    185185        {
     
    220220        header("Content-Disposition: attachment; filename=query-result.txt");
    221221
    222         PrintPage("0", $db, $alias, $rightalign, $checkstatusgroup, $checkwhere, $needs);
     222        PrintPage("0", $host, $user, $pw, $db, $alias, $rightalign, $checkstatusgroup, $checkwhere, $needs);
    223223    }
    224224    else
     
    229229
    230230        InitGet($_GET);
    231         PrintForm($_GET, $db);
     231        PrintForm($_GET, $host, $user, $pw, $db);
    232232
    233233        if ($environment==0)
    234234            printf("No query submitted yet.<BR>");
    235235        else
    236             PrintPage("1", $db, $alias, $rightalign, $checkstatusgroup, $checkwhere, $needs);
     236            PrintPage("1", $host, $user, $pw, $db, $alias, $rightalign, $checkstatusgroup, $checkwhere, $needs);
    237237
    238238        echo (file_get_contents("index-footer.html"));
Note: See TracChangeset for help on using the changeset viewer.