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 beta 2.0.1 - 2004-07-04
7 * GNU General Public License
8 * Copyright 2002,2003,2004,2005 Elpidio Latorilla
11 * See the file "copy_notice.txt" for the licence notice
13 define('LANG_FILE','stdpass.php');
14 define('NO_2LEVEL_CHK',1);
15 require_once($root_path.'include/inc_front_chain_lang.php');
17 require_once($root_path.'global_conf/areas_allow.php');
19 $allowedarea=&$allow_area['admit'];
20 $append=URL_REDIRECT_APPEND
.'&from=pass';
22 if(!session_is_registered('sess_user_origin')) session_register('sess_user_origin');
26 case 'entry':$fileforward='upload_person_search.php'.$append;
27 $lognote='Dicom upload ok';
29 case 'search':$fileforward='medocs_data_search.php'.$append;
30 $lognote='Dicom search ok';
32 case 'archiv':$fileforward='medocs_archive.php'.$append;
33 $lognote='Radiology archive ok';
35 default: $target='entry';
36 $lognote='Radioloy ok';
37 $fileforward='view_person_search.php'.$append;
41 $thisfile=basename(__FILE__
);
42 //$breakfile='startframe.php'.URL_APPEND;
43 $breakfile=$root_path.'main/startframe.php';
45 $userck='medocs_user';
47 setcookie($userck.$sid,'');
48 require($root_path.'include/inc_2level_reset.php');
49 setcookie(ck_2level_sid
.$sid,'');
51 # reset the user origin
52 $HTTP_SESSION_VARS['sess_user_origin']='';
54 require($root_path.'include/inc_passcheck_internchk.php');
56 include($root_path.'include/inc_passcheck.php');
60 require($root_path.'include/inc_passcheck_head.php');
63 <BODY onLoad
="document.passwindow.userid.focus();" bgcolor
=<?php
echo $cfg['body_bgcolor']; ?
>
64 <?php
if (!$cfg['dhtml']){ echo ' link='.$cfg['idx_txtcolor'].' alink='.$cfg['body_alink'].' vlink='.$cfg['idx_txtcolor']; } ?
>>
66 <FONT SIZE
=-1 FACE
="Arial">
74 case 'entry':$buf=$LDMedocs; break;
75 case 'search':$buf=$LDMedocs; break;
76 case 'archiv':$buf=$LDMedocs; break;
77 default: $target="entry";$buf=$LDMedocs;
81 <script language=javascript>
83 if (window.screen.width)
84 { if((window.screen.width)>1000) document.write(\'<img '.createComIcon($root_path,'skinbone.jpg','0','absmiddle').'><FONT COLOR="'.$cfg['top_txtcolor'].'" SIZE=6 FACE="verdana"> <b>'.$buf.'</b></font>\');}
91 <table width
=100% border
=0 cellpadding
="0" cellspacing
="0">
94 <?php
require($root_path.'include/inc_passcheck_mask.php') ?
>
98 require($root_path.'include/inc_load_copyrite.php');