define('LANG_FILE', 'lab.php'); $local_user = '******'; require_once $root_path . 'include/inc_front_chain_lang.php'; $thisfile = basename($_SERVER['PHP_SELF']); ///$db->debug=true; # Create lab object require_once $root_path . 'include/care_api_classes/class_lab.php'; $lab_obj = new Lab(); # Load the date formatter */ include_once $root_path . 'include/inc_date_format_functions.php'; if (isset($mode) && !empty($mode)) { $lab_obj->moveUp($_GET['nrFirst'], $_GET['sortnrFirst']); $lab_obj->moveDown($_GET['nrSecond'], $_GET['sortnrSecond']); } # Get the test test groups $tgroups =& $lab_obj->TestGroups(); $breakfile = "labor.php" . URL_APPEND; // echo "from table ".$linecount; # Start Smarty templating here /** * LOAD Smarty */ # Note: it is advisable to load this after the inc_front_chain_lang.php so # that the smarty script can use the user configured template theme require_once $root_path . 'gui/smarty_template/smarty_care.class.php'; $smarty = new smarty_care('common'); # Title in toolbar $smarty->assign('sToolbarTitle', $LDTestGroups); $smarty->assign('sToolbarTitle', $LDTestGroups); # href for help button $smarty->assign('pbHelp', "javascript:gethelp('lab_group_config.php')");
window.opener.location.reload(); window.close(); // Script End --> </script> <?php exit; } else { echo $lab_obj->getLastQuery(); } # end of if(mode==new) } } //gjergji : i get the groups here... if ($mode != 'new') { if ($tgroups =& $lab_obj->TestGroups($nr)) { $tg = $tgroups->FetchRow(); } } ?> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.0//EN" "html.dtd"> <?php html_rtl($lang); ?> <HEAD> <?php echo setCharSet(); ?> <TITLE>Konfigurimi i Grupeve</TITLE> <script language="javascript" name="j1">