2 error_reporting(E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR
);
3 require('./roots.php');
4 require($root_path.'include/inc_environment_global.php');
7 * CARE2X Integrated Hospital Information System Deployment 2.2 - 2006-07-10
8 * GNU General Public License
9 * Copyright 2002,2003,2004,2005,2006 Elpidio Latorilla
12 * See the file "copy_notice.txt" for the licence notice
14 define('LANG_FILE','abteilung.php');
15 define('NO_2LEVEL_CHK',1);
16 require_once($root_path.'include/inc_front_chain_lang.php');
17 $breakfile=$root_path.'main/startframe.php'.URL_APPEND
;
19 # Start Smarty templating here
24 # Note: it is advisable to load this after the inc_front_chain_lang.php so
25 # that the smarty script can use the user configured template theme
27 require_once($root_path.'gui/smarty_template/smarty_care.class.php');
28 $smarty = new smarty_care('common');
32 $smarty->assign('sToolbarTitle',$LDOpenHrsTxt);
34 # href for help button
35 $smarty->assign('pbHelp',"javascript:gethelp()");
37 $smarty->assign('breakfile',$breakfile);
38 # href for return file
39 //$smarty->assign('pbBack',$returnfile);
42 $smarty->assign('title',$LDOpenHrsTxt);
44 # Buffer the page output
46 $smarty->assign('LDDayTxt', $LDDayTxt);
47 $smarty->assign('LDOpenHrsTxt',$LDOpenHrsTxt);
48 $smarty->assign('LDChkHrsTxt',$LDChkHrsTxt);
52 for ($i=0;$i<sizeof($LDOpenDays);$i++
){
54 $smarty->assign('sOpenDay',$LDOpenDays[$i]);
55 $smarty->assign('sOpenTimes',$LDOpenTimes[$i]);
56 $smarty->assign('sVisitTimes',$LDVisitTimes[$i]);
59 $smarty->display('common/opentimes_row.tpl');
60 $sTemp = $sTemp.ob_get_contents();
65 $smarty->assign('sOpenTimesRows',$sTemp);
67 $smarty->assign('sBreakFile','<a href="'.$breakfile.'"><img '.createLDImgSrc($root_path,'back2.gif','0').' alt="'.$LDBackTxt.'"></a>');
69 $smarty->assign('sMainBlockIncludeFile','common/opentimes_table.tpl');
71 $smarty->display('common/mainframe.tpl');