case 'blood': $formtitle = $LDBloodBank; $bgc1 = '#99ffcc'; break; case 'patho': $formtitle = $LDPathology; $bgc1 = '#cde1ec'; break; default: $bgc1 = '#ffffff'; } # Start the smarty templating /** * HEAD META definition */ $smarty->assign('setCharSet', setCharSet()); /** * Toolbar */ if (!isset($edit) || empty($edit)) { $smarty->assign('edit', FALSE); } # Set it to be purely printout $smarty->assign('printmode', TRUE); # Added for the html tag direction $smarty->assign('HTMLtag', html_ret_rtl($lang)); # Set colors $smarty->assign('top_txtcolor', $cfg['top_txtcolor']); $smarty->assign('top_bgcolor', $cfg['top_bgcolor']); $smarty->assign('body_bgcolor', $cfg['body_bgcolor']); $smarty->assign('body_txtcolor', $cfg['body_txtcolor']);
$dept_obj = new Department(); $dept_OC = $dept_obj->getAllActiveWithNOC(); include_once $root_path . 'include/care_api_classes/class_personell.php'; $pers_obj = new Personell(); $quicklist =& $pers_obj->getNOCQuicklist($dept_OC, $pyear, $pmonth); } # 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', "{$LDORNOC} :: {$LDQuickView}"); # href for help button $smarty->assign('pbHelp', "javascript:gethelp('op_duty.php','quick')"); # href for close button $smarty->assign('breakfile', $breakfile); # Body onLoad javascript $smarty->assign('sOnLoadJs', 'onUnload="killchild()"'); # Window bar title $smarty->assign('sWindowTitle', "{$LDORNOC} :: {$LDQuickView}"); # Collect extra javascript ob_start(); ?> <script language="javascript"> <!-- var urlholder;
} } # end of else if mode== get } # end of if (srcword!="") //echo $sql; # 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('nursing'); # Title in toolbar $smarty->assign('sToolbarTitle', "{$LDOrLogBook} - {$LDSearch}"); # hide return button $smarty->assign('pbBack', FALSE); # href for help button $smarty->assign('pbHelp', "javascript:gethelp('oplog.php','search','{$mode}','{$rows}','{$datafound}')"); # href for close button $smarty->assign('breakfile', $breakfile); # Window bar title $smarty->assign('sWindowTitle', "{$LDOrLogBook} - {$LDSearch}"); # Body Onload js $smarty->assign('sOnLoadJs', 'onLoad="if (window.focus) window.focus();document.suchform.srcword.select();"'); # Body OnUnload js $smarty->assign('sOnUnloadJs', 'onUnload="if (wwin) wwin.close();"'); # Collect js code ob_start(); ?>
$obj = new Ward(); $station = $obj->WardName($location_nr); } echo $obj->getLastQuery(); } } # 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('nursing'); # Title in toolbar $smarty->assign('sToolbarTitle', $LDNotes . ' :: ' . ${$station} . ' (' . formatDate2Local($s_date, $date_format) . ')'); # hide back button $smarty->assign('pbBack', FALSE); # href for help button $smarty->assign('pbHelp', "javascript:gethelp('outpatient_notes.php','Outpatient Clinic :: Notes on the patient','','{$station}','{$LDNotes}')"); # href for close button $smarty->assign('breakfile', 'javascript:window.close()'); # OnLoad Javascript code if ($mode == 'save' && $occup || $saved) { $sTemp = "window.opener.location.reload();"; } else { $sTemp = ''; } $smarty->assign('sOnLoadJs', 'onLoad="' . $sTemp . ' if (window.focus) window.focus();"'); # Window bar title $smarty->assign('sWindowTitle', $LDNotes . ' :: ' . ${$station} . ' (' . formatDate2Local($s_date, $date_format) . ')');
$buff = $dept_obj->LDvar($dept_nr); if (isset(${$buff}) && !empty(${$buff})) { $sTitle = $sTitle . ${$buff}; } else { $sTitle = $sTitle . $dept_obj->FormalName($dept_nr); } # 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', $sTitle); # href for help button $smarty->assign('pbHelp', "javascript:gethelp('products.php','maincat','','{$cat}')"); # href for close button $smarty->assign('breakfile', $breakfile); # Window bar title $smarty->assign('sWindowTitle', $sTitle); # Body OnLoad Javascript code $smarty->assign('sOnLoadJs', 'onLoad="document.smed.keyword.focus()"'); # Buffer page output ob_start(); ?> <script language=javascript> function popinfo(b) {
break; default: header("location:" . $root_path . "language/" . $lang . "/lang_" . $lang . "_invalid-access-warning.php"); exit; } require $root_path . "include/inc_products_search_mod.php"; # 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 the title bar $smarty->assign('sToolbarTitle', "{$title} {$LDPharmaDb} {$LDSearch}"); # href for the back button // $smarty->assign('pbBack',$returnfile); # href for the help button $smarty->assign('pbHelp', "javascript:gethelp('products_db.php','search','{$from}','{$cat}')"); # href for the close button $smarty->assign('breakfile', $breakfile); # Window bar title $smarty->assign('sWindowTitle', "{$title} {$LDPharmaDb} {$LDSearch}"); # Assign Body Onload javascript code $smarty->assign('sOnLoadJs', 'onLoad="document.suchform.keyword.select()"'); # Collect javascript code ob_start(); ?> <script language="javascript" >
$sTemp = ob_get_contents(); ob_end_clean(); $smarty->append('JavaScript', $sTemp); # Prepare the submenu icons $aSubMenuIcon = array(createComIcon($root_path, 'settings_tree.gif', '0'), createComIcon($root_path, 'sitemap_animator.gif', '0'), createComIcon($root_path, 'icn_rad.gif', '0'), createComIcon($root_path, 'eyeglass.gif', '0'), createComIcon($root_path, 'discussions.gif', '0'), createComIcon($root_path, 'sitemap_animator.gif', '0')); # Prepare the submenu item descriptions $aSubMenuText = array($LDReRepairTxt, $LDRepabotActivateTxt, $LDRepairReportTxt, $LDReportsArchiveTxt, $LDQuestionsTxt, $LDQBotActivateTxt); # Prepare the submenu item links indexed by their template tags $aSubMenuItem = array('LDPharmaOrder' => "<a href=\"technik-reparatur-anfordern.php" . URL_APPEND . "\">{$LDReRepair}</a>", 'LDHow2Order' => "<a href=\"technik-bot-pass.php" . URL_APPEND . "&mode=repabot\">{$LDRepabotActivate}</a>", 'LDOrderCat' => "<a href=\"technik-reparatur-melden.php" . URL_APPEND . "\">{$LDRepairReport}</a>", 'LDOrderArchive' => "<a href=\"technik-report-arch.php" . URL_APPEND . "\">{$LDReportsArchive}</a>", 'LDPharmaDb' => "<a href=\"technik-questions.php" . URL_APPEND . "\">{$LDQuestions}</a>", 'LDOrderBotActivate' => "<a href=\"technik-bot-pass.php" . URL_APPEND . "&mode=fragebot\">{$LDQBotActivate}</a>"); # Create the submenu rows $iRunner = 0; while (list($x, $v) = each($aSubMenuItem)) { $sTemp = ''; ob_start(); if ($cfg['icons'] != 'no_icon') { $smarty2->assign('sIconImg', '<img ' . $aSubMenuIcon[$iRunner] . '>'); } $smarty2->assign('sSubMenuItem', $v); $smarty2->assign('sSubMenuText', $aSubMenuText[$iRunner]); $smarty2->display('common/submenu_row.tpl'); $sTemp = ob_get_contents(); ob_end_clean(); $iRunner++; $smarty->assign($x, $sTemp); } # Assign the submenu to the mainframe center block $smarty->assign('sMainBlockIncludeFile', 'tech/submenu_technik.tpl'); /** * show Template */ $smarty->display('common/mainframe.tpl');
$_SESSION['sess_user_origin'] = 'amb'; $_SESSION['sess_parent_mod'] = ''; /* Create department object and load all medical depts */ require_once $root_path . 'include/care_api_classes/class_department.php'; $dept_obj = new Department(); $medical_depts =& $dept_obj->getAllMedical(); # 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', $LDAmbulatory); # href for help button $smarty->assign('pbHelp', "javascript:gethelp('outpatient_overview.php','Outpatient :: Overview')"); # href for close button $smarty->assign('breakfile', $breakfile); # Window bar title $smarty->assign('sWindowTitle', $LDAmbulatory); # Prepare the submenu icons $smarty->assign('sTitleIcon', '<img ' . createComIcon($root_path, 'l-arrowgrnlrg.gif', '0', '', TRUE) . '>'); if ($cfg['icons'] != 'no_icon') { $smarty->assign('sApptIcon', '<img ' . createComIcon($root_path, 'icon-date-hour.gif', '0') . '>'); $smarty->assign('sOutPatientIcon', '<img ' . createComIcon($root_path, 'forums.gif', '0') . '>'); //$smarty->assign('sPendReqIcon','<img '.createComIcon($root_path,'waiting.gif','0').'>'); //$smarty->assign('sNewsIcon','<img '.createComIcon($root_path,'bubble2.gif','0').'>'); } # Assign the text
$pagen->setTotalDataCount($totalcount); } $pagen->setSortItem($oitem); $pagen->setSortDirection($odir); } //echo $target; # 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('nursing'); # Title in toolbar $smarty->assign('sToolbarTitle', $LDTestRequest . " - " . $LDSearchPatient); # hide back button $smarty->assign('pbBack', FALSE); # href for help button $smarty->assign('pbHelp', "javascript:gethelp('laboratory_testrequest.php','Laboratories :: Test Request','lab')"); # href for close button if ($_COOKIE["ck_login_logged" . $sid]) { $smarty->assign('breakfile', $root_path . 'main/startframe.php' . URL_APPEND); } else { $smarty->assign('breakfile', $breakfile); } # Window bar title $smarty->assign('sWindowTitle', $LDTestRequest . " - " . $LDSearchPatient); # Body onload javascript code $smarty->assign('sOnLoadJs', 'onLoad="document.searchform.searchkey.select()"'); # Collect extra javascript code
# Import the current encounter number $current_encounter = $person->CurrentEncounter(); # Import the death date $death_date = $person->DeathDate(); # Load GUI page //include('./gui_bridge/default/gui_person_reg_show.php'); # 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 the toolbar $smarty->assign('sToolbarTitle', $LDPatientRegister); # href for help button $smarty->assign('pbHelp', "javascript:gethelp('submenu1.php','{$LDPatientRegister}')"); $smarty->assign('breakfile', $breakfile); # Window bar title $smarty->assign('title', $LDPatientRegister); # Onload Javascript code $smarty->assign('sOnLoadJs', "if (window.focus) window.focus();"); # href for help button $smarty->assign('pbHelp', "javascript:gethelp('person_admit.php')"); # Hide the return button $smarty->assign('pbBack', FALSE); # Loads the standard gui tags for the registration display page require './gui_bridge/default/gui_std_tags.php'; # Collect additional javascript code ob_start();
$returnfile = $breakfile; } $thisfile = 'edv_system_format_currency_set.php'; $editfile = 'edv_system_format_currency_add.php' . URL_REDIRECT_APPEND . '&mode=edit&from=set&item_no='; # Load the db routine require $root_path . 'include/inc_currency_set.php'; # 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('system_admin'); # Title in toolbar $smarty->assign('sToolbarTitle', $LDCurrencyAdmin); # href for return button $smarty->assign('pbBack', $returnfile); # href for help button $smarty->assign('pbHelp', "javascript:gethelp('currency_set.php')"); # href for close button $smarty->assign('breakfile', $breakfile); # Window bar title $smarty->assign('sWindowTitle', $LDCurrencyAdmin); if ($rows) { $smarty->append('JavaScript', '<script language="javascript" src="' . $root_path . 'js/check_currency_same_item.js"></script>'); } # Buffer page output ob_start(); # Define to create the edit links on the table and create the GUI body define('SET_EDIT', 1);
require_once $root_path . 'include/inc_front_chain_lang.php'; if (isset($ck_edv_admin_user)) { setcookie('ck_edvzugang_user', $ck_edv_admin_user); } $breakfile = 'edv.php' . URL_APPEND; $_SESSION['sess_file_return'] = basename(__FILE__); # 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', "{$LDEDP} {$LDSystemAdmin}"); # href for help button $smarty->assign('pbHelp', "javascript:gethelp('system_admin.php')"); # href for close button $smarty->assign('breakfile', $breakfile); # Window bar title $smarty->assign('sWindowTitle', "{$LDEDP} {$LDSystemAdmin}"); # Buffer page output ob_start(); ?> <br><ul> <FONT SIZE=2 FACE="verdana,Arial"> <?php echo $LDWelcome; ?>
$mode = ''; } // end of switch($mode) if ($edit) { $returnfile .= '&batch_nr=' . $batch_nr . '&pn=' . $pn . '&tracker=' . $tracker; } # 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('nursing'); # Title in toolbar $smarty->assign('sToolbarTitle', $LDRadioDiagnostics . " (" . $batch_nr . ")"); # hide back button $smarty->assign('pbBack', $returnfile); # href for help button $smarty->assign('pbHelp', "javascript:gethelp('pending_radio_findings.php')"); # href for close button $smarty->assign('breakfile', $breakfile); # Window bar title $smarty->assign('sWindowTitle', $LDRadioDiagnostics . " (" . $batch_nr . ")"); $smarty->assign('sOnLoadJs', 'onLoad="if (window.focus) window.focus();"'); # Collect extra javascript code ob_start(); ?> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.0//EN" "html.dtd"> <?php
header("location:{$thisfile}" . URL_REDIRECT_APPEND . "&save_ok=1"); exit; # Else get current global data } else { $glob_obj->getConfig('news_%'); } # 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('system_admin'); # Title in toolbar $smarty->assign('sToolbarTitle', $LDNewsDisplay); # href for help button $smarty->assign('pbHelp', "javascript:gethelp('newsdisplay.php')"); # href for close button $smarty->assign('breakfile', $breakfile); # Window bar title $smarty->assign('sWindowTitle', $LDNewsDisplay); # Collect javascript code ob_start(); ?> <script language="javascript"> <!-- Script Begin function useDefault() { d=document.newsdisplay; d.news_headline_title_font_size.value="<?php
require 'include/inc_breakfile.php'; $thisfile = basename($_SERVER['PHP_SELF']); $_SESSION['sess_file_return'] = $thisfile; if (empty($target)) { $target = 'search'; } # 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('nursing'); # Title in toolbar $smarty->assign('sToolbarTitle', "{$LDUploadDicom} :: {$LDSearch} "); # hide back button $smarty->assign('pbBack', FALSE); # href for help button $smarty->assign('pbHelp', "javascript:gethelp('patient_search.php')"); # href for close button $smarty->assign('breakfile', $breakfile); # Window bar title $smarty->assign('sWindowTitle', "{$LDUploadDicom} :: {$LDSearch} "); # Body onLoad javascript code $smarty->assign('sOnLoadJs', 'onLoad="document.searchform.searchkey.select()";'); # Start creating the search module require_once $root_path . 'include/care_api_classes/class_gui_search_person.php'; $psearch =& new GuiSearchPerson(); $psearch->setTargetFile('upload.php'); $psearch->setCancelFile($breakfile);
} else { $totalcount = $address_obj->countAllActiveCityTown(); $pagen->setTotalDataCount($totalcount); } $pagen->setSortItem($oitem); $pagen->setSortDirection($odir); # 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('system_admin'); # Title in toolbar $smarty->assign('sToolbarTitle', "{$LDAddress} :: {$LDListAll}"); # href for help button $smarty->assign('pbHelp', "javascript:gethelp('address_list.php')"); # href for close button $smarty->assign('breakfile', $breakfile); # Window bar title $smarty->assign('sWindowTitle', "{$LDAddress} :: {$LDListAll}"); # Buffer page output ob_start(); ?> <ul> <br> <?php
$title = $_SESSION['sess_title']; /* Get the news article */ require $root_path . 'include/inc_news_get_one.php'; /* Get the news table width */ $config_type = 'news_normal_display_width'; include_once $root_path . 'include/inc_get_global_config.php'; # 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'); # Toolbar title $smarty->assign('sToolbarTitle', $title); # href for help button $smarty->assign('pbHelp', "javascript:gethelp('dept_news.php')"); # href for close file $smarty->assign('breakfile', $breakfile); if ($mode != "preview4saved") { # href for return file $smarty->assign('pbBack', $sReturn); } # Window title $smarty->assign('title', $title); if ($mode == "preview4saved") { $smarty->assign('bShowPrompt', TRUE); $smarty->assign('sMascotImg', '<img ' . createMascot($root_path, 'mascot1_r.gif', '0') . '>'); $smarty->assign('LDArticleSaved', $LDArticleSaved); }
$returnfile = $_SESSION['sess_file_return']; # 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'); if ($parent_admit) { $sTitleNr = $_SESSION['sess_full_en']; } else { $sTitleNr = $_SESSION['sess_full_pid']; } # Title in the toolbar $smarty->assign('sToolbarTitle', "{$page_title} {$encounter_nr}"); # href for help button $smarty->assign('pbHelp', "javascript:gethelp('submenu1.php','{$LDPatientRegister}')"); $smarty->assign('breakfile', $breakfile); # Window bar title $smarty->assign('title', "{$page_title} {$encounter_nr}"); # Onload Javascript code $smarty->assign('sOnLoadJs', "if (window.focus) window.focus();"); # href for help button $smarty->assign('pbHelp', "javascript:gethelp('medocs_entry.php')"); # href for return button $smarty->assign('pbBack', $returnfile . URL_APPEND . '&pid=' . $_SESSION['sess_pid'] . '&target=' . $target . '&mode=show&type_nr=' . $type_nr); # Buffer extra javascript code ob_start(); ?>
if (isset($nr) && $nr && ($row =& $address_obj->getCityTownInfo($nr))) { $address = $row->FetchRow(); $edit = true; } else { # Redirect to search function } # 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('system_admin'); # Title in toolbar $smarty->assign('sToolbarTitle', "{$LDCityTown} :: {$LDData}"); # href for help button $smarty->assign('pbHelp', "javascript:gethelp('address_info.php')"); # href for close button $smarty->assign('breakfile', $breakfile); # Window bar title $smarty->assign('sWindowTitle', "{$LDCityTown} :: {$LDData}"); # Buffer page output ob_start(); ?> <ul> <?php if (isset($save_ok) && $save_ok) { ?> <img <?php
$returnfile = $breakfile; $readerpath = 'editor-4plus1-read.php' . URL_REDIRECT_APPEND; $editorpath = 'editor-pass.php' . URL_APPEND; $today = date('Y-m-d'); //$_SESSION['sess_dept_nr']=$dept_nr; $_SESSION['sess_file_return'] = $top_dir . basename(__FILE__); # 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'); # Toolbar title $smarty->assign('sToolbarTitle', $title); # href for help button $smarty->assign('pbHelp', "javascript:gethelp('dept_news.php')"); # href for close file $smarty->assign('breakfile', $breakfile); # href for return file $smarty->assign('pbBack', $returnfile); # Window title $smarty->assign('title', $title); /* Get the news global configurations */ $config_type = 'news_%'; include $root_path . 'include/inc_get_global_config.php'; if (!$news_normal_preview_maxlen) { $news_normal_preview_maxlen = 300; } /* Load editor functions */
break; default: $title = $LDMakeDutyPlan; $fileforward = 'doctors-dienstplan-planen.php' . URL_APPEND . '&retpath=' . $retpath; break; } # 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', $title); # href for help button $smarty->assign('pbHelp', "javascript:gethelp('dept_select.php')"); # href for return button $smarty->assign('pbBack', $breakfile); # href for close button $smarty->assign('breakfile', $breakfile); # Window bar title $smarty->assign('sWindowTitle', $title); $smarty->assign('sMascotImg', '<img ' . createMascot($root_path, 'mascot1_r.gif', '0', 'bottom') . ' align="absmiddle">'); $smarty->assign('LDPlsSelectDept', $LDPlsSelectDept); # Buffer department rows output ob_start(); $toggler = 0; if (!$nr) { echo '<tr class="wardlistrow1">';
//echo $sql; } //simulate update to search the keyword $update = true; # Load search routine require $root_path . "include/inc_products_search_mod.php"; # 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 the title bar $smarty->assign('sToolbarTitle', "{$title} {$LDPharmaDb} {$LDManage}"); # href for the back button // $smarty->assign('pbBack',$returnfile); # href for the help button $smarty->assign('pbHelp', "javascript:gethelp('products_db.php','delete','{$from}','{$cat}')"); # href for the close button $smarty->assign('breakfile', $breakfile); # Window bar title $smarty->assign('sWindowTitle', "{$title} {$LDPharmaDb} {$LDManage}"); # Buffer page output ob_start(); ?> <a name="pagetop"></a> <ul>
} if ($_COOKIE['ck_login_logged' . $sid]) { $breakfile = $root_path . 'main/spediens.php' . URL_APPEND; } else { $breakfile = 'personell_admin_pass.php' . URL_APPEND . '&target=' . $target; } # 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('system_admin'); # Title in toolbar $smarty->assign('sToolbarTitle', $LDPatientRegister . " - " . $LDSearch); # hide return button $smarty->assign('pbBack', FALSE); # href for help button $smarty->assign('pbHelp', "javascript:gethelp('person_how2search.php')"); # href for close button $smarty->assign('breakfile', $breakfile); # Window bar title $smarty->assign('sWindowTitle', $LDPatientRegister . " - " . $LDSearch); # Body onLoad Javascript code $smarty->assign('sOnLoadJs', 'onLoad="document.searchform.searchkey.select()"'); # Colllect javascript code ob_start(); ?> <table width=100% border=0 cellspacing="0" cellpadding=0>
$gc = new GlobalConfig($GCONFIG); if (isset($mode) && $mode == 'save' && !empty($max_items)) { $gc->saveConfigItem('theme_control_buttons', $_POST['theme_control_buttons']); header('location:' . $thisfile . URL_REDIRECT_APPEND . '&mode=0'); exit; } # 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('system_admin'); # Title in toolbar $smarty->assign('sToolbarTitle', $LDTheme); # href for return button $smarty->assign('pbBack', $returnfile); # href for help button $smarty->assign('pbHelp', "javascript:gethelp('system_theme.php')"); # href for close button $smarty->assign('breakfile', $breakfile); # Window bar title $smarty->assign('sWindowTitle', $LDTheme); if ($rows) { $smarty->append('JavaScript', '<script language="javascript" src="' . $root_path . 'js/check_menu_item_same_item.js"></script>'); } # Buffer page output ob_start(); ?>
$sTitle = "{$LDOR} :: "; if ($mode == 'select') { $sTitle = $sTitle . $LDUpdate; } else { $sTitle = $sTitle . $LDCreate; } # 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('system_admin'); # Title in toolbar $smarty->assign('sToolbarTitle', $sTitle); # href for help button $smarty->assign('pbHelp', "javascript:gethelp('or_create.php')"); # href for close button $smarty->assign('breakfile', $breakfile); # Window bar title $smarty->assign('sWindowTitle', $sTitle); # Collect javascript code ob_start(); ?> <script language="javascript"> <!-- function chkForm(d){
$admission = $enc_obj->searchInpatientNotInWardBasicInfo($searchkey); include_once $root_path . 'include/care_api_classes/class_globalconfig.php'; $GLOBAL_CONFIG = array(); $glob_obj = new GlobalConfig($GLOBAL_CONFIG); $glob_obj->getConfig('patient_%'); } # 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('nursing'); # Title in toolbar $smarty->assign('sToolbarTitle', "{$LDAssignOcc} {$s}"); # href for help button $smarty->assign('pbHelp', "javascript:gethelp('nursing_station.php','assign','','{$s}','{$LDAssignOcc}')"); # href for close button $smarty->assign('breakfile', "javascript:window.close();"); # OnLoad Javascript code $smarty->assign('sOnLoadJs', 'onLoad="if (window.focus) window.focus(); document.psearch.searchkey.select();"'); # Window bar title $smarty->assign('title', "{$LDAssignOcc} {$s}"); # Hide Copyright footer $smarty->assign('bHideCopyright', TRUE); # Collect extra javascript code ob_start(); ?> <script language="javascript">
exit; } } else { echo "<p>" . $lab_obj->getLastQuery() . "sql{$LDDbNoRead}"; exit; } # 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', "{$LDLabReport} - {$LDGraph}"); # href for help button $smarty->assign('pbHelp', "javascript:gethelp('lab_list.php','graph','','','{$LDGraph}')"); # hide return button $smarty->assign('pbBack', FALSE); # href for close button $smarty->assign('breakfile', $breakfile); # Window bar title $smarty->assign('sWindowTitle', "{$LDLabReport} - {$LDGraph}"); # collect extra javascript code ob_start(); ?> <style type="text/css" name="1"> .va12_n{font-family:verdana,arial; font-size:12; color:#000099} .a10_b{font-family:arial; font-size:10; color:#000000}
} $mode = "save"; } # Start the smarty templating /** * 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 # param 2 = initialize gui # param 3 = display copyright footer # param 4 = load standard javascripts require_once $root_path . 'gui/smarty_template/smarty_care.class.php'; $smarty = new smarty_care('nursing'); if (!isset($edit) || empty($edit)) { $smarty->assign('edit', FALSE); } $smarty->assign('bgc1', $bgc1); # Title in toolbar $smarty->assign('sToolbarTitle', "{$LDDiagnosticTest} :: {$formtitle}"); if ($user_origin == 'lab' && $edit) { $smarty->assign('pbAux1', $thisfile . "?sid={$sid}&lang={$lang}&station={$station}&user_origin={$user_origin}&status={$status}&target=patho&noresize={$noresize}"); $smarty->assign('gifAux1', createLDImgSrc($root_path, 'newpat2.gif', '0')); } # href for help button $smarty->assign('pbHelp', 'javascript:gethelp(\'request_patho.php\')'); # href for close button $smarty->assign('breakfile', $breakfile); # Window bar title $smarty->assign('sWindowTitle', "{$LDDiagnosticTest} :: {$formtitle}"); $smarty->assign('Name', $station);
exit; } } else { echo "{$LDDbNoLink}<br>{$sql}<br>"; } $fr = strtolower(str_replace('.', '-', $result['encounter_nr'] . '_' . $result['name_last'] . '_' . $result['name_first'] . '_' . $result['date_birth'])); # 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('nursing'); # Title in toolbar $smarty->assign('sToolbarTitle', "{$LDPatDataFolder} {$station}"); # hide return button $smarty->assign('pbBack', FALSE); # href for help button $smarty->assign('pbHelp', "javascript:gethelp('patient_charts.php','Patient´s chart folder :: Overview','','{$station}','Main folder')"); # href for close button $smarty->assign('breakfile', 'javascript:window.close()'); # Window bar title $smarty->assign('sWindowTitle', ucfirst($result[name_last]) . "," . ucfirst($result[name_first]) . " " . $result[date_birth] . " " . $LDPatDataFolder); # Body Onload js $sOnLoadJs = 'onLoad="initwindow();'; if ($mode == 'changes_saved') { $sOnLoadJs = $sOnLoadJs . 'window.opener.location.reload();'; } $sOnLoadJs = $sOnLoadJs . '"'; $smarty->assign('sOnLoadJs', $sOnLoadJs);
if ($_COOKIE["ck_login_logged" . $sid]) { $mode = "dummy"; } } // end of switch } # Start the smarty templating /** * 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('nursing'); # Added for the common header top block $smarty->assign('sToolbarTitle', "{$LDOrDocument} :: (" . $_SESSION['sess_dept_name'] . ")"); # href for help button if (!$mode) { $sBuffer = 'dummy'; } else { $sBuffer = $mode; } $smarty->assign('pbHelp', "javascript:gethelp('opdoc.php','create','{$sBuffer}')"); # hide return button $smarty->assign('pbBack', FALSE); # href for close button $smarty->assign('breakfile', $breakfile); # Window bar title $smarty->assign('sWindowTitle', "{$LDOrDocument} :: (" . $_SESSION['sess_dept_name'] . ")"); # Prepare Body onLoad javascript code if (!isset($mode) || empty($mode) || $mode == 'search' && !$rows || $mode == 'dummy') {