- 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_medocs.php
blobea18898a3d7eaedec6facefea84db83ac101bb18
1 <?php
2 if($rows){
3 ?>
4 <table border=0 cellpadding=1 cellspacing=0 width=100%>
5 <tr bgcolor="#f6f6f6" valign="top">
6 <td <?php echo $tbg; ?>><FONT SIZE=-1 FACE="Arial" color="#000066">&nbsp;</td>
7 <td <?php echo $tbg; ?>><FONT SIZE=-1 FACE="Arial" color="#000066"><?php echo $LDDate; ?></td>
8 <td <?php echo $tbg; ?>><FONT SIZE=-1 FACE="Arial" color="#000066"><?php echo $LDEncounterNr; ?></td>
9 <td <?php echo $tbg; ?>><FONT SIZE=-1 FACE="Arial" color="#000066"><?php echo $LDDiagnosis2; ?></td>
10 <td <?php echo $tbg; ?>><FONT SIZE=-1 FACE="Arial" color="#000066"><?php echo $LDShow; ?></td>
11 </tr>
12 <?php
13 while($row=$med_obj->FetchRow()){
14 $buf=1;
15 if($row['is_discharged']) $buf=0;
16 $aref=$root_path.'modules/medocs/show_medocs.php'.URL_APPEND.'&edit='.$buf.'&encounter_nr='.$row['encounter_nr'].'&is_discharged='.$row['is_discharged'];
18 <tr bgcolor="#fefefe" valign="top">
19 <td><FONT SIZE=-1 FACE="Arial"><?php if($buf) echo '<img '.createComIcon($root_path,'check2.gif','0','',TRUE).'>'; else echo '&nbsp;'; ?></td>
20 <td><FONT SIZE=-1 FACE="Arial"><?php if($row['date']) echo @formatDate2Local($row['date'],$date_format); else echo '?'; ?></td>
21 <td><FONT SIZE=-1 FACE="Arial"><a href="<?php echo $aref; ?>"><?php echo $row['encounter_nr']; ?></a></td>
22 <td><FONT SIZE=-1 FACE="Arial"><a href="<?php echo $aref; ?>"><?php echo nl2br(substr($row['notes'],0,50)); ?></a></td>
23 <td><a href="<?php echo $aref ?>"><img <?php echo createComIcon($root_path,'info2.gif','0','',TRUE); ?>></a></td>
24 </tr>
26 <?php
30 </table>
31 <?php