- modules/fotolab updated imagej to current version & some cod fixes to make it work
[care2x.git] / Care2007 / modules / registration_admission / gui_bridge / default / gui_show_immunization.php
blobaf76cf7689ebdafd548a1472b3966c3e0e48f60d
2 <script language="javascript">
3 <!--
4 function popImmNotes(nr) {
5 urlholder="./immunization_notes.php<?php echo URL_REDIRECT_APPEND; ?>&nr="+nr;
6 IMMWIN<?php echo $sid ?>=window.open(urlholder,"histwin<?php echo $sid ?>","menubar=no,width=400,height=300,resizable=yes,scrollbars=yes");
8 -->
9 </script>
11 <table border=0 cellpadding=4 cellspacing=1 width=100% class="frame">
12 <tr bgcolor="#f6f6f6">
13 <td <?php echo $tbg; ?>></td>
14 <td <?php echo $tbg; ?>><FONT color="#000066"><?php echo $LDDate; ?></td>
15 <td <?php echo $tbg; ?>><FONT color="#000066"><?php echo $LDType; ?></td>
16 <td <?php echo $tbg; ?>><FONT color="#000066"><?php echo $LDMedicine; ?></td>
17 <td <?php echo $tbg; ?>><FONT color="#000066"><?php echo $LDTiter; ?></td>
18 <td <?php echo $tbg; ?>><FONT color="#000066"><?php echo $LDRefreshDate; ?></td>
19 </tr>
20 <?php
21 $toggle=0;
22 while($row=$result->FetchRow()){
23 if($toggle) $bgc='#f3f3f3';
24 else $bgc='#fefefe';
25 $toggle=!$toggle;?>
28 <tr bgcolor="<?php echo $bgc; ?>">
29 <td rowspan=2 valign="top">
30 <?php if(!empty($row['notes'])) { ?>
31 <a href="javascript:popImmNotes(<?php echo $row['nr']; ?>)"><img <?php echo createComIcon($root_path,'info3.gif','0','',TRUE); ?>></a>
32 <?php } ?>
33 </td>
34 <td rowspan=2 valign="top"><?php echo @formatDate2Local($row['date'],$date_format); ?></td>
35 <td rowspan=2 valign="top"><FONT color="#006600"><b><?php echo $row['type']; ?></b></td>
36 <td rowspan=2 valign="top"><?php echo $row['medicine']; ?></td>
37 <td rowspan=2 valign="top"><?php echo $row['titer']; ?></td>
38 <td>
39 <?php
40 if($row['refresh_date']!='0000-00-00') echo @formatDate2Local($row['refresh_date'],$date_format);
41 else echo '&nbsp;'; ?></td>
42 </tr>
43 <tr bgcolor="<?php echo $bgc; ?>">
44 <td><FONT SIZE=1>
45 <FONT color="#660000"><?php echo $LDDosage; ?></font><br>
46 <?php echo $row['dosage']; ?><br>
47 <FONT color="#660000"><?php echo $LDAppType; ?></font><br>
48 <?php echo $row['app_type_name']; ?><br>
49 <FONT color="#660000"><?php echo $LDAppBy; ?></font><br>
50 <?php echo $row['application_by']; ?><br>
51 </td>
52 </tr>
54 <?php
57 </table>
59 <?php
60 if($parent_admit&&!$is_discharged) {
62 <p>
63 <img <?php echo createComIcon($root_path,'bul_arrowgrnlrg.gif','0','absmiddle'); ?>>
64 <a href="<?php echo $thisfile.URL_APPEND.'&pid='.$HTTP_SESSION_VARS['sess_pid'].'&target='.$target.'&mode=new'; ?>">
65 <?php echo $LDEnterNewRecord; ?>
66 </a>
67 <?php