- modules/fotolab updated imagej to current version & some cod fixes to make it work
[care2x.git] / Care2007 / modules / doctors / doctors-dienstplan-popinfo.php
blobf04012f50da5769072b803b04c994ac82743a12d
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 /**
6 * CARE2X Integrated Hospital Information System Deployment 2.2 - 2006-07-10
7 * GNU General Public License
8 * Copyright 2002,2003,2004,2005,2006 Elpidio Latorilla
9 * elpidio@care2x.org,
11 * See the file "copy_notice.txt" for the licence notice
13 define('LANG_FILE','doctors.php');
14 define('NO_2LEVEL_CHK',1);
15 require_once($root_path.'include/inc_front_chain_lang.php');
17 require_once($root_path.'include/care_api_classes/class_personell.php');
18 $pers_obj=new Personell;
19 $person=&$pers_obj->getPersonellInfo($nr);
21 require_once($root_path.'include/care_api_classes/class_department.php');
22 $dept_obj=new Department;
23 $dept=&$dept_obj->getPhoneInfo($dept_nr);
25 require_once($root_path.'include/care_api_classes/class_globalconfig.php');
26 $glob_obj=new GlobalConfig($GLOBAL_CONFIG);
27 $glob_obj->getConfig('person_%');
28 /* Check whether config foto path exists, else use default path */
29 $default_photo_path='fotos/registration';
30 $photo_filename=$person['photo_filename'];
31 $photo_path = (is_dir($root_path.$GLOBAL_CONFIG['person_foto_path'])) ? $GLOBAL_CONFIG['person_foto_path'] : $default_photo_path;
32 require_once($root_path.'include/inc_photo_filename_resolve.php');
34 <?php html_rtl($lang); ?>
35 <HEAD>
36 <?php echo setCharSet(); ?>
37 <TITLE><?php echo $LDInfo4Duty ?></TITLE>
39 <script language="javascript">
41 function closethis()
43 window.opener.focus();
44 window.close();
47 </script>
49 <STYLE type=text/css>
50 div.box { border: double; border-width: thin; width: 100%; border-color: black; }
51 </style>
53 </HEAD>
54 <BODY bgcolor="#abcdef" TEXT="#000000" LINK="#0000FF" VLINK="#800080" onLoad="if (window.focus) window.focus()" >
56 <font face=verdana,arial size=5 color=maroon>
57 <b>
58 <?php
59 echo ucfirst($person['name_last']).', '.ucfirst($person['name_first']);
61 </b>
62 <img <?php echo $img_source; ?> align="right">
63 </font>
64 <p>
66 <table border=0 >
67 <tr>
68 <td bgcolor=#ffffcc><img <?php echo createComIcon($root_path,'authors.gif','0','',FALSE) ?>>&nbsp;<font face=verdana,arial size=2 ><?php echo $LDContactInfo ?><br></font>
69 </td>
70 </tr>
71 <tr>
72 <td><UL><font face=verdana,arial size=2 ><b><?php echo $LDBeeper ?>:</b><font color=red> <?php echo $person['funk1']; ?><br>
73 <font color=navy><b><?php echo $LDPhone ?>:</b> <?php echo $person['inphone1']; ?><br></font></ul>
74 </td>
75 </tr>
76 <tr>
77 <td bgcolor=#ffffcc><img <?php echo createComIcon($root_path,'listen-sm-legend.gif','0','',FALSE) ?>>&nbsp;<font face=verdana,arial size=2 ><?php echo $LDOnCallContactInfo ?><br></font>
78 </td>
79 </tr>
80 <tr>
81 <td><UL><font face=verdana,arial size=2 ><b><?php echo $LDBeeper ?>:</b><font color=red> <?php echo $dept['funk1']; ?>
82 <br>
83 <font color=navy><b><?php echo $LDPhone ?>:</b> <?php echo $dept['inphone1']; ?><br></font></ul>
84 </td>
85 </tr>
87 <!-- Temporary deactivated
89 <tr>
90 <td bgcolor=#ffffcc><img <?php echo createComIcon($root_path,'warn.gif') ?>>&nbsp;<font face=verdana,arial size=2 ><b><?php echo $LDMoreInfo ?></b><br></font>
91 </td>
92 </tr>
95 <tr>
96 <td><font face=verdana,arial size=2 ><?php echo $pinfo["info"]; ?></font>
97 </td>
98 </tr>
99 -->
100 </table>
103 <a href="javascript:closethis()"><img <?php echo createLDImgSrc($root_path,'close2.gif','0') ?> alt="<?php echo $LDCloseWindow ?>"></a>
105 </BODY>
107 </HTML>