Index: trunk/MagicSoft/Mars/datacenter/db/include.php
===================================================================
--- trunk/MagicSoft/Mars/datacenter/db/include.php	(revision 8467)
+++ trunk/MagicSoft/Mars/datacenter/db/include.php	(revision 9159)
@@ -471,11 +471,12 @@
         printf("<form method='POST'>");
     if (empty($_GET["fPrintTable"]))
-        printf("<p>%s<P>\n", $menu);
-    printf("<table BORDER='0'>\n");
+        printf("%s\n", $menu);
+    printf("<table BORDER='0' style='margin-top:1ex'>\n");
+    $counter=0;
     while ($row0 = mysql_fetch_assoc($result0))
     {
         if ($first)
         {
-            printf(" <tr BGCOLOR='#C0C0C0'>\n");
+            printf(" <tr BGCOLOR='#C0C0C0'>\n<td BGCOLOR='#F0F0F0'><img src='../plus.png' alt='+' onClick='showalllines(%d)'></td>\n", mysql_num_rows($result0));
             $first = FALSE;
             if ($form)
@@ -503,8 +504,9 @@
         }
 
+        $counter++;
         if (!$col)
-            printf(" <tr BGCOLOR='#E0E0E0'>\n");
+            printf(" <tr id='line%s' BGCOLOR='#E0E0E0'>\n<td BGCOLOR='#F0F0F0'>\n<img id='line%sbutton' src='../minus.png' alt='-' onClick='showhide(\"line%s\")'>\n</td>\n", $counter, $counter, $counter);
         else
-            printf(" <tr BGCOLOR='#D0D0D0'>\n");
+            printf(" <tr id='line%s' BGCOLOR='#D0D0D0'>\n<td BGCOLOR='#F0F0F0'>\n<img id='line%sbutton' src='../minus.png' alt='-' onClick='showhide(\"line%s\")'>\n</td>\n", $counter, $counter, $counter);
         $col = !$col;
 
