2 #------begin------ This protection code was suggested by Luki R. luki@karet.org
3 if (eregi('inc_drg_entry_save.php',$PHP_SELF))
4 die('<meta http-equiv="refresh" content="0; url=../../">');
7 if($HTTP_SESSION_VARS['sess_user_origin']=='admission') {
8 $breakfile=$root_path.'modules/registration_admission/aufnahme_daten_zeigen.php'.URL_APPEND
.'&encounter_nr='.$HTTP_SESSION_VARS['sess_en'];
9 $local_user='aufnahme_user';
10 }elseif($HTTP_SESSION_VARS['sess_user_origin']=='registration'){
11 $breakfile=$root_path.'modules/registration_admission/patient_register_show.php'.URL_APPEND
.'&pid='.$HTTP_SESSION_VARS['sess_pid'];
12 $local_user='aufnahme_user';
14 $breakfile='medocs_pass.php';
15 $local_user='medocs_user';