You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
140 lines
3.5 KiB
140 lines
3.5 KiB
<?php |
|
|
|
// Copyright (C) 2009 Aron Racho <aron@mi-squared.com> |
|
// |
|
// This program is free software; you can redistribute it and/or |
|
// modify it under the terms of the GNU General Public License |
|
// as published by the Free Software Foundation; either version 2 |
|
//------------Forms generated from formsWiz |
|
require_once("../../globals.php"); |
|
require_once($GLOBALS["srcdir"] . "/api.inc"); |
|
function leg_length_report($pid, $encounter, $cols, $id) |
|
{ |
|
$count = 0; |
|
$data = formFetch("form_leg_length", $id); |
|
$width = 100 / $cols; |
|
if ($data) { |
|
?> |
|
|
|
|
|
<table border="1" bordercolor="#000000" cellpadding="7" cellspacing="0" class="text"> |
|
<col> |
|
<col> |
|
<col> |
|
<tbody><tr valign="top"> |
|
<td> |
|
<palign="justify"> </p> |
|
|
|
</td> |
|
<td> |
|
<p><b>RIGHT</b></p> |
|
</td> |
|
<td> |
|
<p><b>LEFT</b></p> |
|
</td> |
|
</tr> |
|
|
|
<tr valign="top"> |
|
<td> |
|
<p><b>AE</b></p> |
|
</td> |
|
<td> |
|
<p><?php echo text($data["AE_left"]); ?> </p> |
|
</td> |
|
<td> |
|
<p><?php echo text($data["AE_right"]); ?> </p> |
|
</td> |
|
</tr> |
|
<tr valign="top"> |
|
<td> |
|
<p><b>BE</b></p> |
|
</td> |
|
<td> |
|
|
|
<p><?php echo text($data["BE_left"]); ?> </p> |
|
</td> |
|
<td> |
|
<p><?php echo text($data["BE_right"]); ?> </p> |
|
</td> |
|
</tr> |
|
<tr valign="top"> |
|
<td width="40" height="3"> |
|
|
|
<p><b>AK</b></p> |
|
</td> |
|
<td> |
|
<p><?php echo text($data["AK_left"]); ?> </p> |
|
</td> |
|
<td> |
|
<p><?php echo text($data["AK_right"]); ?> </p> |
|
|
|
</td> |
|
</tr> |
|
<tr valign="top"> |
|
<td> |
|
<p><b>K</b></p> |
|
</td> |
|
<td> |
|
<p><?php echo text($data["K_left"]); ?> </p> |
|
|
|
</td> |
|
<td> |
|
<p><?php echo text($data["K_right"]); ?> </p> |
|
</td> |
|
</tr> |
|
<tr valign="top"> |
|
<td> |
|
<p><b>BK</b></p> |
|
|
|
</td> |
|
<td> |
|
<p><?php echo text($data["BK_left"]); ?> </p> |
|
</td> |
|
<td> |
|
<p><?php echo text($data["BK_right"]); ?> </p> |
|
</td> |
|
</tr> |
|
|
|
<tr valign="top"> |
|
<td> |
|
<p><b>ASIS</b></p> |
|
</td> |
|
<td> |
|
<p><?php echo text($data["ASIS_left"]); ?> </p> |
|
</td> |
|
<td> |
|
|
|
<p><?php echo text($data["ASIS_right"]); ?> </p> |
|
</td> |
|
</tr> |
|
<tr valign="top"> |
|
<td width="40"> |
|
<p><b>UMB</b></p> |
|
</td> |
|
<td> |
|
|
|
<p><?php echo text($data["UMB_left"]); ?> </p> |
|
</td> |
|
<td> |
|
<p><?php echo text($data["UMB_right"]); ?> </p> |
|
</td> |
|
</tr> |
|
</tbody> |
|
</table> |
|
|
|
<?php if ($data['notes'] != '') {?> |
|
</p> |
|
<table border='0' cellpadding='0' cellspacing='0' class='text'> |
|
<tr class='text'> |
|
<td><b>NOTES</b></td> |
|
</tr> |
|
<tr class='text'> |
|
<td><p align='left'><?php echo text($data['notes']); ?> </p></td> |
|
</tr> |
|
</table> |
|
<?php } ?> |
|
|
|
<?php |
|
} |
|
} |
|
?>
|
|
|