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 Deployment 2.2 - 2006-07-10
7 * GNU General Public License
8 * Copyright 2002,2003,2004,2005,2006 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['pharma'];
20 $append=URL_REDIRECT_APPEND
.'&cat=pharma&userck=';
23 case "order": $title=$LDPharmaOrder;
26 $userck="ck_prod_order_user";
27 $fileforward=$root_path."modules/products/products-bestellung.php".$append.$userck."&from=".$src;
28 //$fileforward="select_dept.php".$append.$userck."&from=".$src;
30 case "archive":$title=$LDOrderArchive;
32 $userck="ck_prod_arch_user";
33 $fileforward=$root_path."modules/products/products-archive.php".$append.$userck."&from=".$src;
35 case "dbank": $title=$LDPharmaDb;
37 $userck="ck_prod_db_user";
38 $fileforward="apotheke-datenbank-functions.php".$append.$userck."&from=".$src;
40 case "catalog": $title=$LDOrderCat;
42 $userck="ck_prod_order_user";
43 $fileforward=$root_path."modules/products/products-bestellkatalog-edit.php".$append.$userck."&target=catalog&from=".$src;
45 default: {header("Location:".$root_path."language/".$lang."/lang_".$lang."_invalid-access-warning.php"); exit;};
47 $thisfile=basename(__FILE__
);
48 $breakfile='apotheke.php'.URL_APPEND
;
49 $lognote="$LDPharmacy $title ok";
51 // reset all 2nd level lock cookies
52 require($root_path.'include/inc_2level_reset.php');
53 setcookie('ck_2level_sid'.$sid,'',0,'/');
55 require($root_path.'include/inc_passcheck_internchk.php');
56 if ($pass=='check') include($root_path.'include/inc_passcheck.php');
58 $errbuf="$LDPharmacy $title";
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">
70 <img src
="../../gui/img/common/default/lampboard.gif" border
=0 align
="middle">
71 <FONT COLOR
="<?php echo $cfg[top_txtcolor] ?>" SIZE
=5 FACE
="verdana"> <b
><?php
echo "$LDPharmacy :: $title" ?
></b
></font
>
73 <table width
=100% border
=0 cellpadding
="0" cellspacing
="0">
75 <?php
require($root_path.'include/inc_passcheck_mask.php') ?
>
78 <!-- <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 $LDPharmacy $title " ?
></a
><br
>
79 <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 $LDPharmacy $title " ?
>?
</a
><br
>
84 require($root_path.'include/inc_load_copyrite.php');