2 //------------Forms generated from formsWiz
3 include_once("../../globals.php");
4 include_once($GLOBALS["srcdir"] . "/api.inc");
5 function soap2_report( $pid, $encounter, $cols, $id) {
7 $data = formFetch("form_soap2", $id);
10 foreach($data as $key => $value) {
11 if ($key == "id" ||
$key == "pid" ||
$key == "user" ||
12 $key == "groupname" ||
$key == "authorized" ||
$key == "activity" ||
13 $key == "date" ||
$value == "" ||
$value == "0000-00-00 00:00:00")
20 $key=ucwords(str_replace("_"," ",$key));
21 print "<td><span class=bold>$key: </span><span class=text>$value</span></td>";
23 if ($count == $cols) {
29 print "</tr></table>";