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 # Switch to the selected dicom viewer module
8 switch($HTTP_SESSION_VARS['sess_dicom_viewer']){
10 header("location:raimjava/raimjava_launch_single.php".URL_REDIRECT_APPEND
."&pid=$pid&img_nr=$img_nr&fn=$fn");
16 /*** CARE2X Integrated Hospital Information System Deployment 2.1 - 2004-10-02
17 * GNU General Public License
18 * Copyright 2002,2003,2004,2005 Elpidio Latorilla
21 * See the file 'copy_notice.txt' for the licence notice
23 define('LANG_FILE','actions.php');
24 //define('LANG_FILE','radio.php');
25 //define('NO_2LEVEL_CHK',1);
26 $local_user='ck_radio_user';
27 require_once($root_path.'include/inc_front_chain_lang.php');
28 require_once($root_path.'global_conf/inc_remoteservers_conf.php');
30 $thisfile=basename(__FILE__
);
32 $breakfile='patient_search.php'.URL_APPEND
;
36 if(isset($img_nr)&&$img_nr&&isset($pid)&&$pid&&isset($fn)&&$fn){
37 //echo $img_obj->getLastQuery();
38 $imgpath=$root_path.$dicom_img_localpath.$pid.'/'.$img_nr.'/'.$fn;
39 if(!file_exists($imgpath)){
45 # If no go, get out of here
48 header("location:upload.php".URL_REDIRECT_APPEND
."&mode=show&pid=$pid&nr=$img_nr");
53 <!DOCTYPE HTML
PUBLIC "-//IETF//DTD HTML 3.0//EN" "html.dtd">
54 <?php
html_rtl($lang); ?
>
57 <?php
echo $LDDicomViewer ?
>
60 <BODY topmargin
=0 leftmargin
=0 marginwidth
=0 marginheight
=0><font face
="Verdana, Arial" size
=1><?php
61 if(isset($pop_only)&&$pop_only){
63 <a href
="javascript:window.close()"> 
;>> <?php
echo $LDClose ?
> <<</a
>
67 <a href
="upload.php<?php echo URL_APPEND."&saved
=1&mode
=show
&pid
=$pid&nr
=$img_nr"; ?>"><font size
=1> 
;<< <?php
echo $LDBack ?
></font
></a
>
74 CODE
= "dicomviewer.Viewer.class"
81 <PARAM NAME
= "tmpSize" VALUE
= "1">
82 <PARAM NAME
= "NUM" VALUE
= "1">
83 <PARAM NAME
= "currentNo" VALUE
= "0">
84 <PARAM NAME
= "dicURL" VALUE
= "http://<?php echo $main_domain ?>/imed/<?php echo $top_dir ?>dicomviewer/Dicom.dic">
85 <PARAM NAME
= "imgURL0" VALUE
= "http://<?php echo "$main_domain/imed
/$dicom_img_localpath$pid/$img_nr/$fn" ?>">