- modules/fotolab updated imagej to current version & some cod fixes to make it work
[care2x.git] / Care2007 / modules / radiology / radiolog-xray-display-film.php
blob1cc24f3fbff80b5a1d4161bce48e14eed769626b
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 /*** CARE2X Integrated Hospital Information System beta 2.0.1 - 2004-07-04
6 * GNU General Public License
7 * Copyright 2002,2003,2004,2005 Elpidio Latorilla
8 * elpidio@care2x.org,
10 * See the file "copy_notice.txt" for the licence notice
12 define("LANG_FILE","radio.php");
13 define('NO_2LEVEL_CHK',1);
14 require_once($root_path.'include/inc_front_chain_lang.php');
15 require($root_path.'global_conf/inc_remoteservers_conf.php');
17 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.0//EN" "html.dtd">
18 <?php html_rtl($lang); ?>
19 <HEAD>
20 <?php echo setCharSet(); ?>
21 </HEAD>
22 <BODY bgcolor=black onLoad="if (window.focus) window.focus()" marginwidth=0 leftmargin=0 topmargin=0 marginheight=0>
23 <center >
24 <?php if(isset($mode)&&($mode=="preview"))
27 <img src="<?php if($disc_pix_mode) echo $xray_film_localpath; else echo $xray_film_server_http; ?>thorax.jpg" width=150>
28 <?php
30 else
33 <script language="javascript">
34 <!-- Script Begin
35 document.write('<img src="<?php if($disc_pix_mode) echo $xray_film_localpath; else echo $xray_film_server_http; ?>thorax.jpg" width="'+(screen.availWidth*0.83)+'">');
36 // Script End -->
37 </script>
38 <?php
41 <br>
43 <p>
44 <form>
45 <?php if(!isset($mode)||($mode!="preview"))
48 <input type="button" value="<?php echo $LDClose ?>" onClick="window.top.location.replace('radiolog-xray-javastart.php?sid=<?php echo "$sid&lang=$lang" ?>')">
49 <?php
52 </form>
53 </center>
54 <p>
61 </BODY>
62 </HTML>