<?php echo $resultname; ?> </td> <td class="value"> <?php if (trim($number) != "") { echo "{$number} <span class='tiny'>{$units}</span>"; } elseif (trim($text) != "") { switch ($resulttype) { case 'graph': DisplayGraph($text, $resultname, $units, $labels, $graphnum); $graphnum++; break; case 'histogram': DisplayHistogram($text, $resultname, $units, $labels); break; case 'minmax': DisplayMinMax($text, $resultname, $units, $labels); break; } //echo $text; } elseif (trim($file) != "") { $filepath = "{$qapath}/{$file}"; ?> <img style="border: solid 1px #666666; " src="data:image/png;base64,<?php echo base64_encode(file_get_contents("{$filepath}")); ?> "> <?php }
?> </td> <td valign="top" class="name"> <?php echo $resultname; ?> </td> <td class="value"> <? if (trim($number) != "") { echo "$number <span class='tiny'>$units</span>"; } elseif (trim($text) != "") { switch ($resulttype) { case 'graph': DisplayGraph($text,$resultname,$units,$labels,$graphnum); $graphnum++; break; case 'histogram': DisplayHistogram($text,$resultname,$units,$labels); break; case 'minmax': DisplayMinMax($text,$resultname,$units,$labels); break; } //echo $text; } elseif (trim($file) != "") { $filepath = "$qapath/$file"; ?> <img style="border: solid 1px #666666; " src="data:image/png;base64,<?php echo base64_encode(file_get_contents("{$filepath}")); ?> "> <? } ?> </td>