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.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
14 define('LANG_FILE','edp.php');
15 $local_user='ck_edv_user';
16 require_once($root_path.'include/inc_front_chain_lang.php');
17 if(isset($ck_edv_admin_user)) setcookie('ck_edvzugang_user',$ck_edv_admin_user);
18 $breakfile='edv.php'.URL_APPEND
;
19 $HTTP_SESSION_VARS['sess_file_return']=basename(__FILE__
);
21 # Start Smarty templating here
25 # Note: it is advisable to load this after the inc_front_chain_lang.php so
26 # that the smarty script can use the user configured template theme
28 require_once($root_path.'gui/smarty_template/smarty_care.class.php');
29 $smarty = new smarty_care('common');
32 $smarty->assign('sToolbarTitle',"$LDEDP $LDSystemAdmin");
34 # href for help button
35 $smarty->assign('pbHelp',"javascript:gethelp('system_admin.php')");
37 # href for close button
38 $smarty->assign('breakfile',$breakfile);
41 $smarty->assign('sWindowTitle',"$LDEDP $LDSystemAdmin");
49 <FONT SIZE
=2 FACE
="verdana,Arial">
50 <?php
echo $LDWelcome ?
> <FONT SIZE
=3 color
=#800000 FACE="Arial"><b><?php echo $HTTP_COOKIE_VARS[$local_user.$sid];?></b></font>. <p>
51 <?php
echo $LDForeWord ?
></font
><p
>
54 <a href
="<?php echo $breakfile ?>" target
="_parent"><img
<?php
echo createLDImgSrc($root_path,'cancel.gif','0') ?
>></a
>
59 $sTemp = ob_get_contents();
62 # Assign the data to the main frame template
64 $smarty->assign('sMainFrameBlockData',$sTemp);
69 $smarty->display('common/mainframe.tpl');