Index: trunk/MagicSoft/Mars/datacenter/db/sequence.php
===================================================================
--- trunk/MagicSoft/Mars/datacenter/db/sequence.php	(revision 7507)
+++ trunk/MagicSoft/Mars/datacenter/db/sequence.php	(revision 7546)
@@ -74,5 +74,5 @@
     }
 
-    function PrintForm($_GET, $db)
+    function PrintForm($_GET, $host, $user, $pw, $db)
     {
         printf("<center>\n");
@@ -86,10 +86,10 @@
 
         if (empty($_GET["fRunMin"]))
-            $min = GetMin("fSequenceFirst", "Sequences", $db);
+            $min = GetMin("fSequenceFirst", "Sequences", $host, $user, $pw, $db);
         else
             $min = $_GET["fRunMin"];
 
         if (empty($_GET["fRunMax"]))
-            $max = GetMax("fSequenceFirst", "Sequences", $db);
+            $max = GetMax("fSequenceFirst", "Sequences", $host, $user, $pw, $db);
         else
             $max = $_GET["fRunMax"];
@@ -510,7 +510,7 @@
     }
 
-    function PrintPage($html, $db)
-    {
-        $db_id = mysql_connect("hercules.astro.uni-wuerzburg.de", "MAGIC", "d99swMT!");
+    function PrintPage($html, $host, $user, $pw, $db)
+    {
+        $db_id = mysql_connect($host, $user, $pw);
         if ($db_id==FALSE)
         {
@@ -550,5 +550,5 @@
         header("Content-Disposition: attachment; filename=query-result.txt");
 
-        PrintPage("0", $db);
+        PrintPage("0", $host, $user, $pw, $db);
     }
     else
@@ -560,5 +560,5 @@
         InitGet($_GET);
         if (empty($_GET["fPrintTable"]))
-            PrintForm($_GET, $db);
+            PrintForm($_GET, $host, $user, $pw, $db);
 
         if ($environment==0)
@@ -567,7 +567,7 @@
         {
             if (empty($_GET["fPrintTable"]))
-                PrintPage("1", $db);
+                PrintPage("1", $host, $user, $pw, $db);
             else
-                PrintPage("2", $db);
+                PrintPage("2", $host, $user, $pw, $db);
         }
 
