- modules/fotolab updated imagej to current version & some cod fixes to make it work
[care2x.git] / Care2007 / modules / system_admin / edv-system-admi-welcome.php
blobd971043d402d8658c9c1b4abc985165ee6e29215
1 <?php
2 error_reporting(E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR);
3 require('./roots.php');
4 require($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
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
22 /**
23 * LOAD Smarty
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');
31 # Title in toolbar
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);
40 # Window bar title
41 $smarty->assign('sWindowTitle',"$LDEDP $LDSystemAdmin");
43 # Buffer page output
44 ob_start();
48 <br><ul>
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>
53 <p>
54 <a href="<?php echo $breakfile ?>" target="_parent"><img <?php echo createLDImgSrc($root_path,'cancel.gif','0') ?>></a>
55 </ul>
57 <?php
59 $sTemp = ob_get_contents();
60 ob_end_clean();
62 # Assign the data to the main frame template
64 $smarty->assign('sMainFrameBlockData',$sTemp);
66 /**
67 * show Template
69 $smarty->display('common/mainframe.tpl');