Changeset 7974 for trunk/MagicSoft/Mars/datacenter/db
- Timestamp:
- 09/27/06 11:30:10 (18 years ago)
- Location:
- trunk/MagicSoft/Mars/datacenter/db
- Files:
-
- 19 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/db/culminating.php
r7873 r7974 227 227 { 228 228 if ($html=="1") 229 PrintMagicTable($result0, $alias, $rightalign, "", "", $_GET);229 PrintMagicTable($result0, $alias, $rightalign, "", "", "", $_GET); 230 230 else 231 231 PrintText($result0); -
trunk/MagicSoft/Mars/datacenter/db/datacheck.php
r7873 r7974 424 424 { 425 425 if ($html=="1" || $html=="2") 426 PrintMagicTable($result0, $alias, $rightalign, "", "", $_GET);426 PrintMagicTable($result0, $alias, $rightalign, "", "", "", $_GET); 427 427 else 428 428 PrintText($result0); -
trunk/MagicSoft/Mars/datacenter/db/datasetinfo-aio.php
r7962 r7974 258 258 { 259 259 if ($html=="1" || $html=="2") 260 PrintMagicTable($result0, $alias, $rightalign, "", "", $_GET);260 PrintMagicTable($result0, $alias, $rightalign, "", "", "", $_GET); 261 261 else 262 262 PrintText($result0); -
trunk/MagicSoft/Mars/datacenter/db/datasetinfo.php
r7873 r7974 380 380 { 381 381 if ($html=="1" || $html=="2") 382 PrintMagicTable($result0, $alias, $rightalign, "", "", $_GET);382 PrintMagicTable($result0, $alias, $rightalign, "", "", "", $_GET); 383 383 else 384 384 PrintText($result0); -
trunk/MagicSoft/Mars/datacenter/db/dbstatus.php
r7873 r7974 361 361 { 362 362 if ($html=="1" || $html=="2") 363 PrintMagicTable($result0, $alias, $rightalign, "", "", $_GET);363 PrintMagicTable($result0, $alias, $rightalign, "", "", "", $_GET); 364 364 else 365 365 PrintText($result0); -
trunk/MagicSoft/Mars/datacenter/db/include.php
r7874 r7974 404 404 ); 405 405 $offlimitcolour="#FF0000"; 406 407 406 408 407 … … 455 454 456 455 //determine color of text in cell 457 foreach($limitsmean as $key2 => $element2)456 if (!empty($limitsmean)) 458 457 { 459 $mean=$key2 . "Mean"; 460 $rms2=$key2 . "Rms"; 461 if ($key==$alias[$element2] && !empty($_GET[$mean])) 458 foreach($limitsmean as $key2 => $element2) 462 459 { 463 if (!empty($_GET[$rms2])) 460 $mean=$key2 . "Mean"; 461 $rms2=$key2 . "Rms"; 462 if ($key==$alias[$element2] && !empty($_GET[$mean])) 463 { 464 if (!empty($_GET[$rms2])) 465 { 466 $colour=$offlimitcolour; 467 foreach ($sigma as $margin => $newcolour) 468 { 469 $min=$_GET[$mean] - ($margin * $_GET[$rms2]); 470 $max=$_GET[$mean] + ($margin * $_GET[$rms2]); 471 if ($min < $element && $element < $max) 472 $colour=$newcolour; 473 } 474 printf("<font color='%s' style='font-weight:bold'>", $colour); 475 } 476 } 477 } 478 } 479 if (!empty($limitsmin)) 480 { 481 foreach($limitsmin as $key2 => $element2) 482 { 483 $limit1=$key2 . "1"; 484 $limit2=$key2 . "2"; 485 if ($key==$alias[$element2] && !empty($_GET[$limit1])) 464 486 { 465 487 $colour=$offlimitcolour; 466 foreach ($sigma as $margin => $newcolour) 488 if ($_GET[$limit1] <= $element) 489 $colour=$sigma[1]; 490 else 467 491 { 468 $min=$_GET[$mean] - ($margin * $_GET[$rms2]); 469 $max=$_GET[$mean] + ($margin * $_GET[$rms2]); 470 if ($min < $element && $element < $max) 471 $colour=$newcolour; 492 if (!empty($_GET[$limit2])) 493 { 494 if ($_GET[$limit2] <= $element) 495 $colour=$sigma[5]; 496 } 472 497 } 473 498 printf("<font color='%s' style='font-weight:bold'>", $colour); … … 476 501 } 477 502 478 foreach($limitsmin as $key2 => $element2)503 if (!empty($limitsmax)) 479 504 { 480 $limit1=$key2 . "1"; 481 $limit2=$key2 . "2"; 482 if ($key==$alias[$element2] && !empty($_GET[$limit1])) 505 foreach($limitsmax as $key2 => $element2) 483 506 { 484 $colour=$offlimitcolour; 485 if ($_GET[$limit1] <= $element) 486 $colour=$sigma[1]; 487 else 507 $limit1=$key2 . "1"; 508 $limit2=$key2 . "2"; 509 if ($key==$alias[$element2] && !empty($_GET[$limit1])) 488 510 { 489 if (!empty($_GET[$limit2])) 511 $colour=$offlimitcolour; 512 if ($_GET[$limit1] >= $element) 513 $colour=$sigma[1]; 514 else 490 515 { 491 if ($_GET[$limit2] <= $element) 492 $colour=$sigma[5]; 516 if (!empty($_GET[$limit2])) 517 { 518 if ($_GET[$limit2] >= $element) 519 $colour=$sigma[5]; 520 } 493 521 } 522 printf("<font color='%s' style='font-weight:bold'>", $colour); 494 523 } 495 printf("<font color='%s' style='font-weight:bold'>", $colour);496 }497 498 }499 500 foreach($limitsmax as $key2 => $element2)501 {502 $limit1=$key2 . "1";503 $limit2=$key2 . "2";504 if ($key==$alias[$element2] && !empty($_GET[$limit1]))505 {506 $colour=$offlimitcolour;507 if ($_GET[$limit1] >= $element)508 $colour=$sigma[1];509 else510 {511 if (!empty($_GET[$limit2]))512 {513 if ($_GET[$limit2] >= $element)514 $colour=$sigma[5];515 }516 }517 printf("<font color='%s' style='font-weight:bold'>", $colour);518 524 } 519 525 } -
trunk/MagicSoft/Mars/datacenter/db/index.php
r7873 r7974 376 376 { 377 377 if ($html=="1") 378 PrintMagicTable($result0, $alias, $rightalign, "", "", $_GET);378 PrintMagicTable($result0, $alias, $rightalign, "", "", "", $_GET); 379 379 else 380 380 PrintText($result0); -
trunk/MagicSoft/Mars/datacenter/db/printtable.php
r7873 r7974 42 42 ( 43 43 ); 44 PrintMagicTable($result0, $alias, $rightalign, "", "", $_GET);44 PrintMagicTable($result0, $alias, $rightalign, "", "", "", $_GET); 45 45 } 46 46 else -
trunk/MagicSoft/Mars/datacenter/db/querycal.php
r7873 r7974 199 199 { 200 200 if ($html=="1") 201 PrintMagicTable($result0, $alias, $rightalign, "", "", $_GET);201 PrintMagicTable($result0, $alias, $rightalign, "", "", "", $_GET); 202 202 else 203 203 PrintText($result0); -
trunk/MagicSoft/Mars/datacenter/db/querymc.php
r7559 r7974 243 243 { 244 244 if ($html=="1") 245 PrintMagicTable($result0, $alias, $rightalign, "", "", $_GET);245 PrintMagicTable($result0, $alias, $rightalign, "", "", "", $_GET); 246 246 else 247 247 PrintText($result0); -
trunk/MagicSoft/Mars/datacenter/db/queryrbk.php
r7873 r7974 71 71 ( 72 72 ); 73 PrintMagicTable($result0, $alias, $rightalign, "", "", $_GET);73 PrintMagicTable($result0, $alias, $rightalign, "", "", "", $_GET); 74 74 } 75 75 else -
trunk/MagicSoft/Mars/datacenter/db/queryseq.php
r7873 r7974 318 318 { 319 319 if ($html=="1") 320 PrintMagicTable($result0, $alias, $rightalign, "", "", $_GET);320 PrintMagicTable($result0, $alias, $rightalign, "", "", "", $_GET); 321 321 else 322 322 PrintText($result0); -
trunk/MagicSoft/Mars/datacenter/db/querystar.php
r7873 r7974 164 164 { 165 165 if ($html=="1") 166 PrintMagicTable($result0, $alias, $rightalign, "", "", $_GET);166 PrintMagicTable($result0, $alias, $rightalign, "", "", "", $_GET); 167 167 else 168 168 PrintText($result0); -
trunk/MagicSoft/Mars/datacenter/db/runinfo-aio.php
r7962 r7974 291 291 { 292 292 if ($html=="1" || $html=="2") 293 PrintMagicTable($result0, $alias, $rightalign, "", "", $_GET);293 PrintMagicTable($result0, $alias, $rightalign, "", "", "", $_GET); 294 294 else 295 295 PrintText($result0); -
trunk/MagicSoft/Mars/datacenter/db/runinfo.php
r7873 r7974 522 522 { 523 523 if ($html=="1" || $html=="2") 524 PrintMagicTable($result0, $alias, $rightalign, "", "", $_GET);524 PrintMagicTable($result0, $alias, $rightalign, "", "", "", $_GET); 525 525 else 526 526 PrintText($result0); -
trunk/MagicSoft/Mars/datacenter/db/sequinfo.php
r7873 r7974 636 636 { 637 637 if ($html=="1" || $html=="2") 638 PrintMagicTable($result0, $alias, $rightalign, "", "", $_GET);638 PrintMagicTable($result0, $alias, $rightalign, "", "", "", $_GET); 639 639 else 640 640 PrintText($result0); -
trunk/MagicSoft/Mars/datacenter/db/statusrps.php
r7873 r7974 207 207 { 208 208 if ($html=="1") 209 PrintMagicTable($result0, $alias, $rightalign, "", "", $_GET);209 PrintMagicTable($result0, $alias, $rightalign, "", "", "", $_GET); 210 210 else 211 211 PrintText($result0); -
trunk/MagicSoft/Mars/datacenter/db/statussbs.php
r7873 r7974 183 183 { 184 184 if ($html=="1") 185 PrintMagicTable($result0, $alias, $rightalign, "", "", $_GET);185 PrintMagicTable($result0, $alias, $rightalign, "", "", "", $_GET); 186 186 else 187 187 PrintText($result0); -
trunk/MagicSoft/Mars/datacenter/db/statussps.php
r7873 r7974 196 196 { 197 197 if ($html=="1") 198 PrintMagicTable($result0, $alias, $rightalign, "", "", $_GET);198 PrintMagicTable($result0, $alias, $rightalign, "", "", "", $_GET); 199 199 else 200 200 PrintText($result0);
Note:
See TracChangeset
for help on using the changeset viewer.