3 //------------Forms generated from formsWiz
4 require_once("../../globals.php");
5 require_once($GLOBALS["srcdir"] . "/api.inc");
6 function prosthesis_report($pid, $encounter, $cols, $id)
9 $data = formFetch("form_prosthesis", $id);
12 foreach ($data as $key => $value) {
13 if ($key == "id" ||
$key == "pid" ||
$key == "user" ||
$key == "groupname" ||
$key == "authorized" ||
$key == "activity" ||
$key == "date" ||
$value == "" ||
$value == "0000-00-00 00:00:00") {
21 $key = ucwords(str_replace("_", " ", $key));
22 print "<td><span class=bold>" . text($key) . ": </span><span class=text>" . text($value) . "</span></td>";
24 if ($count == $cols) {
31 print "</tr></table>";