2 error_reporting(E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR
);
3 require('./roots.php');
4 require_once($root_path.'include/inc_environment_global.php');
6 * CARE2X Integrated Hospital Information System Deployment 2.1 - 2004-10-02
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['edp'];
21 $userck='ck_edv_user';
22 $append="?sid=$sid&lang=$lang&fwck=$userck";
25 /* case 'entry':$fileforward='edv_user_access_edit.php'.$append;
26 $title="$LDManageAccess - $LDNewData";
29 case 'entry':$fileforward='edv_user_access_edit.php'.$append;
30 $title="$LDManageAccess - $LDNewData";
33 case 'search':$fileforward='edv_user_access_search.php'.$append;
34 $title="$LDManageAccess - $LDSearch";
36 case 'archiv':$fileforward='edv_user_access_list.php'.$append;
37 $title="$LDManageAccess - $LDListAll";
39 default: $target='entry';
40 $fileforward='edv_user_access_edit.php'.$append;
41 $title="$LDManageAccess $LDNewData";
44 $thisfile='edv_user_access_pass.php';
45 $breakfile='edv.php?sid='.$sid.'&lang='.$lang;
50 // reset all 2nd level lock cookies
51 setcookie($userck.$sid,'');
52 require($root_path.'include/inc_2level_reset.php'); setcookie(ck_2level_sid
.$sid,'');
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
<?php
if (!$nofocus) echo 'onLoad="document.passwindow.userid.focus()"'; echo ' bgcolor='.$cfg['body_bgcolor'];
64 if (!$cfg['dhtml']){ echo ' link='.$cfg['body_txtcolor'].' alink='.$cfg['body_alink'].' vlink='.$cfg['body_txtcolor']; }
68 <FONT SIZE
=-1 FACE
="Arial">
71 <FONT COLOR
="<?php echo $cfg[top_txtcolor] ?>" SIZE
=5 FACE
="verdana"> <b
><?php
echo $title ?
></b
></font
>
73 <table width
=100% border
=0 cellpadding
="0" cellspacing
="0">
76 <td colspan
=3><?php
if($target=="entry") echo '<img '.createLDImgSrc($root_path,'newdata-b.gif','0').' alt="'.$LDNewData.'">';
77 else{ echo'<a href="'.$thisfile.$append.'&target=entry"><img '.createLDImgSrc($root_path,'newdata-gray.gif','0').' alt="'.$LDNewData.'" width=130 height=25 border=0 ';if($cfg['dhtml'])echo'style=filter:alpha(opacity=70) onMouseover=hilite(this,1) onMouseOut=hilite(this,0)'; echo '></a>';}
78 if($target=="search") echo '<img '.createLDImgSrc($root_path,'such-b.gif','0').' alt="'.$LDSearch.'">';
79 else{ echo '<a href="'.$thisfile.$append.'&target=search"><img '.createLDImgSrc($root_path,'such-gray.gif','0').' alt="'.$LDSearch.'" ';if($cfg['dhtml'])echo'style=filter:alpha(opacity=70) onMouseover=hilite(this,1) onMouseOut=hilite(this,0)'; echo '></a>';}
80 if($target=="archiv") echo '<img '.createLDImgSrc($root_path,'arch-blu.gif','0').' alt="'.$LDArchive.'">';
81 else{ echo '<a href="'.$thisfile.$append.'&target=archiv"><img '.createLDImgSrc($root_path,'arch-gray.gif','0').' alt="'.$LDArchive.'" ';if($cfg['dhtml'])echo'style=filter:alpha(opacity=70) onMouseover=hilite(this,1) onMouseOut=hilite(this,0)'; echo '></a>';}
86 <?php
require($root_path.'include/inc_passcheck_mask.php') ?
>
89 <!-- <img
<?php
echo createComIcon($root_path,'varrow.gif','0') ?
>> <a href
="<?php echo $root_path; ?>main/ucons.php<?php echo URL_APPEND; ?>"><?php
echo "$LDIntro2 $title " ?
></a
><br
>
90 <img
<?php
echo createComIcon($root_path,'varrow.gif','0') ?
>> <a href
="<?php echo $root_path; ?>main/ucons.php<?php echo URL_APPEND; ?>"><?php
echo "$LDWhat2Do $title " ?
>?
</a
><br
>
95 require($root_path.'include/inc_load_copyrite.php');