Ignore:
Timestamp:
11/12/08 16:24:29 (16 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r8467 r9159  
    471471        printf("<form method='POST'>");
    472472    if (empty($_GET["fPrintTable"]))
    473         printf("<p>%s<P>\n", $menu);
    474     printf("<table BORDER='0'>\n");
     473        printf("%s\n", $menu);
     474    printf("<table BORDER='0' style='margin-top:1ex'>\n");
     475    $counter=0;
    475476    while ($row0 = mysql_fetch_assoc($result0))
    476477    {
    477478        if ($first)
    478479        {
    479             printf(" <tr BGCOLOR='#C0C0C0'>\n");
     480            printf(" <tr BGCOLOR='#C0C0C0'>\n<td BGCOLOR='#F0F0F0'><img src='../plus.png' alt='+' onClick='showalllines(%d)'></td>\n", mysql_num_rows($result0));
    480481            $first = FALSE;
    481482            if ($form)
     
    503504        }
    504505
     506        $counter++;
    505507        if (!$col)
    506             printf(" <tr BGCOLOR='#E0E0E0'>\n");
     508            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);
    507509        else
    508             printf(" <tr BGCOLOR='#D0D0D0'>\n");
     510            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);
    509511        $col = !$col;
    510512
Note: See TracChangeset for help on using the changeset viewer.