- modules/fotolab updated imagej to current version & some cod fixes to make it work
[care2x.git] / Care2007 / modules / registration_admission / immunization_notes.php
blob538dde97fac4843d7af1b72fd011841d9452901d
1 <?php
2 error_reporting(E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR);
3 require('./roots.php');
4 require($root_path.'include/inc_environment_global.php');
5 define('LANG_FILE','aufnahme.php');
6 $local_user='aufnahme_user';
7 require_once($root_path.'include/inc_front_chain_lang.php');
8 require_once($root_path.'include/inc_config_color.php');
9 require_once($root_path.'include/inc_date_format_functions.php');
11 //$thisfile=basename(__FILE__);
14 if(!isset($db) || !$db) include_once($root_path.'include/inc_db_makelink.php');
17 $sql="SELECT encounter_nr,date,type,notes FROM care_encounter_immunization WHERE nr=$nr";
18 if($result=$db->Execute($sql)){
19 if($rows=$result->RecordCount()) $imm=$result->FetchRow();
21 ?><?php html_rtl($lang); ?>
22 <!-- Generated by AceHTML Freeware http://freeware.acehtml.com -->
23 <head>
25 <title><?php echo $LDImmunization; ?></title>
28 </head>
29 <body onBlur="window.close()"><font face=arial>
31 <font size=3 color="#000099"><b><?php echo $HTTP_SESSION_VARS['sess_full_en']; ?></b></font><br>
32 <font size=2 color="#000099"><b><?php echo @formatDate2Local($imm['date'],$date_format); ?></b></font>
35 <table border=0 cellpadding=0 cellspacing=0 bgcolor="#efefef">
36 <tr>
37 <td>
39 <table border=0 cellspacing=1>
42 <tr>
43 <td background="../../gui/img/common/default/tableHeaderbg.gif">
44 <font face=arial color="#efefef" size=3><b><?php echo $LDImmunization.' '.$LDNotes.' ('.$imm['type'].')'; ?> </b>
45 </td>
46 </tr>
48 <?php
49 //echo $mode;
50 if ($rows)
52 ?>
53 <tr bgcolor="#ffffff">
54 <td ><font face=arial size=2>
55 <?php
56 echo nl2br($imm['notes']);
58 &nbsp;
59 </td>
60 </tr>
61 <?php
63 ?> </table>
65 </td>
66 </tr>
67 </table>
70 </font>
71 </body>
72 </html>