- modules/fotolab updated imagej to current version & some cod fixes to make it work
[care2x.git] / Care2007 / modules / system_admin / edv_user_access_pass.php
blobae0d3be1968e82fba9534da0ec5b7ea26f34a267
1 <?php
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');
5 /**
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
9 * elpidio@care2x.org,
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";
23 switch($target)
25 /* case 'entry':$fileforward='edv_user_access_edit.php'.$append;
26 $title="$LDManageAccess - $LDNewData";
27 break;
29 case 'entry':$fileforward='edv_user_access_edit.php'.$append;
30 $title="$LDManageAccess - $LDNewData";
31 break;
33 case 'search':$fileforward='edv_user_access_search.php'.$append;
34 $title="$LDManageAccess - $LDSearch";
35 break;
36 case 'archiv':$fileforward='edv_user_access_list.php'.$append;
37 $title="$LDManageAccess - $LDListAll";
38 break;
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;
48 $lognote="$title ok";
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');
55 if ($pass=='check')
56 include($root_path.'include/inc_passcheck.php');
58 $errbuf=$title;
59 $minimal=1;
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']; }
65 ?>>
67 <p>
68 <FONT SIZE=-1 FACE="Arial">
70 <P>
71 <FONT COLOR="<?php echo $cfg[top_txtcolor] ?>" SIZE=5 FACE="verdana"> <b><?php echo $title ?></b></font>
72 <p>
73 <table width=100% border=0 cellpadding="0" cellspacing="0">
75 <tr>
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>';}
82 ?></td>
84 </tr>
86 <?php require($root_path.'include/inc_passcheck_mask.php') ?>
88 <p>
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>
91 --><HR>
92 <p>
94 <?php
95 require($root_path.'include/inc_load_copyrite.php');
97 </FONT>
98 </BODY>
99 </HTML>