当前位置: 首页>>代码示例>>PHP>>正文


PHP smarty_care类代码示例

本文整理汇总了PHP中smarty_care的典型用法代码示例。如果您正苦于以下问题:PHP smarty_care类的具体用法?PHP smarty_care怎么用?PHP smarty_care使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


在下文中一共展示了smarty_care类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: smarty_care

# Prepare the title
if ($encounter_nr) {
    $headframe_title = "{$headframe_title} {$headframe_append} ";
}
# Prepare onLoad JS code
if (!$encounter_nr && !$pid) {
    $sOnLoadJs = 'onLoad="if(document.searchform.searchkey.focus) document.searchform.searchkey.focus();"';
}
# 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', $headframe_title);
# href for help button
$smarty->assign('pbHelp', "javascript:gethelp('','')");
$smarty->assign('breakfile', $breakfile);
# Window bar title
$smarty->assign('title', $headframe_title);
# Onload Javascript code
$smarty->assign('sOnLoadJs', $sOnLoadJs);
# href for help button
$smarty->assign('pbHelp', "javascript:gethelp('registration_overview.php','Person Registration :: Overview')");
# Hide the return button
$smarty->assign('pbBack', FALSE);
# Start collectiong extra Javascript code
ob_start();
开发者ID:patmark,项目名称:care2x-tz,代码行数:31,代码来源:aufnahme_start+-+Copy.php

示例2: Department

    # Load the department list with oncall doctors
    include_once $root_path . 'include/care_api_classes/class_department.php';
    $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">
开发者ID:patmark,项目名称:care2x-tz,代码行数:31,代码来源:nursing-or-dienst-schnellsicht.php

示例3: if

            $pagen->setSortItem($oitem);
            $pagen->setSortDirection($odir);
        }
    }
    # 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
开发者ID:patmark,项目名称:care2x-tz,代码行数:31,代码来源:op-pflege-logbuch-xtsuch-start.php

示例4: Ward

                # Create nursing notes object
                include_once $root_path . 'include/care_api_classes/class_ward.php';
                $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();"');
开发者ID:patmark,项目名称:care2x-tz,代码行数:31,代码来源:nursing-station-remarks2.php

示例5: smarty_care

# Prepare title
$sTitle = "{$title}::{$LDCatalog}::";
$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>
开发者ID:patmark,项目名称:care2x-tz,代码行数:31,代码来源:products-bestellkatalog-edit.php

示例6: header

        $breakfile = $root_path . "modules/med_depot/medlager-datenbank-functions.php" . URL_APPEND . "&userck={$userck}";
        $imgpath = $root_path . "med_depot/img/";
        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();
?>
开发者ID:patmark,项目名称:care2x-tz,代码行数:31,代码来源:products-datenbank-functions-such.php

示例7: basename

$returnfile = $breakfile;
$_SESSION['sess_file_return'] = basename(__FILE__);
$_SESSION['sess_path_referer'] = str_replace($doc_root . '/', '', __FILE__);
if (!isset($stb)) {
    $stb = 0;
}
# 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');
# Create a helper smarty object without reinitializing the GUI
$smarty2 = new smarty_care('common', FALSE);
# Added for the common header top block
$smarty->assign('sToolbarTitle', $LDTechSupport);
# Added for the common header top block
$smarty->assign('pbHelp', "javascript:gethelp('submenu1.php','{$LDTechSupport}')");
$smarty->assign('breakfile', $breakfile);
# Window bar title
$smarty->assign('title', $LDTechSupport);
# Add the bot onLoad code
if (isset($stb)) {
    if ($stb == 1) {
        $smarty->assign('sOnLoadJs', 'onLoad="startbot(\'r\')"');
    } else {
        if ($stb == 2) {
            $smarty->assign('sOnLoadJs', 'onLoad="startbot(\'f\')"');
        }
开发者ID:patmark,项目名称:care2x-tz,代码行数:31,代码来源:technik.php

示例8: smarty_care

# Set PID to load the data
$person->setPID($pid);
# 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';
开发者ID:patmark,项目名称:care2x-tz,代码行数:31,代码来源:patient_register_show.php

示例9: basename

$breakfile = $root_path . 'modules/news/start_page.php' . URL_APPEND;
$_SESSION['sess_path_referer'] = $top_dir . basename(__FILE__);
$_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').'>');
开发者ID:patmark,项目名称:care2x-tz,代码行数:31,代码来源:ambulatory.php

示例10: smarty_care

    ///* End of case 'edit': */
    default:
        $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();
?>
开发者ID:patmark,项目名称:care2x-tz,代码行数:30,代码来源:labor_test_findings_radio.php

示例11: define

define('LANG_FILE', 'edp.php');
$local_user = 'ck_edv_user';
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 
开发者ID:patmark,项目名称:care2x-tz,代码行数:31,代码来源:edv-system-admi-welcome.php

示例12: elseif

    }
} elseif ($user_origin == 'bill') {
    $local_user = 'ck_bill_user';
    $breakfile = $root_path . 'modules/billing_tz/billing_tz.php' . URL_APPEND;
} else {
    $local_user = 'ck_pflege_user';
    $breakfile = $root_path . 'modules/nursing/nursing-station-patientdaten.php' . URL_APPEND . '&pn=' . $pn . '&station=' . $station . '&edit=' . $edit . '&user_origin=' . $user_origin;
}
require_once $root_path . 'include/inc_front_chain_lang.php';
/**
 * 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');
$thisfile = basename($_SERVER['PHP_SELF']);
$db_request_table = $target;
//$db->debug=1;
/* Check for the patietn number = $pn. If available get the patients data, */
if (isset($pn) && $pn) {
    include_once $root_path . 'include/care_api_classes/class_encounter.php';
    $enc_obj = new Encounter();
    if ($enc_obj->loadEncounterData($pn)) {
        $edit = true;
        include_once $root_path . 'include/care_api_classes/class_globalconfig.php';
        $GLOBAL_CONFIG = array();
        $glob_obj = new GlobalConfig($GLOBAL_CONFIG);
        $glob_obj->getConfig('patient_%');
        switch ($enc_obj->EncounterClass()) {
            case '1':
开发者ID:patmark,项目名称:care2x-tz,代码行数:31,代码来源:labor_test_request_aftersave.php

示例13: smarty_care

            break;
        default:
            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'] . ")");
开发者ID:patmark,项目名称:care2x-tz,代码行数:31,代码来源:op-doku-start.php

示例14: smarty_care

                }
            } else {
                $mode = 'bad_data';
            }
            break;
    }
    // end of switch($mode)
}
# 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} :: {$LDNewCityTown}");
# href for help button
$smarty->assign('pbHelp', "javascript:gethelp('address_new.php')");
# href for close button
$smarty->assign('breakfile', $breakfile);
# Window bar title
$smarty->assign('sWindowTitle', "{$LDAddress} :: {$LDNewCityTown}");
# Coller Javascript code
ob_start();
?>

<script language="javascript">
<!-- 
function check(d)
开发者ID:patmark,项目名称:care2x-tz,代码行数:31,代码来源:citytown_new.php

示例15: basename

require_once $root_path . 'include/inc_front_chain_lang.php';
# Set break file
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();
开发者ID:patmark,项目名称:care2x-tz,代码行数:31,代码来源:upload_person_search.php


注:本文中的smarty_care类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。