2 error_reporting(E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR
);
3 require('./roots.php');
4 require($root_path.'include/inc_environment_global.php');
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
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); ?
>
36 <?php
echo setCharSet(); ?
>
37 <TITLE
><?php
echo $LDInfo4Duty ?
></TITLE
>
39 <script language
="javascript">
43 window
.opener
.focus();
50 div
.box
{ border
: double; border
-width
: thin
; width
: 100%
; border
-color
: black
; }
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
>
59 echo ucfirst($person['name_last']).', '.ucfirst($person['name_first']);
62 <img
<?php
echo $img_source; ?
> align
="right">
68 <td bgcolor
=#ffffcc><img <?php echo createComIcon($root_path,'authors.gif','0','',FALSE) ?>> <font face=verdana,arial size=2 ><?php echo $LDContactInfo ?><br></font>
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
>
77 <td bgcolor
=#ffffcc><img <?php echo createComIcon($root_path,'listen-sm-legend.gif','0','',FALSE) ?>> <font face=verdana,arial size=2 ><?php echo $LDOnCallContactInfo ?><br></font>
81 <td
><UL
><font face
=verdana
,arial size
=2 ><b
><?php
echo $LDBeeper ?
>:</b
><font color
=red
> <?php
echo $dept['funk1']; ?
>
83 <font color
=navy
><b
><?php
echo $LDPhone ?
>:</b
> <?php
echo $dept['inphone1']; ?
><br
></font
></ul
>
87 <!-- Temporary deactivated
90 <td bgcolor
=#ffffcc><img <?php echo createComIcon($root_path,'warn.gif') ?>> <font face=verdana,arial size=2 ><b><?php echo $LDMoreInfo ?></b><br></font>
96 <td
><font face
=verdana
,arial size
=2 ><?php
echo $pinfo["info"]; ?
></font
>
103 <a href
="javascript:closethis()"><img
<?php
echo createLDImgSrc($root_path,'close2.gif','0') ?
> alt
="<?php echo $LDCloseWindow ?>"></a
>