<div class="rowdetails"> <span class="formlabel">Euclidean norm</span> <span class="textfielddetails"><?php echo round(sqrt($value->len) * 10000) / 10000; ?> </span> </div> <?php } if ($value->name != '') { ?> <div class="rowdetails"> <span class="formlabel">Name(s) of Participant(s)</span> <span class="textfielddetails"><?php echo buildNameString($value->name); ?> </span> </div> <?php } if ($value->email != '') { ?> <div class="rowdetails"> <span class="formlabel">E-Mail Address</span> <span class="textfielddetails"><a href="<?php echo "mailto:" . convertEmailToString($value->email); ?> "><?php echo convertEmailToString($value->email);
$lastdim = 0; foreach ($res as $key => $value) { $rec = $value; foreach ($rec as $len => $entry) { print "<tr>"; if ($lastdim != $entry->dim && $entry->dim >= 500) { $lastdim = $entry->dim; print "<td>" . $i . "</td>"; $i++; } else { print "<td></td>"; } print "<td>" . $entry->dim . "</td>"; // print "<td>" . round (sqrt ($entry->len) * 100) / 100 . "</td>"; print "<td>" . number_format(sqrt($entry->len), 2, '.', '') . "</td>"; print "<td>" . buildNameString($entry->name) . "</td>"; print "<td><a href=\"details.php?id=" . $entry->id . "\">Details</a></td>"; print "<td>" . $entry->date . "</td>"; print "</tr>"; } } ?> </tbody></table> <div class="center"> <a href="./">Back</a><br/> </div> </div> </div> <div id="footer"> copyright © 2010 R. Lindner, M. Rueckert, P. Baumann, L. Nobach | <a href="http://validator.w3.org/check?uri=referer">XHTML 1.1</a> | <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a> | <a href="http://www.dcarter.co.uk">design by dcarter</a>