Changeset 9159 for trunk/MagicSoft/Mars/datacenter/db/include.php
- Timestamp:
- 11/12/08 16:24:29 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/db/include.php
r8467 r9159 471 471 printf("<form method='POST'>"); 472 472 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; 475 476 while ($row0 = mysql_fetch_assoc($result0)) 476 477 { 477 478 if ($first) 478 479 { 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)); 480 481 $first = FALSE; 481 482 if ($form) … … 503 504 } 504 505 506 $counter++; 505 507 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); 507 509 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); 509 511 $col = !$col; 510 512
Note:
See TracChangeset
for help on using the changeset viewer.