- 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_weight_height.php
blob76bc2ff3fdecb75adea4e5f64cde6a50e70f4dfb
1 <script language="javascript">
2 function popNotes(d){
3 alert(d);
5 -->
6 </script>
7 <table border=0 cellpadding=4 cellspacing=1 width=100% class="frame">
8 <tr bgcolor="#f6f6f6">
9 <td <?php echo $tbg; ?>><FONT color="#000066"><?php echo $LDDate; ?></td>
10 <td <?php echo $tbg; ?>><FONT color="#000066"><?php echo $LDTime; ?></td>
11 <td <?php echo $tbg; ?>><FONT color="#000066"><?php echo $LDWeight; ?></td>
12 <td <?php echo $tbg; ?>>&nbsp;</td>
13 <td <?php echo $tbg; ?>><FONT color="#000066"><?php echo $LDHeight; ?></td>
14 <td <?php echo $tbg; ?>>&nbsp;</td>
15 <td <?php echo $tbg; ?>><FONT color="#000066"><?php echo $LD['head_circumference']; ?></td>
16 <td <?php echo $tbg; ?>>&nbsp;</td>
17 <td <?php echo $tbg; ?>><FONT color="#000066"><?php echo $LDEncounterNr; ?></td>
18 </tr>
20 <?php
21 $toggle=0;
22 while(list($x,$row)=each($msr_comp)){
23 if($toggle) $bgc='#f3f3f3';
24 else $bgc='#fefefe';
25 $toggle=!$toggle;
27 <tr bgcolor="<?php echo $bgc; ?>">
28 <td><?php echo @formatDate2Local($row['msr_date'],$date_format); ?></td>
29 <td><?php echo strtr($row['msr_time'],'.',':'); ?></td>
30 <td>
31 <?php
32 if($row[6]['notes']) echo '<a href="javascript:popNotes(\''.$row[6]['notes'].'\')" title="'.$row[6]['notes'].'">'.$row[6]['value'].'</a>';
33 else echo $row[6]['value'];
34 ?></td>
35 <td><FONT SIZE=1 ><?php echo $unit_ids[$row[6]['unit_nr']]; ?></td>
36 <td>
37 <?php
38 if($row[7]['notes']) echo '<a href="javascript:popNotes(\''.$row[7]['notes'].'\')" title="'.$row[7]['notes'].'">'.$row[7]['value'].'</a>';
39 else echo $row[7]['value'];
40 ?></td>
41 <td><FONT SIZE=1 ><?php echo $unit_ids[$row[7]['unit_nr']]; ?></td>
42 <td>
43 <?php
44 if($row[9]['notes']) echo '<a href="javascript:popNotes(\''.$row[9]['notes'].'\')" title="'.$row[9]['notes'].'">'.$row[9]['value'].'</a>';
45 else echo $row[9]['value'];
46 ?></td>
47 <td><FONT SIZE=1 ><?php echo $unit_ids[$row[9]['unit_nr']]; ?></td>
48 <td><?php echo $row['encounter_nr']; ?></td>
49 </tr>
51 <?php
55 </table>
56 <?php
57 if($parent_admit&&!$is_discharged) {
59 <p>
60 <img <?php echo createComIcon($root_path,'bul_arrowgrnlrg.gif','0','absmiddle'); ?>>
61 <a href="<?php echo $thisfile.URL_APPEND.'&pid='.$HTTP_SESSION_VARS['sess_pid'].'&target='.$target.'&mode=new'; ?>">
62 <?php echo $LDEnterNewRecord; ?>
63 </a>
64 <?php